It's all about the answers!

Ask a question

Error running operation 'Saving Work Item' using M5


carlos roberto (21443030) | asked Mar 13 '08, 3:03 p.m.
I was adding some work items and I got the message when I clicked the save button: Error running operation 'Saving Work Item'. The windows details showed
java.lang.NullPointerException
java.lang.NullPointerException
I tried the save button again and the error persisted.
Then I canceled the work item editor, started a new one, clicked the save button and now it worked. I dont have idea about what happened.
Thanks.

www.byteshift.com

2 answers



permanent link
Jared Burns (4.5k29) | answered Mar 13 '08, 4:41 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Can you look in the error log and see if there's anything there?

You can either open the Error Log view (press ctrl+3 and type "error
log") or you can look at the file in <yourworkspacelocation>/.metadata/.log

--
Jared Burns
Jazz Process Team

carlosl wrote:
I was adding some work items and I got the message when I clicked the
save button: Error running operation 'Saving Work Item'. The windows
details showed
java.lang.NullPointerException
java.lang.NullPointerException
I tried the save button again and the error persisted.
Then I canceled the work item editor, started a new one, clicked the
save button and now it worked. I dont have idea about what happened.
Thanks.

www.byteshift.com

permanent link
carlos roberto (21443030) | answered Mar 18 '08, 11:33 a.m.
Here is the log. I dont have idea what is going on

eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070426 (JIT enabled)
J9VM - 20070420_12448_lHdSMR
JIT - 20070419_1806_r8
GC - 200704_19
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

Error
Thu Mar 13 13:01:06 BRT 2008
java.lang.NullPointerException

com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.NullPointerException
at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:505)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:416)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:176)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy14.save(Unknown Source)
at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:145)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:80)
at $Proxy14.save(Unknown Source)
at com.ibm.team.workitem.client.internal.WorkItemSaveTransport$1.run(WorkItemSaveTransport.java:33)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1061)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:76)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1054)
at com.ibm.team.workitem.client.internal.WorkItemSaveTransport.call(WorkItemSaveTransport.java:30)
at com.ibm.team.workitem.client.internal.WorkItemSaveRunnable.run(WorkItemSaveRunnable.java:37)
at com.ibm.team.process.common.advice.ProcessRunnable.internalRun(ProcessRunnable.java:123)
at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.runRunnable(OperationAdviceManager.java:1270)
at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.execute(OperationAdviceManager.java:228)
at com.ibm.team.process.internal.client.ProcessClientService.execute(ProcessClientService.java:450)
at com.ibm.team.workitem.client.internal.WorkItemClient.save(WorkItemClient.java:625)
at com.ibm.team.workitem.client.internal.WorkItemClient.saveWorkItems(WorkItemClient.java:542)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyManager.saveAffected(WorkItemWorkingCopyManager.java:1332)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyManager.save(WorkItemWorkingCopyManager.java:1250)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyManager.save(WorkItemWorkingCopyManager.java:1222)
at com.ibm.team.workitem.ide.ui.internal.editor.WorkItemEditor$8$1.run(WorkItemEditor.java:1141)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: java.lang.NullPointerException
at com.ibm.team.repository.common.internal.marshal.util.WebServicesSAXXMLHandler.createObjectFromFactory(WebServicesSAXXMLHandler.java:55)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:1961)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesSAXXMLHandler.createObjectFromTypeName(WebServicesSAXXMLHandler.java:66)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1896)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1705)
at com.ibm.team.repository.common.internal.marshal.util.WebServicesSAXXMLHandler.handleFeature(WebServicesSAXXMLHandler.java:49)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:974)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:953)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:684)
at com.ibm.team.repository.common.internal.marshal.util.SAXWrapper.startElement(SAXWrapper.java:73)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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:179)
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:491)
at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:476)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:443)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:392)
... 26 more

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.