org.jruby.exceptions.RaiseException: (TypeError) cannot convert instance of class org.jruby.RubyString to class java.lang.Long at java.lang.Thread.getStackTrace(java/lang/Thread.java:1552) at org.jruby.runtime.backtrace.TraceType$Gather.getBacktraceData(org/jruby/runtime/backtrace/TraceType.java:246) at org.jruby.runtime.backtrace.TraceType.getBacktrace(org/jruby/runtime/backtrace/TraceType.java:47) at org.jruby.RubyException.prepareBacktrace(org/jruby/RubyException.java:235) at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:214) at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:181) at org.jruby.exceptions.RaiseException.<init>(org/jruby/exceptions/RaiseException.java:111) at org.jruby.Ruby.newRaiseException(org/jruby/Ruby.java:4192) at org.jruby.Ruby.newTypeError(org/jruby/Ruby.java:3865) at org.jruby.RubyBasicObject.defaultToJava(org/jruby/RubyBasicObject.java:872) at org.jruby.RubyBasicObject.toJava(org/jruby/RubyBasicObject.java:843) at org.jruby.RubyString.toJava(org/jruby/RubyString.java:5541) at org.jruby.embed.variable.AbstractVariable.getJavaObject(org/jruby/embed/variable/AbstractVariable.java:140) at org.jruby.embed.variable.GlobalVariable.getJavaObject(org/jruby/embed/variable/GlobalVariable.java:46) at org.jruby.embed.internal.BiVariableMap.get(org/jruby/embed/internal/BiVariableMap.java:229) at org.jruby.embed.internal.BiVariableMap.get(org/jruby/embed/internal/BiVariableMap.java:208) at org.jruby.embed.jsr223.Utils.postEval(org/jruby/embed/jsr223/Utils.java:207) at org.jruby.embed.jsr223.JRubyEngine.eval(org/jruby/embed/jsr223/JRubyEngine.java:95) at org.jruby.embed.jsr223.JRubyEngine.eval(org/jruby/embed/jsr223/JRubyEngine.java:142)

GitHub | dmac100 | 2 months ago
  1. 0

    Changing type of global variables gives TypeError

    GitHub | 2 months ago | dmac100
    org.jruby.exceptions.RaiseException: (TypeError) cannot convert instance of class org.jruby.RubyString to class java.lang.Long at java.lang.Thread.getStackTrace(java/lang/Thread.java:1552) at org.jruby.runtime.backtrace.TraceType$Gather.getBacktraceData(org/jruby/runtime/backtrace/TraceType.java:246) at org.jruby.runtime.backtrace.TraceType.getBacktrace(org/jruby/runtime/backtrace/TraceType.java:47) at org.jruby.RubyException.prepareBacktrace(org/jruby/RubyException.java:235) at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:214) at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:181) at org.jruby.exceptions.RaiseException.<init>(org/jruby/exceptions/RaiseException.java:111) at org.jruby.Ruby.newRaiseException(org/jruby/Ruby.java:4192) at org.jruby.Ruby.newTypeError(org/jruby/Ruby.java:3865) at org.jruby.RubyBasicObject.defaultToJava(org/jruby/RubyBasicObject.java:872) at org.jruby.RubyBasicObject.toJava(org/jruby/RubyBasicObject.java:843) at org.jruby.RubyString.toJava(org/jruby/RubyString.java:5541) at org.jruby.embed.variable.AbstractVariable.getJavaObject(org/jruby/embed/variable/AbstractVariable.java:140) at org.jruby.embed.variable.GlobalVariable.getJavaObject(org/jruby/embed/variable/GlobalVariable.java:46) at org.jruby.embed.internal.BiVariableMap.get(org/jruby/embed/internal/BiVariableMap.java:229) at org.jruby.embed.internal.BiVariableMap.get(org/jruby/embed/internal/BiVariableMap.java:208) at org.jruby.embed.jsr223.Utils.postEval(org/jruby/embed/jsr223/Utils.java:207) at org.jruby.embed.jsr223.JRubyEngine.eval(org/jruby/embed/jsr223/JRubyEngine.java:95) at org.jruby.embed.jsr223.JRubyEngine.eval(org/jruby/embed/jsr223/JRubyEngine.java:142)
  2. 0

    New exceptions being raised in java thread

    GitHub | 2 years ago | monkstone
    org.jruby.exceptions.RaiseException: (IOError) closed stream at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1308) at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1285)
  3. 0

    Is the isRole call properly propogated?

    GitHub | 2 years ago | ysb33r
    org.jruby.exceptions.RaiseException: (TypeError) cannot convert instance of class org.jruby.RubyString to boolean at org.jruby.gen.InterfaceImpl1017458621.isRole(org/jruby/gen/InterfaceImpl1017458621.gen:13)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    New exceptions being raised in java thread

    GitHub | 2 years ago | monkstone
    org.jruby.exceptions.RaiseException: (IOError) closed stream at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1422) at org.jruby.RubyKernel.p(org/jruby/RubyKernel.java:482)
  6. 0

    "(TypeError) requested class .. was not reifiable" in 9.1.6, worked in 9.1.5

    GitHub | 3 weeks ago | pilhuhn
    org.jruby.exceptions.RaiseException: (TypeError) requested class ChartViewController was not reifiable at org.jruby.java.addons.ClassJavaAddons.become_java!(org/jruby/java/addons/ClassJavaAddons.java:40)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jruby.exceptions.RaiseException

      (TypeError) cannot convert instance of class org.jruby.RubyString to class java.lang.Long at java.lang.Thread.getStackTrace(java/lang/Thread.java:1552) at org.jruby.runtime.backtrace.TraceType$Gather.getBacktraceData(org/jruby/runtime/backtrace/TraceType.java:246) at org.jruby.runtime.backtrace.TraceType.getBacktrace(org/jruby/runtime/backtrace/TraceType.java:47) at org.jruby.RubyException.prepareBacktrace(org/jruby/RubyException.java:235) at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:214) at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:181) at org.jruby.exceptions.RaiseException.<init>(org/jruby/exceptions/RaiseException.java:111) at org.jruby.Ruby.newRaiseException(org/jruby/Ruby.java:4192) at org.jruby.Ruby.newTypeError(org/jruby/Ruby.java:3865) at org.jruby.RubyBasicObject.defaultToJava(org/jruby/RubyBasicObject.java:872) at org.jruby.RubyBasicObject.toJava(org/jruby/RubyBasicObject.java:843) at org.jruby.RubyString.toJava(org/jruby/RubyString.java:5541) at org.jruby.embed.variable.AbstractVariable.getJavaObject(org/jruby/embed/variable/AbstractVariable.java:140) at org.jruby.embed.variable.GlobalVariable.getJavaObject(org/jruby/embed/variable/GlobalVariable.java:46) at org.jruby.embed.internal.BiVariableMap.get(org/jruby/embed/internal/BiVariableMap.java:229) at org.jruby.embed.internal.BiVariableMap.get(org/jruby/embed/internal/BiVariableMap.java:208) at org.jruby.embed.jsr223.Utils.postEval(org/jruby/embed/jsr223/Utils.java:207) at org.jruby.embed.jsr223.JRubyEngine.eval(org/jruby/embed/jsr223/JRubyEngine.java:95) at org.jruby.embed.jsr223.JRubyEngine.eval(org/jruby/embed/jsr223/JRubyEngine.java:142)

      at Main.main()
    2. Unknown
      Main.main
      1. Main.main(Main.java:10)
      1 frame