org.zkoss.lang.SystemException: org.xml.sax.SAXParseException: The reference to entity "requestUrl" must end with the ';' delimiter.

ZK-Tracker | kevintsai | 5 years ago
  1. 0

    {code:xml} <zk> <a href="http://test?a=1&b=2">TEST HYPERLINK</a> </zk> {code} When I test above zul, console will show {color:red} 嚴重的: Servlet.service() for servlet zkLoader threw exception org.zkoss.lang.SystemException: org.xml.sax.SAXParseException: The reference to entity "requestUrl" must end with the ';' delimiter. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.zkoss.lang.Classes.newInstance(Classes.java:73) at org.zkoss.lang.Exceptions.wrap(Exceptions.java:161) at org.zkoss.lang.SystemException$Aide.wrap(SystemException.java:42) at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:157) at org.zkoss.web.util.resource.ResourceCaches.get(ResourceCaches.java:120) at org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinition(PageDefinitions.java:140) at org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinition(AbstractUiFactory.java:158) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:208) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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:102) 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.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) {color}

    ZK-Tracker | 5 years ago | kevintsai
    org.zkoss.lang.SystemException: org.xml.sax.SAXParseException: The reference to entity "requestUrl" must end with the ';' delimiter.
  2. 0

    {code:xml} <zk> <a href="http://test?a=1&b=2">TEST HYPERLINK</a> </zk> {code} When I test above zul, console will show {color:red} 嚴重的: Servlet.service() for servlet zkLoader threw exception org.zkoss.lang.SystemException: org.xml.sax.SAXParseException: The reference to entity "requestUrl" must end with the ';' delimiter. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.zkoss.lang.Classes.newInstance(Classes.java:73) at org.zkoss.lang.Exceptions.wrap(Exceptions.java:161) at org.zkoss.lang.SystemException$Aide.wrap(SystemException.java:42) at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:157) at org.zkoss.web.util.resource.ResourceCaches.get(ResourceCaches.java:120) at org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinition(PageDefinitions.java:140) at org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinition(AbstractUiFactory.java:158) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:208) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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:102) 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.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) {color}

    ZK-Tracker | 5 years ago | kevintsai
    org.zkoss.lang.SystemException: org.xml.sax.SAXParseException: The reference to entity "requestUrl" must end with the ';' delimiter.
  3. 0

    ZK Framework 5.0 classNotFoundException (Frameworks forum at Coderanch)

    coderanch.com | 6 months ago
    org.zkoss.lang.SystemException: : org.zkoss.web.fn.XMLFns at jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.zkoss.lang.SystemException

      org.xml.sax.SAXParseException: The reference to entity "requestUrl" must end with the ';' delimiter.

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    3. The ZKoss Common Library
      ResourceCache.get
      1. org.zkoss.lang.Classes.newInstance(Classes.java:73)
      2. org.zkoss.lang.Exceptions.wrap(Exceptions.java:161)
      3. org.zkoss.lang.SystemException$Aide.wrap(SystemException.java:42)
      4. org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:157)
      4 frames
    4. The ZKoss Web Library
      ResourceCaches.get
      1. org.zkoss.web.util.resource.ResourceCaches.get(ResourceCaches.java:120)
      1 frame
    5. ZK Kernel
      DHtmlLayoutServlet.doGet
      1. org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinition(PageDefinitions.java:140)
      2. org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinition(AbstractUiFactory.java:158)
      3. org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:208)
      4. org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135)
      4 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    8. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame