Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.1
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: C Extensions, Core Classes/Modules
-
Environment:OS: SunOS example.com 5.10 Generic_144489-01 i86pc i386 i86pc
Java: 1.6.0_24-b07 (32-bit), HotSpot VM: 19.1-b02, mixed mode
Weblogic: 10.30
JRuby:
-
Number of attachments :
Description
While trying to deploy a JRuby/Rails Application to a Weblogic 10.3 (Solaris Zone) container it always encounters this exception:
org.jruby.rack.RackInitializationException: library `fcntl' could not be loaded: java.lang.NullPointerException from /xyz/war/WEB-INF/gems/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /xyz/war/WEB-INF/gems/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `load_dependency' from /xyz/war/WEB-INF/gems/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:596:in `new_constants_in' from /xyz/war/WEB-INF/gems/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `load_dependency' from /xyz/war/WEB-INF/gems/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /xyz/war/WEB-INF/gems/gems/jruby-openssl-0.7.3/lib/openssl/ssl.rb:19:in `(root)' from org/jruby/RubyKernel.java:1038:in `require' [..snip...]
The java stacktrace (-Djruby.backtrace.style=raw) is:
35329 [JRuby-Rack-App-Init-1] ERROR jruby.rack - Error: unable to initialize application
org.jruby.rack.RackInitializationException: library `fcntl' could not be loaded: java.lang.NullPointerException
from org/jruby/runtime/backtrace/TraceType.java:48:in `getBacktraceData'
from org/jruby/runtime/backtrace/TraceType.java:26:in `getBacktrace'
from org/jruby/RubyException.java:160:in `prepareBacktrace'
from org/jruby/exceptions/RaiseException.java:203:in `preRaise'
from org/jruby/exceptions/RaiseException.java:193:in `preRaise'
from org/jruby/exceptions/RaiseException.java:110:in `<init>'
from org/jruby/Ruby.java:3290:in `newRaiseException'
from org/jruby/Ruby.java:3181:in `newLoadError'
from org/jruby/runtime/load/LoadService.java:418:in `reflectedLoad'
from org/jruby/ext/LateLoadingLibrary.java:48:in `load'
from org/jruby/runtime/load/LoadService.java:755:in `tryLoadingLibraryOrScript'
from org/jruby/runtime/load/LoadService.java:334:in `smartLoad'
from org/jruby/runtime/load/LoadService.java:381:in `require'
from org/jruby/runtime/load/LoadService.java:306:in `lockAndRequire'
from org/jruby/RubyKernel.java:1055:in `requireCommon'
from org/jruby/RubyKernel.java:1038:in `require'
from org/jruby/RubyKernel$s$1$0$require.gen:65535:in `call'
from org/jruby/internal/runtime/methods/JavaMethod.java:508:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/runtime/callsite/SuperCallSite.java:68:in `callBlock'
from org/jruby/runtime/callsite/SuperCallSite.java:75:in `call'
from org/jruby/ast/ZSuperNode.java:100:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/EnsureNode.java:96:in `interpret'
from org/jruby/ast/BeginNode.java:83:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/CallOneArgBlockNode.java:60:in `interpret'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/IfNode.java:117:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/RescueNode.java:216:in `executeBody'
from org/jruby/ast/RescueNode.java:120:in `interpretWithJavaExceptions'
from org/jruby/ast/RescueNode.java:110:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/FCallOneArgBlockNode.java:34:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:282:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:139:in `call'
from org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/RootNode.java:129:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:119:in `INTERPRET_ROOT'
from org/jruby/Ruby.java:698:in `runInterpreter'
from org/jruby/Ruby.java:2424:in `loadFile'
from org/jruby/runtime/load/ExternalScript.java:66:in `load'
from org/jruby/runtime/load/LoadService.java:755:in `tryLoadingLibraryOrScript'
from org/jruby/runtime/load/LoadService.java:334:in `smartLoad'
from org/jruby/runtime/load/LoadService.java:381:in `require'
from org/jruby/runtime/load/LoadService.java:306:in `lockAndRequire'
from org/jruby/RubyKernel.java:1055:in `requireCommon'
from org/jruby/RubyKernel.java:1038:in `require'
from org/jruby/RubyKernel$s$1$0$require.gen:65535:in `call'
from org/jruby/internal/runtime/methods/JavaMethod.java:508:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/runtime/callsite/SuperCallSite.java:68:in `callBlock'
from org/jruby/runtime/callsite/SuperCallSite.java:75:in `call'
from org/jruby/ast/ZSuperNode.java:100:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/EnsureNode.java:96:in `interpret'
from org/jruby/ast/BeginNode.java:83:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/CallOneArgBlockNode.java:60:in `interpret'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/IfNode.java:117:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/RescueNode.java:216:in `executeBody'
from org/jruby/ast/RescueNode.java:120:in `interpretWithJavaExceptions'
from org/jruby/ast/RescueNode.java:110:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/FCallOneArgBlockNode.java:34:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:282:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:139:in `call'
from org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/RootNode.java:129:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:119:in `INTERPRET_ROOT'
from org/jruby/Ruby.java:698:in `runInterpreter'
from org/jruby/Ruby.java:2424:in `loadFile'
from org/jruby/runtime/load/ExternalScript.java:66:in `load'
from org/jruby/runtime/load/LoadService.java:755:in `tryLoadingLibraryOrScript'
from org/jruby/runtime/load/LoadService.java:334:in `smartLoad'
from org/jruby/runtime/load/LoadService.java:381:in `require'
from org/jruby/runtime/load/LoadService.java:306:in `lockAndRequire'
from org/jruby/RubyKernel.java:1055:in `requireCommon'
from org/jruby/RubyKernel.java:1038:in `require'
from org/jruby/RubyKernel$s$1$0$require.gen:65535:in `call'
from org/jruby/internal/runtime/methods/JavaMethod.java:508:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/runtime/callsite/SuperCallSite.java:68:in `callBlock'
from org/jruby/runtime/callsite/SuperCallSite.java:75:in `call'
from org/jruby/ast/ZSuperNode.java:100:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/EnsureNode.java:96:in `interpret'
from org/jruby/ast/BeginNode.java:83:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/CallOneArgBlockNode.java:60:in `interpret'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/IfNode.java:117:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/RescueNode.java:216:in `executeBody'
from org/jruby/ast/RescueNode.java:120:in `interpretWithJavaExceptions'
from org/jruby/ast/RescueNode.java:110:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:292:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:148:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/FCallOneArgBlockNode.java:34:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:282:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:139:in `call'
from org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/RootNode.java:129:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:119:in `INTERPRET_ROOT'
from org/jruby/Ruby.java:698:in `runInterpreter'
from org/jruby/Ruby.java:2424:in `loadFile'
from org/jruby/runtime/load/ExternalScript.java:66:in `load'
from org/jruby/runtime/load/LoadService.java:755:in `tryLoadingLibraryOrScript'
from org/jruby/runtime/load/LoadService.java:334:in `smartLoad'
from org/jruby/runtime/load/LoadService.java:381:in `require'
from org/jruby/runtime/load/LoadService.java:306:in `lockAndRequire'
from org/jruby/RubyKernel.java:1055:in `requireCommon'
from org/jruby/RubyKernel.java:1038:in `require'
from org/jruby/RubyKernel$s$1$0$require.gen:65535:in `call'
from org/jruby/internal/runtime/methods/JavaMethod.java:508:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/runtime/callsite/SuperCallSite.java:68:in `callBlock'
from org/jruby/runtime/callsite/SuperCallSite.java:75:in `call'
from org/jruby/ast/ZSuperNode.java:100:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/EnsureNode.java:96:in `interpret'
from org/jruby/ast/BeginNode.java:83:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/CallOneArgBlockNode.java:60:in `interpret'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/IfNode.java:117:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/RescueNode.java:216:in `executeBody'
from org/jruby/ast/RescueNode.java:120:in `interpretWithJavaExceptions'
from org/jruby/ast/RescueNode.java:110:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/FCallOneArgBlockNode.java:34:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:137:in `call'
from org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:347:in `yield'
from org/jruby/runtime/InterpretedBlock.java:304:in `yield'
from org/jruby/runtime/Block.java:130:in `yield'
from org/jruby/RubyArray.java:1595:in `eachCommon'
from org/jruby/RubyArray.java:1602:in `each'
from org/jruby/RubyArray$i$0$0$each.gen:65535:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:272:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:114:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:123:in `callIter'
from org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:147:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:262:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:105:in `call'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/IfNode.java:117:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:328:in `yield'
from org/jruby/runtime/InterpretedBlock.java:367:in `yield'
from org/jruby/runtime/Block.java:141:in `yieldNonArray'
from org/jruby/RubyBasicObject.java:1747:in `yieldUnder'
from org/jruby/RubyBasicObject.java:2673:in `instance_exec'
from org/jruby/RubyKernel.java:2038:in `instance_exec'
from org/jruby/RubyKernel$s$0$3$instance_exec.gen:65535:in `call'
from org/jruby/internal/runtime/methods/DynamicMethod.java:209:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:292:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:148:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:152:in `call'
from org/jruby/ast/CallSpecialArgBlockPassNode.java:64:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:282:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:139:in `call'
from org/jruby/ast/CallSpecialArgNode.java:67:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:347:in `yield'
from org/jruby/runtime/InterpretedBlock.java:304:in `yield'
from org/jruby/runtime/Block.java:130:in `yield'
from org/jruby/RubyArray.java:1595:in `eachCommon'
from org/jruby/RubyArray.java:1602:in `each'
from org/jruby/RubyArray$i$0$0$each.gen:65535:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:272:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:114:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:123:in `callIter'
from org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:282:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:139:in `call'
from org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
from org/jruby/RubyClass.java:522:in `finvoke'
from org/jruby/RubyBasicObject.java:2746:in `send'
from org/jruby/RubyKernel.java:2052:in `send'
from org/jruby/RubyKernel$s$send.gen:65535:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:152:in `call'
from org/jruby/ast/CallSpecialArgBlockPassNode.java:64:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:120:in `call'
from org/jruby/javasupport/util/RuntimeHelpers.java:497:in `call'
from org/jruby/internal/runtime/methods/DynamicMethod.java:201:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:349:in `callMethodMissing'
from org/jruby/runtime/callsite/CachingCallSite.java:259:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:105:in `call'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/RootNode.java:129:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:119:in `INTERPRET_ROOT'
from org/jruby/Ruby.java:698:in `runInterpreter'
from org/jruby/Ruby.java:2424:in `loadFile'
from org/jruby/runtime/load/ExternalScript.java:66:in `load'
from org/jruby/runtime/load/LoadService.java:755:in `tryLoadingLibraryOrScript'
from org/jruby/runtime/load/LoadService.java:334:in `smartLoad'
from org/jruby/runtime/load/LoadService.java:381:in `require'
from org/jruby/runtime/load/LoadService.java:306:in `lockAndRequire'
from org/jruby/RubyKernel.java:1055:in `requireCommon'
from org/jruby/RubyKernel.java:1038:in `require'
from org/jruby/RubyKernel$s$1$0$require.gen:65535:in `call'
from org/jruby/internal/runtime/methods/JavaMethod.java:508:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/internal/runtime/methods/AliasMethod.java:101:in `call'
from org/jruby/runtime/callsite/SuperCallSite.java:68:in `callBlock'
from org/jruby/runtime/callsite/SuperCallSite.java:75:in `call'
from org/jruby/ast/ZSuperNode.java:100:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:295:in `yield'
from org/jruby/runtime/InterpretedBlock.java:229:in `yieldSpecific'
from org/jruby/runtime/Block.java:99:in `yieldSpecific'
from org/jruby/ast/ZYieldNode.java:25:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/EnsureNode.java:96:in `interpret'
from org/jruby/ast/BeginNode.java:83:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:146:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/CallOneArgBlockNode.java:60:in `interpret'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/IfNode.java:117:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/RescueNode.java:216:in `executeBody'
from org/jruby/ast/RescueNode.java:120:in `interpretWithJavaExceptions'
from org/jruby/ast/RescueNode.java:110:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:212:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:292:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:148:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:157:in `callIter'
from org/jruby/ast/FCallOneArgBlockNode.java:34:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:282:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:139:in `call'
from org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:147:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:262:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:105:in `call'
from org/jruby/ast/VCallNode.java:85:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:147:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:262:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:105:in `call'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:147:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:262:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:105:in `call'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:111:in `INTERPRET_BLOCK'
from org/jruby/runtime/InterpretedBlock.java:374:in `evalBlockBody'
from org/jruby/runtime/InterpretedBlock.java:328:in `yield'
from org/jruby/runtime/InterpretedBlock.java:367:in `yield'
from org/jruby/runtime/Block.java:141:in `yieldNonArray'
from org/jruby/RubyBasicObject.java:1787:in `yieldUnder'
from org/jruby/RubyBasicObject.java:1811:in `specificEval'
from org/jruby/RubyBasicObject.java:2632:in `instance_eval'
from org/jruby/RubyKernel.java:2021:in `instance_eval'
from org/jruby/RubyKernel$s$instance_eval.gen:65535:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:272:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:114:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:118:in `call'
from org/jruby/ast/FCallNoArgBlockPassNode.java:27:in `interpret'
from org/jruby/ast/IfNode.java:117:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:74:in `INTERPRET_METHOD'
from org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:272:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:114:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:118:in `call'
from org/jruby/RubyClass.java:792:in `newInstance'
from org/jruby/RubyClass$i$newInstance.gen:65535:in `call'
from org/jruby/runtime/callsite/CachingCallSite.java:272:in `cacheAndCall'
from org/jruby/runtime/callsite/CachingCallSite.java:114:in `callBlock'
from org/jruby/runtime/callsite/CachingCallSite.java:123:in `callIter'
from org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
from org/jruby/ast/CallNoArgNode.java:62:in `interpret'
from org/jruby/ast/CallOneArgNode.java:57:in `interpret'
from org/jruby/ast/NewlineNode.java:103:in `interpret'
from org/jruby/ast/BlockNode.java:71:in `interpret'
from org/jruby/ast/RootNode.java:129:in `interpret'
from org/jruby/evaluator/ASTInterpreter.java:119:in `INTERPRET_ROOT'
from org/jruby/Ruby.java:698:in `runInterpreter'
from org/jruby/Ruby.java:706:in `runInterpreter'
from org/jruby/Ruby.java:355:in `executeScript'
from org/jruby/rack/DefaultRackApplicationFactory.java:132:in `createRackServletWrapper'
from org/jruby/rack/rails/RailsRackApplicationFactory.java:22:in `createApplicationObject'
from org/jruby/rack/DefaultRackApplicationFactory.java:50:in `create'
from org/jruby/rack/DefaultRackApplicationFactory.java:221:in `init'
from org/jruby/rack/PoolingRackApplicationFactory.java:161:in `run'
from java/lang/Thread.java:662:in `run'
at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:224)
at org.jruby.rack.PoolingRackApplicationFactory$1.run(PoolingRackApplicationFactory.java:161)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.jruby.exceptions.RaiseException: (LoadError) library `fcntl' could not be loaded: java.lang.NullPointerException
It looks like it's unable to load `fcntl` then tries to throw an exception and then fails to throw an exception? Actually this is blocking our production server so far, I have no issues on other platforms (e.g. MacOS X) with the same JDK/WLS Stack.
Issue Links
- is duplicated by
-
JRUBY-6150
LoadError: library `fcntl' could not be loaded: java.lang.NullPointerException
-
Activity
Eugene Batogov
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | error.log [ 57328 ] |
Charles Oliver Nutter
made changes -
| Link |
This issue is duplicated by |
Charles Oliver Nutter
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Thomas E Enebo [ enebo ] | Charles Oliver Nutter [ headius ] |
| Resolution | Cannot Reproduce [ 5 ] |
Thomas E Enebo
made changes -
| Resolution | Cannot Reproduce [ 5 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Charles Oliver Nutter
made changes -
| Labels | ffi native solaris | |
| Fix Version/s | JRuby 1.7 [ 17049 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.7.0.pre2 [ 18527 ] | |
| Fix Version/s | JRuby 1.7.0.pre1 [ 17049 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.7.0.RC1 [ 18717 ] | |
| Fix Version/s | JRuby 1.7.0.pre2 [ 18527 ] |
Charles Oliver Nutter
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Fix Version/s | JRuby 1.7.0.pre2 [ 18527 ] | |
| Fix Version/s | JRuby 1.7.0.RC1 [ 18717 ] | |
| Resolution | Fixed [ 1 ] |
Can you try 'jruby -d -rfcntl -e 0' on the target machine?