Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:

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 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.


0 votes

Comments


Accepted answer

Permanent link
 This is being tracked in a workitem:
Veit Weber selected this answer as the correct answer

2 votes

Comments

thanks randy for letting me know this issue.

yesterday i was able to reproduce the error under sles10-linux.
could it be possible, that the problem is because the hostname is not full-qualified?


One other answer

Permanent link
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)

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11

Question asked: Sep 26 '12, 7:06 a.m.

Question was seen: 6,064 times

Last updated: Oct 05 '12, 10:23 a.m.

Confirmation Cancel Confirm