Skip to content

Instantly share code, notes, and snippets.

@boc-tothefuture
Created November 16, 2020 17:08
Show Gist options
  • Save boc-tothefuture/0900f209e4c4ac61212bfbc86056895b to your computer and use it in GitHub Desktop.
Save boc-tothefuture/0900f209e4c4ac61212bfbc86056895b to your computer and use it in GitHub Desktop.
Exception `NameError' at java/lang/Thread.java:1607 - cannot load Java class org.openhab.core.thing.internal.ThingImpl
Exception `NameError' at java/lang/Thread.java:1607 - cannot load Java class org.openhab.core.thing.internal.ThingImpl
Exception `NameError' at java/lang/Thread.java:1607 - cannot load Java class org.openhab.core.thing.internal.ThingImpl
NameError: cannot load Java class org.openhab.core.thing.internal.ThingImpl
getStackTrace at java/lang/Thread.java:1607
getBacktraceData at org/jruby/runtime/backtrace/TraceType.java:242
getBacktrace at org/jruby/runtime/backtrace/TraceType.java:53
captureBacktrace at org/jruby/RubyException.java:371
preRaise at org/jruby/exceptions/RaiseException.java:115
<init> at org/jruby/exceptions/RaiseException.java:65
<init> at org/jruby/exceptions/Exception.java:38
<init> at org/jruby/exceptions/StandardError.java:38
<init> at org/jruby/exceptions/NameError.java:38
constructThrowable at org/jruby/RubyNameError.java:183
toThrowable at org/jruby/RubyException.java:349
newNameError at org/jruby/Ruby.java:3921
newNameError at org/jruby/Ruby.java:3950
loadJavaClassVerbose at org/jruby/javasupport/JavaSupportImpl.java:168
forNameVerbose at org/jruby/javasupport/JavaClass.java:273
defineClassUnder at org/jruby/javasupport/JavaPackage.java:309
searchProvidersForClass at org/jruby/RubyModule.java:428
defineOrGetClassUnder at org/jruby/RubyModule.java:2038
defineOrGetClassUnder at org/jruby/RubyModule.java:2015
newRubyClassFromIR at org/jruby/ir/runtime/IRRuntimeHelpers.java:1512
interpret at org/jruby/ir/instructions/DefineClassInstr.java:74
processOtherOp at org/jruby/ir/interpreter/StartupInterpreterEngine.java:178
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:104
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:96
<main> at /Users/user@nowhere.com/personal/openhab-3/conf/automation/lib/ruby/core/dsl/monkey_patch/things.rb:14
execute at org/jruby/ir/interpreter/Interpreter.java:81
execute at org/jruby/ir/interpreter/Interpreter.java:30
execute at org/jruby/ir/IRTranslator.java:42
runInterpreter at org/jruby/Ruby.java:1218
loadFile at org/jruby/Ruby.java:2785
load at org/jruby/runtime/load/LibrarySearcher.java:234
load at org/jruby/runtime/load/LibrarySearcher.java:34
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:887
smartLoadInternal at org/jruby/runtime/load/LoadService.java:535
require at org/jruby/runtime/load/LoadService.java:402
requireCommon at org/jruby/RubyKernel.java:981
require at org/jruby/RubyKernel.java:974
call at org/jruby/RubyKernel$INVOKER$s$1$0$require.gen:-1
call at org/jruby/internal/runtime/methods/JavaMethod.java:417
call at org/jruby/internal/runtime/methods/AliasMethod.java:97
call at org/jruby/runtime/callsite/CachingCallSite.java:172
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:316
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:72
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:86
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:156
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:143
call at org/jruby/internal/runtime/methods/DynamicMethod.java:200
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:375
call at org/jruby/runtime/callsite/CachingCallSite.java:174
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:316
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:72
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:96
<main> at /Users/user@nowhere.com/personal/openhab-3/conf/automation/lib/ruby/core/dsl.rb:7
execute at org/jruby/ir/interpreter/Interpreter.java:81
execute at org/jruby/ir/interpreter/Interpreter.java:30
execute at org/jruby/ir/IRTranslator.java:42
runInterpreter at org/jruby/Ruby.java:1218
loadFile at org/jruby/Ruby.java:2785
load at org/jruby/runtime/load/LibrarySearcher.java:234
load at org/jruby/runtime/load/LibrarySearcher.java:34
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:887
smartLoadInternal at org/jruby/runtime/load/LoadService.java:535
require at org/jruby/runtime/load/LoadService.java:402
requireCommon at org/jruby/RubyKernel.java:981
require at org/jruby/RubyKernel.java:974
call at org/jruby/RubyKernel$INVOKER$s$1$0$require.gen:-1
call at org/jruby/internal/runtime/methods/JavaMethod.java:417
call at org/jruby/internal/runtime/methods/AliasMethod.java:97
call at org/jruby/runtime/callsite/CachingCallSite.java:172
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:316
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:72
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:86
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:156
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:143
call at org/jruby/internal/runtime/methods/DynamicMethod.java:200
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:375
call at org/jruby/runtime/callsite/CachingCallSite.java:174
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:316
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:72
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:96
<main> at /Users/user@nowhere.com/personal/openhab-3/conf/automation/lib/ruby/openhab.rb:9
execute at org/jruby/ir/interpreter/Interpreter.java:81
execute at org/jruby/ir/interpreter/Interpreter.java:30
execute at org/jruby/ir/IRTranslator.java:42
runInterpreter at org/jruby/Ruby.java:1218
loadFile at org/jruby/Ruby.java:2785
load at org/jruby/runtime/load/LibrarySearcher.java:234
load at org/jruby/runtime/load/LibrarySearcher.java:34
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:887
smartLoadInternal at org/jruby/runtime/load/LoadService.java:535
require at org/jruby/runtime/load/LoadService.java:402
requireCommon at org/jruby/RubyKernel.java:981
require at org/jruby/RubyKernel.java:974
call at org/jruby/RubyKernel$INVOKER$s$1$0$require.gen:-1
call at org/jruby/internal/runtime/methods/JavaMethod.java:417
call at org/jruby/internal/runtime/methods/AliasMethod.java:97
call at org/jruby/runtime/callsite/CachingCallSite.java:172
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:316
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:72
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:86
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:156
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:143
call at org/jruby/internal/runtime/methods/DynamicMethod.java:200
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:375
call at org/jruby/runtime/callsite/CachingCallSite.java:174
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:316
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:72
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:96
<main> at <script>:3
execute at org/jruby/ir/interpreter/Interpreter.java:81
execute at org/jruby/ir/interpreter/Interpreter.java:30
execute at org/jruby/ir/IRTranslator.java:42
runInterpreter at org/jruby/Ruby.java:1240
runInterpreter at org/jruby/Ruby.java:1244
run at org/jruby/embed/internal/EmbedEvalUnitImpl.java:118
eval at org/jruby/embed/jsr223/JRubyEngine.java:118
eval at org/jruby/embed/jsr223/JRubyEngine.java:146
loadScript at org/openhab/core/automation/module/script/internal/ScriptEngineManagerImpl.java:152
importFile at org/openhab/core/automation/module/script/rulesupport/internal/loader/ScriptFileWatcher.java:182
checkFiles at org/openhab/core/automation/module/script/rulesupport/internal/loader/ScriptFileWatcher.java:288
call at java/util/concurrent/Executors.java:515
runAndReset at java/util/concurrent/FutureTask.java:305
run at java/util/concurrent/ScheduledThreadPoolExecutor.java:305
runWorker at java/util/concurrent/ThreadPoolExecutor.java:1128
run at java/util/concurrent/ThreadPoolExecutor.java:628
run at java/lang/Thread.java:834
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment