karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2562) When running karaf under Java 1.8, once the console comes up to the shell, any command cause a NullPointException
Date Fri, 06 Dec 2013 14:04:35 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841283#comment-13841283
] 

Guillaume Nodet commented on KARAF-2562:
----------------------------------------

Just fwiw, I see 3 main uses of ASM: aries-proxy, jetty and pax-web (through xbean).
The first 2 ones are optional requirements and karaf should be able to work without ASM.
For pax-web/xbean, this dependency is not flagged as optional in the OSGi metadata, not sure
if it could be made optional.

Anyway, i've uninstalled asm and refreshed, and karaf seems to be working sanely (tested on
2.x though).


> 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
>             Fix For: 3.1.0
>
>
> 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