Corrupt date value
I've imported several workitems through cvs, and now, about one month after, we're having the following problem:
In Web Client:
If i hover the workitem, the creation date reported is
The creation date is being reported is December 30, 0027 12:00 AM.
If I open the workitem, the creation date is Now.
In Eclipse Client:
If I try to open the workitem, i've got a error, and the events there are reported at the end of this post.
For me is quite straightforward that it was a date misconfigured, but i need to solve this, as we often use the Eclipse Client, and it's a very troublesome error.
Any Helps?
In Web Client:
If i hover the workitem, the creation date reported is
The creation date is being reported is December 30, 0027 12:00 AM.
If I open the workitem, the creation date is Now.
In Eclipse Client:
If I try to open the workitem, i've got a error, and the events there are reported at the end of this post.
For me is quite straightforward that it was a date misconfigured, but i need to solve this, as we often use the Eclipse Client, and it's a very troublesome error.
Any Helps?
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows 7 x86-32 j9vmwi3223ifx-20100511 (JIT enabled)
J9VM - 20100509_57823_lHdSMr
JIT - 20091016_1845ifx7_r8
GC - 20091026_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_PT
Framework arguments: -product com.ibm.team.concert.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.team.concert.product
Error
Thu Jul 14 15:21:01 BST 2011
Problems occurred when invoking code from plug-in: "com.ibm.team.workitem.ide.ui".
com.ibm.team.repository.common.TeamRepositoryException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value '0,017-04-01T00:00:00.000Z' is not legal. (, 29, 61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:717)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:510)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:202)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy1.fetchOrRefreshItems(Unknown Source)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
at $Proxy1.fetchOrRefreshItems(Unknown Source)
at com.ibm.team.repository.client.internal.ItemManager$3.run(ItemManager.java:1582)
at com.ibm.team.repository.client.internal.ItemManager$3.run(ItemManager.java:1)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1261)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1254)
at com.ibm.team.repository.client.internal.TeamPlatformObject.callCancelableService(TeamPlatformObject.java:42)
at com.ibm.team.repository.client.internal.ItemManager.internalFetchItem(ItemManager.java:1577)
at com.ibm.team.repository.client.internal.ItemManager.access$1(ItemManager.java:1559)
at com.ibm.team.repository.client.internal.ItemManager$AbstractStore.retrieveItem(ItemManager.java:196)
at com.ibm.team.repository.client.internal.ItemManager$CurrentStore.fetchItem(ItemManager.java:321)
at com.ibm.team.repository.client.internal.ItemManager.fetchPartialItem(ItemManager.java:1080)
at com.ibm.team.workitem.client.internal.AuditableClient.resolveAuditable(AuditableClient.java:134)
at com.ibm.team.workitem.client.internal.WorkItemClient.resolveWorkItem(WorkItemClient.java:447)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyRegistry.connect(WorkItemWorkingCopyRegistry.java:1226)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyRegistry.connect(WorkItemWorkingCopyRegistry.java:564)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyManager.connect(WorkItemWorkingCopyManager.java:74)
at com.ibm.team.workitem.ide.ui.internal.editor.WorkItemEditorInput$1.run(WorkItemEditorInput.java:172)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at com.ibm.team.workitem.ide.ui.internal.editor.WorkItemEditorInput.fetchAll(WorkItemEditorInput.java:155)
at com.ibm.team.workitem.ide.ui.internal.editor.WorkItemEditorInput.getWorkingCopy(WorkItemEditorInput.java:128)
at com.ibm.team.workitem.ide.ui.internal.editor.WorkItemEditorInputFuture$1.runProtected(WorkItemEditorInputFuture.java:86)
at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.ibm.team.repository.common.internal.marshal.MarshallingException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value '0,017-04-01T00:00:00.000Z' is not legal. (, 29, 61)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:558)
at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:615)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:546)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:485)
... 32 more
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value '0,017-04-01T00:00:00.000Z' is not legal. (, 29, 61)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLLoadImpl.load(WebServicesXMLLoadImpl.java:76)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:555)
... 35 more
Caused by: org.eclipse.emf.ecore.xmi.IllegalValueException: Value '0,017-04-01T00:00:00.000Z' is not legal. (, 29, 61)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2662)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2647)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.endElement(XMLHandler.java:1569)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
... 38 more
Caused by: java.lang.RuntimeException: java.text.ParseException: Unparseable date: "0,017-04-01T00:00:00.000Z"
at com.ibm.team.repository.common.internal.util.SafeSimpleDataFormat.convertStringToDate(SafeSimpleDataFormat.java:70)
at com.ibm.team.repository.common.model.impl.RepositoryFactoryImpl.createTimestampFromString(RepositoryFactoryImpl.java:1284)
at com.ibm.team.repository.common.model.impl.RepositoryFactoryImpl.createFromString(RepositoryFactoryImpl.java:324)
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.createFromString(XMLHelperImpl.java:1621)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLHelperImpl.doCreateFromString(WebServicesXMLHelperImpl.java:47)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLHelperImpl.createFromString(WebServicesXMLHelperImpl.java:43)
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHelperImpl.java:1162)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2657)
... 50 more
Caused by: java.text.ParseException: Unparseable date: "0,017-04-01T00:00:00.000Z"
at java.text.DateFormat.parse(DateFormat.java:352)
at com.ibm.team.repository.common.internal.util.SafeSimpleDataFormat.parse(SafeSimpleDataFormat.java:52)
at com.ibm.team.repository.common.internal.util.SafeSimpleDataFormat.convertStringToDate(SafeSimpleDataFormat.java:64)
... 57 more[/size]