org.forgerock.openig.handler.HandlerException

Script failed unexpectedly

Solutions on the web1

  • via ForgeRock JIRA by Jean-Charles Deville, 11 months ago
    Script failed unexpectedly
  • Stack trace

    • org.forgerock.openig.handler.HandlerException: Script failed unexpectedly at org.forgerock.openig.script.AbstractScriptableHeapObject.runScript(AbstractScriptableHeapObject.java:203) at org.forgerock.openig.handler.ScriptableHandler.handle(ScriptableHandler.java:59) at org.forgerock.openig.handler.DispatchHandler.handle(DispatchHandler.java:88) at org.forgerock.openig.filter.Chain$1.handle(Chain.java:85) at org.forgerock.openig.filter.ExceptionFilter.filter(ExceptionFilter.java:56) at org.forgerock.openig.filter.Chain$1.handle(Chain.java:83) at org.forgerock.openig.filter.Chain.handle(Chain.java:74) at org.forgerock.openig.handler.router.Route.handle(Route.java:175) at org.forgerock.openig.handler.router.RouterHandler.handle(RouterHandler.java:251) at org.forgerock.openig.audit.decoration.AuditHandler.handle(AuditHandler.java:46) at org.forgerock.openig.decoration.capture.CaptureHandler.handle(CaptureHandler.java:60) at org.forgerock.openig.decoration.baseuri.BaseUriHandler.handle(BaseUriHandler.java:55) at org.forgerock.openig.servlet.GatewayServlet.service(GatewayServlet.java:275) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: javax.script.ScriptException: groovy.util.ResourceException: Malformed URL: file:/C:/jenkins/workspace/OpenIG-Tests-Trunk/OpenIG-Trunk-Robot-Functional-Tests-Windows-64-bit/results/20150317-013756/Filters/openig/openig-config/scripts/groovy, C:\jenkins\workspace\OpenIG-Tests-Trunk\OpenIG-Trunk-Robot-Functional-Tests-Windows-64-bit\results\20150317-013756\Filters\openig\openig-container\apache-tomcat-7.0.53\temp\openig-groovy-script-cache-865643198209743930.tmp\script-2420462090301248169.groovy at org.forgerock.openig.script.Script$GroovyImpl.run(Script.java:54) at org.forgerock.openig.script.Script.run(Script.java:237) at org.forgerock.openig.script.AbstractScriptableHeapObject.runScript(AbstractScriptableHeapObject.java:187) ... 32 more Caused by: groovy.util.ResourceException: Malformed URL: file:/C:/jenkins/workspace/OpenIG-Tests-Trunk/OpenIG-Trunk-Robot-Functional-Tests-Windows-64-bit/results/20150317-013756/Filters/openig/openig-config/scripts/groovy, C:\jenkins\workspace\OpenIG-Tests-Trunk\OpenIG-Trunk-Robot-Functional-Tests-Windows-64-bit\results\20150317-013756\Filters\openig\openig-container\apache-tomcat-7.0.53\temp\openig-groovy-script-cache-865643198209743930.tmp\script-2420462090301248169.groovy at groovy.util.GroovyScriptEngine.getResourceConnection(GroovyScriptEngine.java:388) at groovy.util.GroovyScriptEngine.loadScriptByName(GroovyScriptEngine.java:530) at groovy.util.GroovyScriptEngine.createScript(GroovyScriptEngine.java:590) at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:577) at org.forgerock.openig.script.Script$GroovyImpl.run(Script.java:52) ... 34 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.