错误提示信息:
2019-02-21 08:29:09 编码: JUSTEP002026; 提示: .J(/UI2/system/components/justep/barcode/server/genBarcode.j)执行失败
javax.servlet.ServletException: com.justep.ui.exception.UIException: 编码: JUSTEP002026; 提示: .J(/UI2/system/components/justep/barcode/server/genBarcode.j)执行失败
at com.justep.ui.servlet.MainServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.justep.ui.filter.MicroServiceAdminFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.ui.exception.UIException: 编码: JUSTEP002026; 提示: .J(/UI2/system/components/justep/barcode/server/genBarcode.j)执行失败
at com.justep.ui.exception.UIException.create(Unknown Source)
at com.justep.ui.JavaServer.doJ(Unknown Source)
at com.justep.ui.JavaServer.service(Native Method)
... 20 more
Caused by: java.lang.NullPointerException
at GenBarcode.execute(GenBarcode.java:23)
at com.justep.ui.JavaServer.runJava(Unknown Source)
... 22 more
错误如下信息:
mainActivity.js:32 Uncaught TypeError: window.handleDocumentWithURL is not a function
at n.Model.openURLClick (mainActivity.js:32)
at n._callModelFn (core.min.js:71)
at HTMLAnchorElement.<anonymous> (core.min.js:71)
at HTMLAnchorElement.dispatch (core.min.js:71)
at HTMLAnchorElement.g.handle (core.min.js:71)
代码如下:
var src = new URL(require.toUrl("$UI/system/components/justep/barcode/server/genBarcode.j"));
var a = 'http://localhost:8080' + src.toString();
window.open(a);