java.lang.SecurityException

Google App Engine does not support Runtime.exec from ./config/environment.rb:7:in `(root)' from org/jruby/RubyKernel.java:1038:in `require' from ./config/environment.rb:13:in `(root)' from org/jruby/RubyKernel.java:1088:in `eval' from <script>:3:in `(root)' from org/jruby/RubyKernel.java:2028:in `instance_eval' from file:/base/data/home/apps/slothninja-games/ rails-2011-12-20-0053.355505328368201569/WEB-INF/lib/jruby- rack-1.0.5.jar!/vendor/rack-1.2.1/rack/builder.rb:46:in `initialize' from <script>:3:in `(root)'

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3164

  • via Google Groups by Jeff, 7 months ago
    >:3:in `(root)' from org/jruby/RubyKernel.java:2028:in `instance_eval' from file:/base/data/home/apps/slothninja-games/ rails-2011-12-20-0053.355505328368201569/WEB-INF/lib/jruby- rack-1.0.5.jar!/vendor/rack-1.2.1/rack/builder.rb:46:in `initialize' from <script>:3:in `(root)'
  • via Google Groups by Sheng-Dean Chang, 1 year ago
    Requesting code from com.google.android.gsf (with uid 10017) to be run in process ask.me.if.you.need.more.details (with uid 10221)
  • via anddev.org by Unknown author, 1 year ago
    Requesting code from com.android.contacts (with uid 10003) to be run in process com.android.myaplication (with uid 10021)
  • Stack trace

    • java.lang.SecurityException: Google App Engine does not support Runtime.exec from ./config/environment.rb:7:in `(root)' from org/jruby/RubyKernel.java:1038:in `require' from ./config/environment.rb:13:in `(root)' from org/jruby/RubyKernel.java:1088:in `eval' from <script>:3:in `(root)' from org/jruby/RubyKernel.java:2028:in `instance_eval' from file:/base/data/home/apps/slothninja-games/ rails-2011-12-20-0053.355505328368201569/WEB-INF/lib/jruby- rack-1.0.5.jar!/vendor/rack-1.2.1/rack/builder.rb:46:in `initialize' from <script>:3:in `(root)' at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:198) at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:61) at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:27) at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:202) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:171) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:422) at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:449) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:455) at com.google.tracing.TraceContext.runInContext(TraceContext.java:695) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:333) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:325) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:453) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251) at java.lang.Thread.run(Thread.java:679) Caused by: org.jruby.exceptions.RaiseException: (LoadError) load error: ./config/boot -- java.lang.SecurityException: Google App Engine does not support Runtime.exec Caused by: java.lang.SecurityException: Google App Engine does not support Runtime.exec at com.google.appengine.runtime.Request.process-868d4a2ca2fef35f(Request.java) at java.lang.Runtime.exec(Runtime.java:93) at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:61) at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51) at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:206) at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:172) at org.jruby.ext.posix.LazyPOSIX.readlink(LazyPOSIX.java:174) at org.jruby.RubyFile.readlink(RubyFile.java:1665) at org.jruby.RubyFile$s$1$0$readlink.call(RubyFile$s$1$0$readlink.gen:65535) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69) at org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:117) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.UntilNode.interpret(UntilNode.java:120) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:207) at org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40) at org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69) at org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) at org.jruby.ast.FCallNoArgNode.interpret(FCallNoArgNode.java:31) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:114) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:118) at org.jruby.RubyClass.newInstance(RubyClass.java:792) at org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535) at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:249) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123) at org.jruby.ast.ArgsNode.assignOptArgs(ArgsNode.java:438) at org.jruby.ast.ArgsNode.prepareOptionalArguments(ArgsNode.java:412) at org.jruby.ast.ArgsNode.prepareOptOrRestArgs(ArgsNode.java:408)

    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’re the first here who have seen this exception.