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

Scott Parkerson commented on KARAF-1547:
----------------------------------------

FWIW, I didn't experience the problem with Karaf commands when using Fuse ESB 
(based on Karaf 2.2.5), but I did have problems with Aries Blueprint when I 
tried to instantiate some of our own beans as an OSGi service.

Workaround for me was to remove the Aries Proxy 0.3 bundle shipped with Fuse 
ESB and install Aries Proxy 0.3.1. After I did that and restarted the 
container, the problem was resolved for me.
                
> NullpointerException when running commands on jdk 6 update 33 or jdk 7 update 
> 5
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-1547
>                 URL: https://issues.apache.org/jira/browse/KARAF-1547
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.8, 2.3.0, 3.0.0
>            Reporter: Christian Schneider
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 2.2.9, 2.3.0, 3.0.0
>
>         Attachments: KARAF-1547.patch
>
>
> 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]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to