java.lang.RuntimeException

javax.script.ScriptException: KeyError: 'environment_id' in <script> at line number 17


Solutions on the web15749

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

Solution icon of github
via GitHub by meirwah
, 1 week ago
Error running: 'clear_docker_dangling_images_flow'. Error binding output: 'dangling_images_list_safe_to_delete', Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete', Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1

Solution icon of github
Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images', Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1

Solution icon of github
via GitHub by greenlaw110
, 1 year ago
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing ) after argument list (<Unknown source>#1) in <Unknown source> at line number 1

Solution icon of github
javax.script.ScriptException: SyntaxError: no viable alternative at input '**' in /Users/sop/git/buck_bugs/././BUCK at line number 1 at column number 44

Solution icon of github
java.lang.RuntimeException: java.lang.RuntimeException: Job submission failed status code: 404 in SimpleScript at line number 71

Solution icon of github
ServiceCode Error in function CloudStorage:exists at 17

Solution icon of github
javax.script.ScriptException: javax.script.ScriptException: java.util.NoSuchElementException: The vertex with id id of type does not exist in the graph

Solution icon of github
/python3.5/site-packages/pystorm/component.py", line 303, in read_handshake pid_dir, _conf, _context = msg['pidDir'], msg['conf'], msg['context'] KeyError: 'pidDir'

Solution icon of youtrack
Syntax error: mismatched input '"p arr"' expecting ID in "=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400952",func="foo(int*)",file="/home/user/ClionProjects/hello/main.cpp",fullname="/home/user

Stack trace

  • java.lang.RuntimeException: javax.script.ScriptException: KeyError: 'environment_id' in <script> at line number 17 at com.xebialabs.xlrelease.script.ScriptService.executeScriptWithWriter(ScriptService.java:230) at com.xebialabs.xlrelease.plugins.dashboard.service.TileScriptExecutor.executeTileScript(TileScriptExecutor.scala:31) at com.xebialabs.xlrelease.plugins.dashboard.service.TileScriptExecutor$$FastClassBySpringCGLIB$$dfb8b7d0.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52) at org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation(CacheAspectSupport.java:320) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:353) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:302) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) at com.xebialabs.xlrelease.plugins.dashboard.service.TileScriptExecutor$$EnhancerBySpringCGLIB$$1c34dbc0.executeTileScript(<generated>) at com.xebialabs.xlrelease.plugins.dashboard.service.TileService.executeTileDataScript(TileService.scala:35) at com.xebialabs.xlrelease.plugins.dashboard.api.internal.TileResource.getTileData(TileResource.scala:43) 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 org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139) at com.xebialabs.deployit.core.rest.resteasy.WorkdirInjectorFactory$WorkdirMethodInjector.invoke(WorkdirInjectorFactory.java:48) at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295) at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249) at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:402) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at com.xebialabs.deployit.plumbing.RequestLocal.doFilter(RequestLocal.java:21) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at com.xebialabs.deployit.plumbing.VersionEnforcerFilter.doFilter(VersionEnforcerFilter.java:39) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:133) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at com.xebialabs.license.LicenseValidationFilter.doFilter(LicenseValidationFilter.java:61) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at com.xebialabs.deployit.plumbing.LogbackFilter.doFilter(LogbackFilter.java:25) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at com.xebialabs.deployit.plumbing.AccessLogFilter.doFilter(AccessLogFilter.java:22) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:497) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) Caused by: javax.script.ScriptException: KeyError: 'environment_id' in <script> at line number 17 at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:202) at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42) at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31) at com.xebialabs.xlrelease.script.ScriptExecutor.lambda$evalScriptPrivileged$92(ScriptExecutor.java:92) at java.security.AccessController.doPrivileged(Native Method) at com.xebialabs.xlrelease.script.ScriptExecutor.evalScriptPrivileged(ScriptExecutor.java:91) at com.xebialabs.xlrelease.script.ScriptExecutor.evalScriptWithUtilities(ScriptExecutor.java:85) at com.xebialabs.xlrelease.script.ScriptExecutor.evalScript(ScriptExecutor.java:66) at com.xebialabs.xlrelease.script.ScriptService.executeScript(ScriptService.java:646) at com.xebialabs.xlrelease.script.ScriptService.executeScriptWithWriter(ScriptService.java:227) ... 93 more Caused by: org.python.core.PyException: null at org.python.core.Py.KeyError(Py.java:249) at org.python.core.PyObject.__getitem__(PyObject.java:738) at xldeploy.XLDeployClient$py.get_deployed_applications_for_environment$45(__pyclasspath__/xldeploy/XLDeployClient.py:398) at xldeploy.XLDeployClient$py.call_function(__pyclasspath__/xldeploy/XLDeployClient.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:307) at org.python.core.PyBaseCode.call(PyBaseCode.java:145) at org.python.core.PyFunction.__call__(PyFunction.java:423) at org.python.core.PyMethod.__call__(PyMethod.java:141) at org.python.pycode._pyx20.f$0(<script>:19) at org.python.pycode._pyx20.call_function(<script>) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1386) at org.python.core.__builtin__.eval(__builtin__.java:497) at org.python.core.__builtin__.eval(__builtin__.java:501) at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:259) at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:40) ... 101 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.