Details

    • Type: Bug
    • Status: Rejected
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 5.0.1.1, 5.1.0.11
    • Labels:
      None
    • Sprint:
      January 2017 Release

      Description

      The code in cfmljure that updates the classpath breaks in Lucee 5. It works just fine in both ACF (multiple versions) and Lucee 4.5 (and probably on Railo 4.x).

      This code: https://github.com/framework-one/fw1/blob/develop/framework/cfmljure.cfc#L129-L137

      Produces this exception:

      Message
      string object is not an instance of declaring class
      StackTrace
      string lucee.runtime.exp.NativeException: object is not an instance of declaring class 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:483) 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:483) at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:55) at lucee.runtime.reflection.Reflector.callMethod(Reflector.java:849) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:774) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1570) at cfmljure_cfc$cf.udfCall1(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/framework/cfmljure.cfc:136) at cfmljure_cfc$cf.udfCall(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/framework/cfmljure.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:697) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1902) at lucee.runtime.functions.other._CreateComponent.call(_CreateComponent.java:80) at ioclj_cfc$cf.udfCall(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/framework/ioclj.cfc:67) 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:697) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1902) at lucee.runtime.functions.other._CreateComponent.call(_CreateComponent.java:80) at one_cfc$cf.udfCalld(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/framework/one.cfc:2353) at one_cfc$cf.udfCall(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/framework/one.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.type.scope.UndefinedImpl.call(UndefinedImpl.java:770) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:752) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1570) at one_cfc$cf.udfCall5(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/framework/one.cfc:704) at one_cfc$cf.udfCall(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/framework/one.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:697) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1902) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:752) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1570) at examples.subsystems._6helloclojure.application_cfc$cf.udfCall(/Users/sean/Downloads/lucee-express-5.0.0.252/webapps/ROOT/examples/subsystems/6helloclojure/Application.cfc:44) 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:697) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1902) at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:422) at lucee.runtime.listener.ModernAppListener.onApplicationStart(ModernAppListener.java:301) at lucee.runtime.PageContextImpl.initApplicationContext(PageContextImpl.java:2820) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:121) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513) 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.IllegalArgumentException: object is not an instance of declaring class ... 88 more

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              sean_corfield Sean Corfield
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: