java.lang.NullPointerException: null > at org.sonar.server.platform.Platform.getContainer(Platform.java:282) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.getContainer(JRubyFacade.java:342) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.get(JRubyFacade.java:82) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.getDatabase(JRubyFacade.java:213) > ~[sonar-server-5.3.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_101] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[na:1.8.0_101] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.8.0_101] > at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] > at > org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:440)

Google Groups | priyadershi peter | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    OpenId plugin not getting invoked

    Google Groups | 7 months ago | priyadershi peter
    java.lang.NullPointerException: null > at org.sonar.server.platform.Platform.getContainer(Platform.java:282) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.getContainer(JRubyFacade.java:342) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.get(JRubyFacade.java:82) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.getDatabase(JRubyFacade.java:213) > ~[sonar-server-5.3.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_101] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[na:1.8.0_101] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.8.0_101] > at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] > at > org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:440)
  2. 0

    java.lang.IllegalStateException: Can not connect to database. Please check connectivity and settings (see the properties prefixed by 'sonar.jdbc.').

    Google Groups | 10 months ago | Unknown author
    java.lang.NullPointerException: null > at org.sonar.server.ui.JRubyFacade.get(JRubyFacade.java:84) > ~[sonar-server-4.5.7.jar:na] > at org.sonar.server.ui.JRubyFacade.getDatabase(JRubyFacade.java:238) > ~[sonar-server-4.5.7.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_77] > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > ~[na:1.8.0_77] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > ~[na:1.8.0_77] > at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_77] > at > org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:440)

    Root Cause Analysis

    1. java.lang.NullPointerException

      null > at org.sonar.server.platform.Platform.getContainer(Platform.java:282) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.getContainer(JRubyFacade.java:342) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.get(JRubyFacade.java:82) > ~[sonar-server-5.3.jar:na] > at org.sonar.server.ui.JRubyFacade.getDatabase(JRubyFacade.java:213) > ~[sonar-server-5.3.jar:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_101] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[na:1.8.0_101] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.8.0_101] > at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] > at > org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:440)

      at org.jruby.javasupport.JavaMethod.invokeDirect()
    2. JRuby Main Maven Artifact
      JavaMethod.invokeDirect
      1. org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:304)
      1 frame