karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Whyte (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2562) When running karaf under Java 1.8, once the console comes up to the shell, any command cause a NullPointException
Date Sat, 09 Nov 2013 21:04:17 GMT
Steven Whyte created KARAF-2562:
-----------------------------------

             Summary: When running karaf under Java 1.8, once the console comes up to the
shell, any command cause a NullPointException
                 Key: KARAF-2562
                 URL: https://issues.apache.org/jira/browse/KARAF-2562
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 3.0.0.RC1
         Environment: ARM / Linux
            Reporter: Steven Whyte


When trying to execute a shell command, get a  _Error executing command: java.lang.NullPointerException_
. 

In the logs the following error is thrown:

{code:title=NullPointerException}
2000-01-02 06:17:54,869 | ERROR | Local user karaf | ShellUtil                        | 40
- 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)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
	at org.apache.karaf.shell.console.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:484)
	at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:192)
	at java.lang.Thread.run(Thread.java:724)[:1.8.0-ea]
	at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:109)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
	at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:100)
	at java.security.AccessController.doPrivileged(Native Method)[:1.8.0-ea]
	at javax.security.auth.Subject.doAs(Subject.java:360)[:1.8.0-ea]
	at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:98)[40:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message