RDM: "Unable to load diagram"
Hello,
I am using RDM on Tomcat on Windows. When loading a simple diagram, I am getting the "Unable to load diagram" at the middle of the diagram area. Sometimes I can display a very simple diagram. But most often I get this problem. Note that I checked that Model import completed without problems. I went to DM logs just after the message. The last error in the log is the following: 2013-09-02 11:14:13,293 [ http-bio-9443-exec-344] [] ERROR com.ibm.xtools.rmpx.common.exceptions.RmpxRuntimeException - <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:err="http://jazz.net/xmlns/prod/jazz/foundation/1.0/"> <rdf:Description> <err:detailedMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#string" > User: Lionel Mommeja Rmps Request Line: GET https://9.100.81.175:9443/dm/diagrams/image?diagramUri=https%3A%2F%2F9.100.81.175%3A9443%2Fdm%2Fmodels%2F108&tiled=true&rmps.context=https%3A%2F%2F9.100.81.175%3A9443%2Fdm%2Fstreams%2F8&dojo.preventCache=1378134860315 HTTP/1.1 Rmps Request Headers: host: 9.100.81.175:9443 user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 accept: application/json accept-language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 accept-encoding: gzip, deflate x-ibm-rmps-internal: true x-jazz-downstream-auth-client-level: 4.0 content-type: application/x-www-form-urlencoded x-requested-with: XMLHttpRequest referer: https://9.100.81.175:9443/dm/web/projects/EBird%20-%20Smarter%20Fleet%20Models?rmps.context=https%3A%2F%2F9.100.81.175%3A9443%2Fdm%2Fstreams%2F8 cookie: JSESSIONID=FD3A143E174D6A8C1D6E180F1110229A; net-jazz-ajax-cookie-rememberUserId=; jfs-oauth-realm-mapping=https%3A%2F%2F9.100.81.175%3A9443%2Fjts%3D0; jfs-oauth-access-token0=9a6ce40afd264d10b933ee6dab93a0f1; jfs-oauth-access_token-secret0=fV4Y2nC3c4Jqz2u7ih7FxTOUY4dcBP6OqcAAgZnRpHY; JAZZ_AUTH_TOKEN=9a6ce40afd264d10b933ee6dab93a0f1&fV4Y2nC3c4Jqz2u7ih7FxTOUY4dcBP6OqcAAgZnRpHY; JSESSIONIDSSO=D4209A879AB9737D38EA8D82C0C06B6B connection: keep-alive X-ibm-internal-dm-request-correlation-ID: 0870b8d5-9cc6-404d-b9b3-4edc5e96e56c Jfs Request Line: GET https://9.100.81.175:9443/rsadm/com.ibm.xtools.rmps.frontservice.contentprovider.IDiagramServiceProvider/http%253A%252F%252Frmps.xtools.ibm.com%252Fnorvo/getTileDescriptor?tiled=true&dojo.preventCache=1378134860315&diagramUri=https://9.100.81.175:9443/dm/models/108&rmps.context=https://9.100.81.175:9443/dm/streams/8 HTTP/1.1 Jfs Request Headers: Accept: */* Referer: https://9.100.81.175:9443/dm Jfs Response Headers: Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 2972 Date: Mon, 02 Sep 2013 15:14:12 GMT Connection: close X-ibm-internal-dm-request-correlation-ID: e53ac42f-8746-450e-9885-dcabe05500e2 Jfs Response Body: <html><head><title>Apache Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - java.lang.NullPointerException</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>java.lang.NullPointerException</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: java.lang.NullPointerException com.ibm.xtools.rmps.renderingapp.servlet.internal.AnnotationServlet.service(AnnotationServlet.java:291) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 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:722) org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) </pre></p><p><b>root cause</b> <pre>java.lang.NullPointerException com.ibm.xtools.rmps.renderingapp.extensionhandler.internal.JfsRenderingClient$1.getUserName(JfsRenderingClient.java:389) com.ibm.xtools.rmps.renderingapp.servlet.internal.AnnotationServlet.service(AnnotationServlet.java:286) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 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:722) org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html> com.ibm.xtools.rmps.frontservice.jaf.jfsclient.RmpsRuntimeException: 500 (CRITICAL) :Internal Server Error
 at com.ibm.xtools.rmps.frontservice.jaf.jfsclient.JfsSystemClient.execute(JfsSystemClient.java:575)
 at com.ibm.xtools.rmps.frontservice.jaf.jfsclient.JfsSystemClient.execute(JfsSystemClient.java:405)
 at com.ibm.xtools.rmps.renderingapp.contentproviders.RenderingAppClient.execute(RenderingAppClient.java:179)
 at com.ibm.xtools.rmps.renderingapp.contentproviders.RenderingAppClient.getRequest(RenderingAppClient.java:48)
 at com.ibm.xtools.rmps.renderingapp.contentproviders.RenderingAppClient.getRequest(RenderingAppClient.java:57)
 at com.ibm.xtools.rmps.renderingapp.contentproviders.internal.RenderingAppDiagramServiceProvider.getTileDescriptor(RenderingAppDiagramServiceProvider.java:93)
 at com.ibm.xtools.rmps.diagrams.internal.DiagramsFrontService.rmpsGet(DiagramsFrontService.java:208)
 at com.ibm.xtools.rmps.frontservice.jaf.RmpsFrontService.rmpsService(RmpsFrontService.java:388)
 at com.ibm.xtools.rmps.frontservice.jaf.RmpsFrontService.doGet(RmpsFrontService.java:542)
 at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:170)
 at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:281)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1695)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
 at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
 at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
 at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:139)
 at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:172)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:908)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:931)
 at java.lang.Thread.run(Thread.java:738)
 </err:detailedMessage> <err:errorSeverity rdf:datatype="java:com.ibm.xtools.rmpx.common.exceptions.ErrorReport$Severity" >CRITICAL</err:errorSeverity> <err:errorMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >Internal Server Error</err:errorMessage> <err:errorStatus rdf:datatype="http://www.w3.org/2001/XMLSchema#long" >400</err:errorStatus> </rdf:Description> </rdf:RDF> |
Accepted answer
This appears to be the existing defect Unable to load UML diagram on self host server (41002) which has been resolved in DM 4.0.4.
A possible work around is to change the user id to only have alphanumerical characters. Alternatively contact Rational Support to receive a test fix. Regards, Thomas Mattsson lionel mommeja selected this answer as the correct answer
|
One other answer
I have not found any reports of this specific error, but the exception:
java.lang.NullPointerException com.ibm.xtools.rmps.renderingapp.extensionhandler.internal.JfsRenderingClient$1.getUserName(JfsRenderingClient.java:389) makes me wonder about user authentication. 0. Does this problem happen with all users? 1. What Jazz... groups is this user part of, and what licenses does this user have? 2. What process Roles does this user have in DM? 3. Do you have an http server in front of the Tomcat server? 4. What type of user registry do you use (LDAP, internal tomcat etc)? 5. What is the topology: are all applications deployed to the same Tomcat server, or do you have a distributed scenario? 6. What browser do you use? If it is Firefox, can you activate Firebug and send the errors as seen in Firebug? https://getfirebug.com/ Thank you and regards, Lara |
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.