lucee.runtime.exp.NativeException: javax.servlet.http.HttpUpgradeHandler not found by lucee.core [62]

Google Groups | JF Robichaud | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Lucee 5 - javax.servlet.http.HttpUpgradeHandler issue w/ ugprade from 4.5

    Google Groups | 1 year ago | JF Robichaud
    lucee.runtime.exp.NativeException: javax.servlet.http.HttpUpgradeHandler not found by lucee.core [62]
  2. 0

    Can't Encrypt PDFs in Lucee 5.1.0.34

    Google Groups | 5 months ago | Juan Aguilar
    lucee.runtime.exp.NativeException: org.bouncycastle.asn1.DEREncodable not found by bcprov [92]
  3. 0

    jasperreport customtag fails after update to lucee 5.1.0.34

    Google Groups | 4 months ago | Unknown author
    lucee.runtime.exp.NativeException: javax.swing.text.html.HTML$Tag not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I´m using an older version of the Jasperreport customtag which I modulated slightly. It runs since years and produces perfect invoices and reports. But Lucee 5 throws an error: *javax.swing.text.html.HTML$Tag not found by net.sf.jasperreports.engine [82] The error occurred on line 216 in file /cfc/jasperreport.cfc. * But a test of that is successfull: _<cfscript> item = createObject("java", "javax.swing.text.html.HTML"); dump(item); </cfscript>_ So why did net.sf.jasperreports.engine not find it? Stacktrace: lucee.runtime.exp.NativeException: javax.swing.text.html.HTML$Tag not found by net.sf.jasperreports.engine [72] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at net.sf.jasperreports.engine.util.JEditorPaneHtmlMarkupProcessor.convert(JEditorPaneHtmlMarkupProcessor.java:137) at net.sf.jasperreports.engine.fill.JRFillTextElement.processMarkupText(JRFillTextElement.java:911) at net.sf.jasperreports.engine.fill.JRFillStaticText.(JRFillStaticText.java:52) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.visitStaticText(JRFillObjectFactory.java:638) at net.sf.jasperreports.engine.base.JRBaseStaticText.visit(JRBaseStaticText.java:95) at net.sf.jasperreports.engine.JRAbstractObjectFactory.getVisitResult(JRAbstractObjectFactory.java:89) at net.sf.jasperreports.engine.fill.JRFillElementGroup.(JRFillElementGroup.java:82) at net.sf.jasperreports.engine.fill.JRFillElementContainer.(JRFillElementContainer.java:90) at net.sf.jasperreports.engine.fill.JRFillBand.(JRFillBand.java:90) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:498) at net.sf.jasperreports.engine.fill.JRBaseFiller.(JRBaseFiller.java:441) at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:88) at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:103) at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:61) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:153) at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:82) at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:653) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:969) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:55) at lucee.runtime.java.JavaObject.call(JavaObject.java:237) at lucee.runtime.java.JavaObject.call(JavaObject.java:259) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:753) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599) at cfc.jasperreport_cfc$cf.udfCall1(/cfc/jasperreport.cfc:216) at cfc.jasperreport_cfc$cf.udfCall(/cfc/jasperreport.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:337) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:210) at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:781) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:814) at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1614) at cfc.jasperreport_cfc$cf.udfCall1(/cfc/jasperreport.cfc:60) at cfc.jasperreport_cfc$cf.udfCall(/cfc/jasperreport.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:337) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:692) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:575) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:753) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599) at jasperreport_cfm$cf.call(/jasperreport.cfm:16) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828) at lucee.runtime.tag.CFTag.doInclude(CFTag.java:324) at lucee.runtime.tag.CFTag.cfmlStartTag(CFTag.java:246) at lucee.runtime.tag.CFTag.doStartTag(CFTag.java:178) at jaspertest_cfm$cf.call(/jaspertest.cfm:294) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828) at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:62) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:891) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at mod_cfml.core.invoke(core.java:152) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: javax.swing.text.html.HTML$Tag not found by net.sf.jasperreports.engine [72] ... 92 more Thanks for any hint on that! BTW: The jars within webconfig/lib are available for all webinstances. Is that right?

    JIRA | 4 months ago | Martin Sauer
    lucee.runtime.exp.NativeException: javax.swing.text.html.HTML$Tag not found by net.sf.jasperreports.engine [72]

    1 unregistered visitors

    Root Cause Analysis

    1. lucee.runtime.exp.NativeException

      javax.servlet.http.HttpUpgradeHandler not found by lucee.core [62]

      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation()
    2. Apache Felix Framework
      BundleWiringImpl$BundleClassLoader.loadClass
      1. org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
      2. org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
      3. org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
      3 frames
    3. Java RT
      Class.getMethods
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      2. java.lang.Class.getDeclaredMethods0(Native Method)
      3. java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
      4. java.lang.Class.privateGetPublicMethods(Class.java:2733)
      5. java.lang.Class.getMethods(Class.java:1472)
      5 frames