javax.script.ScriptException

Failure running script NO_SCRIPT_NAME: null


Solutions on the web79

Solution icon of apache
Failure running script NO_SCRIPT_NAME: null

Solution icon of apache
Failure running script NO_SCRIPT_NAME: null

Solution icon of sourceforge
eval threw javax.script.ScriptException: load script: java.lang.ArrayIndexOutOfBoundsException: 32

Solution icon of web
eval threw javax.script.ScriptException: load script: java.lang.ArrayIndexOutOfBoundsException: 32

Solution icon of web
via sourceforge.net by Unknown author, 11 months ago
eval threw javax.script.ScriptException: load script: java.lang.ArrayIndexOutOfBoundsException: 32

Solution icon of github
java.util.concurrent.RejectedExecutionException: java.util.concurrent.RejectedExecutionException in <script> at line number 81

Solution icon of github
via GitHub by brhahlen
, 6 months ago
KeyError: 'environment_id' in <script> at line number 17

Solution icon of github
via GitHub by meirwah
, 1 year ago
NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1

Solution icon of github
javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1

Solution icon of github
NameError: name 'amount_of_images' is not defined in <script> at line number 1

Stack trace

  • javax.script.ScriptException: Failure running script NO_SCRIPT_NAME: null at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngine.eval(RhinoJavaScriptEngine.java:158) at org.apache.sling.scripting.api.AbstractSlingScriptEngine.eval(AbstractSlingScriptEngine.java:44) at org.apache.sling.scripting.javascript.internal.ScriptEngineHelper.eval(ScriptEngineHelper.java:103) at org.apache.sling.scripting.javascript.internal.ScriptEngineHelper.evalToString(ScriptEngineHelper.java:83) at org.apache.sling.scripting.wrapper.ScriptableNodeTest.testForCurrentNode(ScriptableNodeTest.java:279) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: java.lang.NullPointerException at org.apache.sling.scripting.javascript.wrapper.ScriptableNode.has(ScriptableNode.java:406) at org.mozilla.javascript.ScriptableObject.getBase(ScriptableObject.java:2531) at org.mozilla.javascript.ScriptableObject.hasProperty(ScriptableObject.java:2284) at org.mozilla.javascript.ScriptRuntime.toIterator(ScriptRuntime.java:1984) at org.mozilla.javascript.ScriptRuntime.enumInit(ScriptRuntime.java:2033) at org.mozilla.javascript.gen.NO_SCRIPT_NAME_41._c_script_0(NO_SCRIPT_NAME:1) at org.mozilla.javascript.gen.NO_SCRIPT_NAME_41.call(NO_SCRIPT_NAME) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.mozilla.javascript.gen.NO_SCRIPT_NAME_41.call(NO_SCRIPT_NAME) at org.mozilla.javascript.gen.NO_SCRIPT_NAME_41.exec(NO_SCRIPT_NAME) at org.mozilla.javascript.Context.evaluateReader(Context.java:1110) at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngine.eval(RhinoJavaScriptEngine.java:115) ... 29 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.