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)'

Google Groups | Jeff | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SDK Update Breakage

    Google Groups | 5 years ago | Jeff
    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)'

    Root Cause Analysis

    1. 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()
    2. Java RT
      Runtime.exec
      1. java.lang.Runtime.exec(Runtime.java:93)
      1 frame
    3. JNA-POSIX
      LazyPOSIX.readlink
      1. org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:61)
      2. org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51)
      3. org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:206)
      4. org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:172)
      5. org.jruby.ext.posix.LazyPOSIX.readlink(LazyPOSIX.java:174)
      5 frames
    4. JRuby Main Maven Artifact
      ArgsNode.prepareOptOrRestArgs
      1. org.jruby.RubyFile.readlink(RubyFile.java:1665)
      2. org.jruby.RubyFile$s$1$0$readlink.call(RubyFile$s$1$0$readlink.gen:65535)
      3. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
      4. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
      5. org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      6. org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
      7. org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69)
      8. org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127)
      9. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      10. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      11. org.jruby.ast.IfNode.interpret(IfNode.java:117)
      12. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      13. org.jruby.ast.IfNode.interpret(IfNode.java:119)
      14. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      15. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      16. org.jruby.ast.IfNode.interpret(IfNode.java:119)
      17. org.jruby.ast.IfNode.interpret(IfNode.java:119)
      18. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      19. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      20. org.jruby.ast.UntilNode.interpret(UntilNode.java:120)
      21. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      22. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      23. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      24. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276)
      25. org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211)
      26. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
      27. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:207)
      28. org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
      29. org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69)
      30. org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127)
      31. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      32. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      33. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      34. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
      35. org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
      36. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
      37. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
      38. org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
      39. org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
      40. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      41. org.jruby.ast.IfNode.interpret(IfNode.java:119)
      42. org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95)
      43. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      44. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      45. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      46. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
      47. org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
      48. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
      49. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
      50. org.jruby.ast.FCallNoArgNode.interpret(FCallNoArgNode.java:31)
      51. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      52. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      53. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      54. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
      55. org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171)
      56. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)
      57. org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:114)
      58. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:118)
      59. org.jruby.RubyClass.newInstance(RubyClass.java:792)
      60. org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535)
      61. org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:249)
      62. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
      63. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
      64. org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
      65. org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
      66. org.jruby.ast.ArgsNode.assignOptArgs(ArgsNode.java:438)
      67. org.jruby.ast.ArgsNode.prepareOptionalArguments(ArgsNode.java:412)
      68. org.jruby.ast.ArgsNode.prepareOptOrRestArgs(ArgsNode.java:408)
      68 frames