It's all about the answers!

Ask a question

RTC 4.0.3 - NullPointerException opening plans in Web UI


Mark Castro (741219) | asked Apr 02 '14, 10:40 a.m.
Hi all

We have several users who get a NullPointerException when opening a plan in RTC's web client. (works fine in Eclipse)
This happens in all browsers for them that they've tried:
Chrome 33.0.1750.154 m
IE 9.0.8112.16421
Firefox 26.0


I myself am unable to reproduce so I am wondering if this is tied to a local setting or if it's a known issue. Thanks for any help!
 
Additional Info
Plan Type: Sprint Backlog
Include All Items: checked

Stack trace
java.lang.NullPointerException

com.ibm.team.apt.internal.service.tools.AbstractPlanResolveHelper.fetchPlanView(AbstractPlanResolveHelper.java:805)

com.ibm.team.apt.internal.service.tools.AbstractPlanResolveHelper.fetchDefaultPlanView(AbstractPlanResolveHelper.java:791)

com.ibm.team.apt.internal.service.rest.PlanRestService.getPlanItems(PlanRestService.java:1577)

sun.reflect.GeneratedMethodAccessor700.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

java.lang.reflect.Method.invoke(Method.java:600)

org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)

org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)

org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)

com.sun.proxy.$Proxy785.getPlanItems(Unknown Source)

sun.reflect.GeneratedMethodAccessor698.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

java.lang.reflect.Method.invoke(Method.java:600)

com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:555)

com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2355)

com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2155)

com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1983)

javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)

org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)

org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)

javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)

com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68)

javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1661)

com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1602)

com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:149)

com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:139)

com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:172)

com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:125)

com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:80)

com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)

com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)

com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:507)

com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)

com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3954)

com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)

com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:945)

com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)

com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:191)

com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)

com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)

com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)

com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:84)

com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)

com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)

One answer



permanent link
Aradhya K (1.4k54345) | answered Apr 02 '14, 11:16 a.m.
JAZZ DEVELOPER
There could be some invalid plan modes, you have to find them and delete them.
This is quite simple, Open the project area in the Eclipse client.
switch to Process Configuration tab.
Under the configurations for planning, there is Plan Views configuration.
In this all the plan views are listed also if there are any invalid ones there will be a red x against them.
You can delete these views.

Comments
Mark Castro commented Apr 02 '14, 11:19 a.m.

Thanks Aradhya. The project area in question doesnt have any plan views configured.


Adam Wereszczynski commented Apr 03 '14, 2:13 a.m.

That may be the case if you are inheriting process from a master project area.
If so, please also check the master PA.


Mark Castro commented Apr 03 '14, 8:39 a.m.

Thanks Adam - the project area does inherit a process from a master project - I checked the Plan Views in the master & they're all OK (no errors)

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.