NullPointer on TimespanIterator when loading plan in Eclipse client
One of our customers is having an issue when loading up an Iteration Plan in the Eclipse client. The Plan loads fine in the web client. The NullPointer that is returned is listed below and it references:
Caused by: java.lang.NullPointerException at com.ibm.team.apt.internal.common.time.TimespanIterator.<init>(TimespanIterator.java:59) at com.ibm.team.apt.internal.common.WorktimeScheduler.calcutateWorkingTime(WorktimeScheduler.java:117) What's the best way to debug this issue? I looked in the server logs but just saw the same error. I looked at all the work item changes that occurred around the time it first occurred and it was mostly updating the Time Spent. Customer is on RTC 3.0.1.3. com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.NullPointerException at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:647) 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 $Proxy50.fetchResolvedIterationPlan2(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) 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 $Proxy50.fetchResolvedIterationPlan2(Unknown Source) at com.ibm.team.apt.internal.client.IterationPlanClient$1.run(IterationPlanClient.java:377) at com.ibm.team.apt.internal.client.IterationPlanClient$1.run(IterationPlanClient.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.apt.internal.client.IterationPlanClient.fetchIterationPlanData(IterationPlanClient.java:380) at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:143) at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:1) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$DefaultResolver.resolve(TeamFuture.java:39) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.execute(TeamFuture.java:112) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.access$0(TeamFuture.java:110) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob$1.run(TeamFuture.java:95) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.run(TeamFuture.java:93) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.lang.NullPointerException at com.ibm.team.apt.internal.common.time.TimespanIterator.<init>(TimespanIterator.java:59) at com.ibm.team.apt.internal.common.WorktimeScheduler.calcutateWorkingTime(WorktimeScheduler.java:117) at com.ibm.team.apt.internal.service.progress.PlanProgressService.calculateWorkTime(PlanProgressService.java:415) at com.ibm.team.apt.internal.service.progress.PlanProgressService.calculateWorkTime(PlanProgressService.java:187) at com.ibm.team.apt.internal.service.progress.PlanProgressService.calculateWorkTime(PlanProgressService.java:120) at com.ibm.team.apt.internal.service.progress.PlanProgressService.computeProgressForPlan(PlanProgressService.java:96) at com.ibm.team.apt.internal.service.IterationPlanService.computeProgressForPlan(IterationPlanService.java:1073) at com.ibm.team.apt.internal.service.progress.PlanProgressHelper.getIterationPlanProgress(PlanProgressHelper.java:47) at com.ibm.team.apt.internal.service.progress.PlanProgressHelper.getIterationPlanProgressRcp(PlanProgressHelper.java:41) at com.ibm.team.apt.internal.service.IterationPlanService$7.run(IterationPlanService.java:407) at com.ibm.team.apt.internal.service.IterationPlanService$7.run(IterationPlanService.java:1) at com.ibm.team.repository.service.internal.TransactionService$2.run(TransactionService.java:204) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:312) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:236) at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:119) at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:88) at sun.reflect.GeneratedMethodAccessor126.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy102.runInTransaction(null) at com.ibm.team.repository.service.AbstractService.runInTransaction(AbstractService.java:947) at com.ibm.team.apt.internal.service.IterationPlanService.fetchPlanProgress2(IterationPlanService.java:403) at com.ibm.team.apt.internal.service.IterationPlanService$5.run(IterationPlanService.java:242) at com.ibm.team.repository.service.internal.TransactionService$2.run(TransactionService.java:204) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:458) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:285) at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:379) at sun.reflect.GeneratedMethodAccessor63.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy71.withCurrentConnection(null) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:281) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:236) at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:119) at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:88) at sun.reflect.GeneratedMethodAccessor126.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy102.runInTransaction(null) at com.ibm.team.repository.service.AbstractService.runInTransaction(AbstractService.java:947) at com.ibm.team.apt.internal.service.IterationPlanService.fetchResolvedIterationPlan2(IterationPlanService.java:179) at sun.reflect.GeneratedMethodAccessor555.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy366.fetchResolvedIterationPlan2(null) at sun.reflect.GeneratedMethodAccessor555.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1285) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:882) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:672) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1871) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1725) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:1710) at com.ibm.team.repository.servlet.AbstractTeamServerServlet$1.service(AbstractTeamServerServlet.java:198) at com.ibm.team.repository.internal.service.auth.impl.JAuthHandler.handleRequest(JAuthHandler.java:95) at sun.reflect.GeneratedMethodAccessor263.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy242.handleRequest(null) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1578) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420) at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:500) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:811) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:296) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:261) at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:622) at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:497) |
Accepted answer
Hi Michael,
This defect is tracked in Null Pointer Exception Plan View Eclipse Client 3.0.1.3 (208746). It looks like a hot fix is available and the fix is in 3.0.1.4. Michael Walker selected this answer as the correct answer
Comments Would you please advise if it is a client fix, server fix or fix on both side are required? |
One other answer
It seems to be a two-part fix, both server and client.
|
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.