
| Key: |
CIB-2312
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
3
|
| Assignee: |
Unassigned
|
| Reporter: |
Daniel Ostermeier
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Pulse
Created: 01/Feb/10 01:54 AM
Updated: 01/Feb/10 08:37 PM
|
|
| Component/s: |
1/2 Day
|
| Affects Version/s: |
2.1.15
|
| Fix Version/s: |
2.1.16
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
The below exception seems to be the result of the lack of thread safety around the SimpleDateFormat usage within Ivy. Two concurrent requests to parse an ivy descriptor within the same JVM run the risk of triggering this since ivy does not synchronise access to its static SimpleDateFormat instance.
Jan 28, 2010 7:45:34 AM com.zutubi.pulse.servercore.dependency.ivy.ModuleDescriptorDeserialiser parseDescriptor
SEVERE: Failed to parse descriptor.
java.text.ParseException: Problem occured while parsing ivy file: For input string: ".2828E2.2828E2" in file:/var/tmp/ivy61783xml
at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:262)
at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.parseDescriptor(XmlModuleDescriptorParser.java:101)
at com.zutubi.pulse.servercore.dependency.ivy.ModuleDescriptorDeserialiser.parseDescriptor(ModuleDescriptorDeserialiser.java:80)
at com.zutubi.pulse.servercore.dependency.ivy.ModuleDescriptorDeserialiser.readMap(ModuleDescriptorDeserialiser.java:58)
The workaround for this within Pulse is to synchronise the parsing of the xml module descriptor.
|
|
Description
|
The below exception seems to be the result of the lack of thread safety around the SimpleDateFormat usage within Ivy. Two concurrent requests to parse an ivy descriptor within the same JVM run the risk of triggering this since ivy does not synchronise access to its static SimpleDateFormat instance.
Jan 28, 2010 7:45:34 AM com.zutubi.pulse.servercore.dependency.ivy.ModuleDescriptorDeserialiser parseDescriptor
SEVERE: Failed to parse descriptor.
java.text.ParseException: Problem occured while parsing ivy file: For input string: ".2828E2.2828E2" in file:/var/tmp/ivy61783xml
at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:262)
at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.parseDescriptor(XmlModuleDescriptorParser.java:101)
at com.zutubi.pulse.servercore.dependency.ivy.ModuleDescriptorDeserialiser.parseDescriptor(ModuleDescriptorDeserialiser.java:80)
at com.zutubi.pulse.servercore.dependency.ivy.ModuleDescriptorDeserialiser.readMap(ModuleDescriptorDeserialiser.java:58)
The workaround for this within Pulse is to synchronise the parsing of the xml module descriptor. |
Show » |
|