Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via sonarsource.com by Unknown author, 2 years ago
via GitHub by radhanandan
, 2 years ago
java.lang.NullPointerException
via GitHub by radhanandan
, 2 years ago
java.lang.NullPointerException
org.jruby.rack.RackInitializationException: java.lang.NullPointerException at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:31)[jruby-rack-1.1.13.2.jar:na] at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:98)[jruby-rack-1.1.13.2.jar:na] at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)[jruby-rack-1.1.13.2.jar:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)[tomcat-embed-core-7.0.42.jar:7.0.42] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)[tomcat-embed-core-7.0.42.jar:7.0.42] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[tomcat-embed-core-7.0.42.jar:7.0.42] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)[tomcat-embed-core-7.0.42.jar:7.0.42] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)[tomcat-embed-core-7.0.42.jar:7.0.42] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_65] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)[na:1.6.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)[na:1.6.0_65] at java.lang.Thread.run(Thread.java:695)[na:1.6.0_65]Caused by: java.lang.NullPointerException: null at org.sonar.server.ui.JRubyFacade.get(JRubyFacade.java:85)[sonar-server-4.5-SNAPSHOT.jar:na] at org.sonar.server.ui.JRubyFacade.getServerHome(JRubyFacade.java:372)[sonar-server-4.5-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_65] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_65] at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:440)[jruby-complete-1.7.9.jar:na] at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:304)[jruby-complete-1.7.9.jar:na] at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:52)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:306)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:136)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:60)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.DNode.appendToString(DNode.java:70)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.DNode.buildDynamicString(DNode.java:88)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.DNode.interpret(DNode.java:36)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[jruby-complete-1.7.9.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:384)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:357)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:312)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.Block.yield(Block.java:142)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.YieldNode.interpret(YieldNode.java:119)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:116)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[jruby-complete-1.7.9.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:161)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:190)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:316)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:145)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.RootNode.interpret(RootNode.java:129)[jruby-complete-1.7.9.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)[jruby-complete-1.7.9.jar:na] at org.jruby.Ruby.runInterpreter(Ruby.java:838)[jruby-complete-1.7.9.jar:na] at org.jruby.Ruby.loadFile(Ruby.java:2727)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.load.LoadService.load(LoadService.java:359)[jruby-complete-1.7.9.jar:na] at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1107)[jruby-complete-1.7.9.jar:na] at org.jruby.RubyKernel.load(RubyKernel.java:1094)[jruby-complete-1.7.9.jar:na] at org.jruby.RubyKernel$INVOKER$s$0$1$load.call(RubyKernel$INVOKER$s$0$1$load.gen)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:210)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[jruby-complete-1.7.9.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:182)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:306)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:136)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:60)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)[jruby-complete-1.7.9.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[jruby-complete-1.7.9.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:182)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:306)[jruby-complete-1.7.9.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:136)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:60)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)[jruby-complete-1.7.9.jar:na] at org.jruby.ast.RootNode.interpret(RootNode.java:129)[jruby-complete-1.7.9.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)[jruby-complete-1.7.9.jar:na] at org.jruby.Ruby.evalScriptlet(Ruby.java:419)[jruby-complete-1.7.9.jar:na] at org.jruby.Ruby.evalScriptlet(Ruby.java:396)[jruby-complete-1.7.9.jar:na] at org.jruby.rack.rails.RailsRackApplicationFactory.createApplicationObject(RailsRackApplicationFactory.java:22)[jruby-rack-1.1.13.2.jar:na] at org.jruby.rack.DefaultRackApplicationFactory$1.create(DefaultRackApplicationFactory.java:98)[jruby-rack-1.1.13.2.jar:na] at org.jruby.rack.DefaultRackApplicationFactory$RackApplicationImpl.init(DefaultRackApplicationFactory.java:420)[jruby-rack-1.1.13.2.jar:na] at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:111)[jruby-rack-1.1.13.2.jar:na] at org.jruby.rack.SharedRackApplicationFactory.doInit(SharedRackApplicationFactory.java:31)[jruby-rack-1.1.13.2.jar:na] at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:94)[jruby-rack-1.1.13.2.jar:na] ... 11 more