Error 500 and Null Pointer Exception
After a upgrade from RTC 3.11 to 4.0 the following error appears after 30-120 minutes.
https://rational:9443/ccm/web/_style/?exclude=A&include=com.ibm.team.rtc.web.ui.internal.DashboardPage.js&ss=1zXZ&_proxyURL=%2Fccm&locale=en
--> this requests ends up in a error 500:
Is there any solution?
edit: i've found a temporary solution:
related to this workitem : https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=216290 i found a workaround.
setup your dns configuration to point this dns-adresses to 127.0.0.1
net.jazz.web.ui
net.jazz.web.ui.localdomain
net.jazz.web.app
net.jazz.web.app.localdomain
com.ibm.team.dashboard.web
com.ibm.team.dashboard.web.loc
aldomain
com.ibm.team.process.web
com.ibm.team.process.web.local
domain
com.ibm.asq.common.web
com.ibm.asq.common.web.localdo
main
net.jazz.web.ensemble
net.jazz.web.ensemble.localdom
ain
com.ibm.team.dashboard.viewlet
s.web
com.ibm.team.dashboard.viewlet
s.web.localdomain
com.ibm.team.rtc.web
com.ibm.team.rtc.web.localdoma
in
i know...it's not a nice solution but it will work until 4.0.1 or 4.0.0.2 is delivered. my server is running 48hours with no npe.
https://rational:9443/ccm/web/_style/?exclude=A&include=com.ibm.team.rtc.web.ui.internal.DashboardPage.js&ss=1zXZ&_proxyURL=%2Fccm&locale=en
--> this requests ends up in a error 500:
java.lang.NullPointerException net.jazz.ajax.model.Sprite.writeCSS(Sprite.java:125) net.jazz.ajax.model.StyleSheet.rewriteUrls(StyleSheet.java:224) net.jazz.ajax.model.StyleSheet.write(StyleSheet.java:240) net.jazz.ajax.servlets.ResourceGraph.writeCSS(ResourceGraph.java:295) net.jazz.ajax.servlets.StyleSheetServlet.write(StyleSheetServlet.java:24) net.jazz.ajax.servlets.AbstractResourceServlet.doGet(AbstractResourceServlet.java:73) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) net.jazz.ajax.servlets.LoggingHttpServlet.service(LoggingHttpServlet.java:35) 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:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 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:722) com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133) com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154)After this the layout of the CCM-Website-Layout is destroyed but full accessible. It happens in both: 32 & 64 Bit.
Is there any solution?
edit: i've found a temporary solution:
related to this workitem : https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=216290 i found a workaround.
setup your dns configuration to point this dns-adresses to 127.0.0.1
net.jazz.web.ui
net.jazz.web.ui.localdomain
net.jazz.web.app
net.jazz.web.app.localdomain
com.ibm.team.dashboard.web
com.ibm.team.dashboard.web.loc
com.ibm.team.process.web
com.ibm.team.process.web.local
com.ibm.asq.common.web
com.ibm.asq.common.web.localdo
net.jazz.web.ensemble
net.jazz.web.ensemble.localdom
com.ibm.team.dashboard.viewlet
com.ibm.team.dashboard.viewlet
com.ibm.team.rtc.web
com.ibm.team.rtc.web.localdoma
i know...it's not a nice solution but it will work until 4.0.1 or 4.0.0.2 is delivered. my server is running 48hours with no npe.
Accepted answer
One other answer
Addition: After a while the CCM isn't available, there is another Exception:
org.eclipse.core.runtime.AssertionFailedException: assertion failed: Sprite generation is non-deterministic org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) net.jazz.ajax.model.SpriteLayout$Algorithm$1.compare(SpriteLayout.java:130) net.jazz.ajax.model.SpriteLayout$Algorithm$1.compare(SpriteLayout.java:1) java.util.Arrays.mergeSort(Arrays.java:2902) java.util.Arrays.mergeSort(Arrays.java:2887) java.util.Arrays.mergeSort(Arrays.java:2886) java.util.Arrays.mergeSort(Arrays.java:2886) java.util.Arrays.mergeSort(Arrays.java:2887) java.util.Arrays.sort(Arrays.java:3251) java.util.Arrays.sort(Arrays.java:3269) java.util.Collections.sort(Collections.java:1961) net.jazz.ajax.model.SpriteLayout$Algorithm.initialize(SpriteLayout.java:123) net.jazz.ajax.model.SpriteLayout$Algorithm.solve(SpriteLayout.java:89) net.jazz.ajax.model.SpriteLayout.<init>(SpriteLayout.java:48) net.jazz.ajax.model.Sprite.getLayout(Sprite.java:83) net.jazz.ajax.model.Sprite.getState(Sprite.java:113) net.jazz.ajax.servlets.ResourceGraph.isStillValid(ResourceGraph.java:262) net.jazz.ajax.servlets.ResourceGraphOperation.isStillValid(ResourceGraphOperation.java:78) net.jazz.ajax.internal.util.Cache.execute(Cache.java:50) net.jazz.ajax.internal.util.CacheableOperation.execute(CacheableOperation.java:32) net.jazz.ajax.model.AjaxPage.write(AjaxPage.java:100) net.jazz.ajax.servlets.AjaxPageServlet.doGet(AjaxPageServlet.java:31) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) net.jazz.ajax.servlets.LoggingHttpServlet.service(LoggingHttpServlet.java:35) 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:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 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:722) com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133) com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154)
Comments
Bo Chulindra
JAZZ DEVELOPER Sep 26 '12, 1:08 p.m.I believe you may have this defect here: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/214151