java.lang.NullPointerException

GitHub | lxp | 6 months 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.oracle.truffle.api.impl.DefaultVirtualFrame.getSlotIndexChecked()
  2. com.oracle.truffle
    DefaultVirtualFrame.getValue
    1. com.oracle.truffle.api.impl.DefaultVirtualFrame.getSlotIndexChecked(DefaultVirtualFrame.java:162)
    2. com.oracle.truffle.api.impl.DefaultVirtualFrame.getValue(DefaultVirtualFrame.java:157)
    2 frames
  3. org.jruby.truffle
    RubyRootNode.execute
    1. org.jruby.truffle.core.kernel.KernelNodes$NotMatchNode.notMatch(KernelNodes.java:294)
    2. org.jruby.truffle.core.kernel.KernelNodesFactory$NotMatchNodeFactory$NotMatchNodeGen.executeBoolean(KernelNodesFactory.java:616)
    3. org.jruby.truffle.core.kernel.KernelNodesFactory$NotMatchNodeFactory$NotMatchNodeGen.execute(KernelNodesFactory.java:603)
    4. org.jruby.truffle.language.control.SequenceNode.execute(SequenceNode.java:36)
    5. org.jruby.truffle.language.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:47)
    6. org.jruby.truffle.language.RubyRootNode.execute(RubyRootNode.java:51)
    6 frames
  4. com.oracle.truffle
    DefaultDirectCallNode.call
    1. com.oracle.truffle.api.impl.DefaultCallTarget.callDirectOrIndirect(DefaultCallTarget.java:63)
    2. com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:44)
    2 frames
  5. org.jruby.truffle
    WhileNode$WhileRepeatingNode.executeRepeating
    1. org.jruby.truffle.language.dispatch.CachedDispatchNode.call(CachedDispatchNode.java:100)
    2. org.jruby.truffle.language.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:90)
    3. org.jruby.truffle.language.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:98)
    4. org.jruby.truffle.language.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:46)
    5. org.jruby.truffle.language.dispatch.RubyCallNode.executeWithArgumentsEvaluated(RubyCallNode.java:107)
    6. org.jruby.truffle.language.dispatch.RubyCallNode.execute(RubyCallNode.java:96)
    7. org.jruby.truffle.core.cast.BooleanCastNodeGen$BaseNode_.executeValue_(BooleanCastNodeGen.java:171)
    8. org.jruby.truffle.core.cast.BooleanCastNodeGen$BaseNode_.execute(BooleanCastNodeGen.java:108)
    9. org.jruby.truffle.core.cast.BooleanCastNodeGen$BaseNode_.executeBoolean1(BooleanCastNodeGen.java:113)
    10. org.jruby.truffle.core.cast.BooleanCastNodeGen.executeBoolean(BooleanCastNodeGen.java:57)
    11. org.jruby.truffle.language.control.WhileNode$WhileRepeatingNode.executeRepeating(WhileNode.java:82)
    11 frames
  6. com.oracle.truffle
    DefaultLoopNode.executeLoop
    1. com.oracle.truffle.api.impl.DefaultLoopNode.executeLoop(DefaultLoopNode.java:46)
    1 frame
  7. org.jruby.truffle
    RubyRootNode.execute
    1. org.jruby.truffle.language.control.WhileNode.execute(WhileNode.java:46)
    2. org.jruby.truffle.language.methods.CatchBreakNode.execute(CatchBreakNode.java:37)
    3. org.jruby.truffle.language.RubyNode.executeVoid(RubyNode.java:50)
    4. org.jruby.truffle.language.control.SequenceNode.execute(SequenceNode.java:33)
    5. org.jruby.truffle.language.methods.CatchNextNode.execute(CatchNextNode.java:33)
    6. org.jruby.truffle.language.methods.CatchReturnAsErrorNode.execute(CatchReturnAsErrorNode.java:34)
    7. org.jruby.truffle.language.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:34)
    8. org.jruby.truffle.language.control.SequenceNode.execute(SequenceNode.java:36)
    9. org.jruby.truffle.language.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:47)
    10. org.jruby.truffle.language.exceptions.TopLevelRaiseHandler.execute(TopLevelRaiseHandler.java:42)
    11. org.jruby.truffle.language.RubyRootNode.execute(RubyRootNode.java:51)
    11 frames
  8. com.oracle.truffle
    DefaultIndirectCallNode.call
    1. com.oracle.truffle.api.impl.DefaultCallTarget.callDirectOrIndirect(DefaultCallTarget.java:63)
    2. com.oracle.truffle.api.impl.DefaultIndirectCallNode.call(DefaultIndirectCallNode.java:38)
    2 frames
  9. org.jruby.truffle
    TruffleBootNodesFactory$RunJRubyRootNodeFactory$RunJRubyRootNodeGen$BaseNode_.acceptAndExecute
    1. org.jruby.truffle.language.loader.CodeLoader$DeferredCall.call(CodeLoader.java:110)
    2. org.jruby.truffle.language.TruffleBootNodes$RunJRubyRootNode.runJRubyRootNode(TruffleBootNodes.java:120)
    3. org.jruby.truffle.language.TruffleBootNodesFactory$RunJRubyRootNodeFactory$RunJRubyRootNodeGen$RunJRubyRootNodeNode_.execute(TruffleBootNodesFactory.java:342)
    4. org.jruby.truffle.language.TruffleBootNodesFactory$RunJRubyRootNodeFactory$RunJRubyRootNodeGen$BaseNode_.acceptAndExecute(TruffleBootNodesFactory.java:296)
    4 frames
  10. com.oracle.truffle
    SpecializationNode.uninitialized
    1. com.oracle.truffle.api.dsl.internal.SpecializationNode.uninitialized(SpecializationNode.java:389)
    1 frame
  11. org.jruby.truffle
    RubyRootNode.execute
    1. org.jruby.truffle.language.TruffleBootNodesFactory$RunJRubyRootNodeFactory$RunJRubyRootNodeGen$UninitializedNode_.execute(TruffleBootNodesFactory.java:322)
    2. org.jruby.truffle.language.TruffleBootNodesFactory$RunJRubyRootNodeFactory$RunJRubyRootNodeGen.execute(TruffleBootNodesFactory.java:255)
    3. org.jruby.truffle.language.control.SequenceNode.execute(SequenceNode.java:36)
    4. org.jruby.truffle.language.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:47)
    5. org.jruby.truffle.language.RubyRootNode.execute(RubyRootNode.java:51)
    5 frames
  12. com.oracle.truffle
    DefaultDirectCallNode.call
    1. com.oracle.truffle.api.impl.DefaultCallTarget.callDirectOrIndirect(DefaultCallTarget.java:63)
    2. com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:44)
    2 frames
  13. org.jruby.truffle
    RubyRootNode.execute
    1. org.jruby.truffle.language.dispatch.CachedDispatchNode.call(CachedDispatchNode.java:100)
    2. org.jruby.truffle.language.dispatch.CachedSingletonDispatchNode.executeDispatch(CachedSingletonDispatchNode.java:89)
    3. org.jruby.truffle.language.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:98)
    4. org.jruby.truffle.language.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:46)
    5. org.jruby.truffle.language.dispatch.RubyCallNode.executeWithArgumentsEvaluated(RubyCallNode.java:107)
    6. org.jruby.truffle.language.dispatch.RubyCallNode.execute(RubyCallNode.java:96)
    7. org.jruby.truffle.language.control.SequenceNode.execute(SequenceNode.java:36)
    8. org.jruby.truffle.language.methods.CatchNextNode.execute(CatchNextNode.java:33)
    9. org.jruby.truffle.language.methods.CatchReturnAsErrorNode.execute(CatchReturnAsErrorNode.java:34)
    10. org.jruby.truffle.language.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:34)
    11. org.jruby.truffle.language.RubyRootNode.execute(RubyRootNode.java:51)
    11 frames
  14. com.oracle.truffle
    DefaultDirectCallNode.call
    1. com.oracle.truffle.api.impl.DefaultCallTarget.callDirectOrIndirect(DefaultCallTarget.java:63)
    2. com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:44)
    2 frames
  15. org.jruby.truffle
    LazyRubyRootNode.execute
    1. org.jruby.truffle.language.LazyRubyRootNode.execute(LazyRubyRootNode.java:91)
    1 frame
  16. com.oracle.truffle
    PolyglotEngine.eval
    1. com.oracle.truffle.api.impl.DefaultCallTarget.callDirectOrIndirect(DefaultCallTarget.java:63)
    2. com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:44)
    3. com.oracle.truffle.api.vm.PolyglotEngine$PolyglotEvalRootNode.executeImpl(PolyglotEngine.java:767)
    4. com.oracle.truffle.api.vm.PolyglotEngine$PolyglotRootNode.execute(PolyglotEngine.java:729)
    5. com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:77)
    6. com.oracle.truffle.api.vm.PolyglotEngine.evalImpl(PolyglotEngine.java:548)
    7. com.oracle.truffle.api.vm.PolyglotEngine.evalImpl(PolyglotEngine.java:528)
    8. com.oracle.truffle.api.vm.PolyglotEngine.eval(PolyglotEngine.java:469)
    8 frames
  17. org.jruby.truffle
    JRubyTruffleImpl.execute
    1. org.jruby.truffle.JRubyTruffleImpl.execute(JRubyTruffleImpl.java:46)
    1 frame
  18. JRuby Main Maven Artifact
    Main.main
    1. org.jruby.Ruby.runFromMain(Ruby.java:563)
    2. org.jruby.Main.doRunFromMain(Main.java:425)
    3. org.jruby.Main.internalRun(Main.java:313)
    4. org.jruby.Main.run(Main.java:242)
    5. org.jruby.Main.main(Main.java:204)
    5 frames