We've modeled our application list into "Application Catalogue", now I have one question about the two pop-up items when clicking the application name link: "Technology Platform Model" and "Technology Strategy Alignment". (See attached picture: 20240507-app-tech-1.png).
I found both links are actually pointing to the same xsl file: technology/core_tl_app_tech_alignment.xsl (I've already enabled this report in Viewer's Report list), however with below slightly different URL:
- Technology Platform Model: https://hostname/uml_model.jsp?XML=repo ... k%26xsl%3D
- Technology Strategy Alignment: https://hostname/report?XML=reportXML.x ... 9&cl=en-gb
In my published viewer, I got error for "Technology Platform Model": see image 20240507-technology-platform-model.png; and OK to display on "Technology Strategy Alignment: see image 20240507-Application-Technology-Strategy-Alignment.png.
I'm using Windows 11, Essential Viewer with 6.20 Update Pack.
I've checked the viewer folder, able to find "uml_models.jsp" are in some files' code, e.g. reportXML.xml, core_menu.xsl, core_uml_model_links.xsl, core_utilities.xsl. But I don't find the file itself exists in the folder.
Any hints on this error? Thanks greatly.
Xiaoqi
Here I've paste the error message in text:
Code: Select all
HTTP Status 500 – Internal Server Error
Type Exception Report
Message An exception occurred processing [uml_model.jsp] at line [113]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: An exception occurred processing [uml_model.jsp] at line [113]
110:
111: SourceStringReader reader = new SourceStringReader(umlScript);
112: // Write the image to "png"
113: String desc = reader.generateImage(png);
114: png.close();
115:
116: imageMap.put(imageNameHash, imagePath);
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:610)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:499)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
com.enterprise_architecture.essential.report.LoadCSRF.doFilter(LoadCSRF.java:109)
com.enterprise_architecture.essential.report.FilterSetLoggingContext.doFilter(FilterSetLoggingContext.java:90)
Root Cause
java.lang.NullPointerException
net.sourceforge.plantuml.SourceStringReader.generateImage(SourceStringReader.java:111)
org.apache.jsp.uml_005fmodel_jsp._jspService(uml_005fmodel_jsp.java:246)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
com.enterprise_architecture.essential.report.LoadCSRF.doFilter(LoadCSRF.java:109)
com.enterprise_architecture.essential.report.FilterSetLoggingContext.doFilter(FilterSetLoggingContext.java:90)
Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/9.0.86