java.lang.NullPointerException: null

Sonatype JIRA | Peter Lynch | 2 years ago
  1. 0

    ./nexus console after startup and logging stops. press Enter and then tab key then... {noformat} karaf@root()> *:exit *:help cl exit halt help la ld lde log:list ls man karaf@root()> la 2014-08-07 11:01:19,534-0300 ERROR [Karaf Console Local user karaf] org.apache.karaf.shell.util.ShellUtil - Exception caught while executing command java.lang.NullPointerException: null at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:61) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) [org.apache.karaf.shell.console:3.0.1] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) [org.apache.karaf.shell.console:3.0.1] at org.apache.karaf.shell.console.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:521) [org.apache.karaf.shell.console:3.0.1] at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:212) [org.apache.karaf.shell.console:3.0.1] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_11] at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:126) [org.apache.karaf.shell.console:3.0.1] at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:117) [org.apache.karaf.shell.console:3.0.1] at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_11] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47) [org.apache.karaf.jaas.modules:3.0.1] at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:115) [org.apache.karaf.shell.console:3.0.1] Error executing command: java.lang.NullPointerException {noformat}

    Sonatype JIRA | 2 years ago | Peter Lynch
    java.lang.NullPointerException: null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Start fresh karaf 3 Karaf seems to come up fine but when you enter any command you get: 2012-06-14 14:15:33,306 | INFO | Thread-8 | Console | 39 - org.apache.karaf.shell.console - 3.0.0.SNAPSHOT | Exception caught while executing command java.lang.NullPointerException at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:61) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:169) at java.lang.Thread.run(Thread.java:662)[:1.6.0_33] at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:87)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT] at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:78) at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_33] at javax.security.auth.Subject.doAs(Subject.java:337)[:1.6.0_33] at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:76)[39:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]

    Apache's JIRA Issue Tracker | 4 years ago | Christian Schneider
    java.lang.NullPointerException

    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. java.lang.NullPointerException

      null

      at org.apache.felix.gogo.runtime.Reflective.invoke()
    2. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:61)[org.apache.karaf.shell.console:3.0.1]
      2. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)[org.apache.karaf.shell.console:3.0.1]
      3. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[org.apache.karaf.shell.console:3.0.1]
      4. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[org.apache.karaf.shell.console:3.0.1]
      5. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[org.apache.karaf.shell.console:3.0.1]
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[org.apache.karaf.shell.console:3.0.1]
      7. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[org.apache.karaf.shell.console:3.0.1]
      8. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[org.apache.karaf.shell.console:3.0.1]
      9. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[org.apache.karaf.shell.console:3.0.1]
      10. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[org.apache.karaf.shell.console:3.0.1]
      11. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[org.apache.karaf.shell.console:3.0.1]
      12. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[org.apache.karaf.shell.console:3.0.1]
      13. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[org.apache.karaf.shell.console:3.0.1]
      13 frames
    3. Apache Karaf :: Shell :: Console
      ConsoleImpl.run
      1. org.apache.karaf.shell.console.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:521)[org.apache.karaf.shell.console:3.0.1]
      2. org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:212)[org.apache.karaf.shell.console:3.0.1]
      2 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_11]
      1 frame
    5. Apache Karaf :: Shell :: Console
      ConsoleFactoryService$3$1.run
      1. org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:126)[org.apache.karaf.shell.console:3.0.1]
      2. org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:117)[org.apache.karaf.shell.console:3.0.1]
      2 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_11]
      1 frame
    7. Karaf
      JaasHelper.doAs
      1. org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[org.apache.karaf.jaas.modules:3.0.1]
      1 frame
    8. Apache Karaf :: Shell :: Console
      ConsoleFactoryService$3.run
      1. org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:115)[org.apache.karaf.shell.console:3.0.1]
      1 frame