karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1541) jaas:realm-manage raises a NullPointerException
Date Sun, 23 Sep 2012 19:55:07 GMT

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

Jean-Baptiste Onofré commented on KARAF-1541:
---------------------------------------------

Fixed on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1389132
                
> jaas:realm-manage raises a NullPointerException
> -----------------------------------------------
>
>                 Key: KARAF-1541
>                 URL: https://issues.apache.org/jira/browse/KARAF-1541
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.7, 2.3.0, 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.3.0, 3.0.0
>
>
> With Karaf 3.0.0, when performing:
> jaas:realm-manage --realm karaf
> we get:
> java.lang.NullPointerException
>         at org.apache.karaf.jaas.command.JaasCommandSupport.findEntryByRealmAndName(JaasCommandSupport.java:96)
>         at org.apache.karaf.jaas.command.ManageRealmCommand.doExecute(ManageRealmCommand.java:60)
>         at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
>         at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
>         at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_26]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_26]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_26]
>         at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_26]
>         at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
>         at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
>         at org.apache.karaf.shell.console.commands.$BlueprintCommand316217735.execute(Unknown
Source)
>         at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
>         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_26]
>         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_26]
>         at javax.security.auth.Subject.doAs(Subject.java:337)[:1.6.0_26]
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message