You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/06 09:03:00 UTC

[jira] [Commented] (KARAF-6964) Running bin/shell wrapper:install bug

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

ASF subversion and git services commented on KARAF-6964:
--------------------------------------------------------

Commit bfefdbe18d618689bc19313b95a8b898e057c3b9 in karaf's branch refs/heads/karaf-4.2.x from jbonofre
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=bfefdbe ]

[KARAF-6964] Prevent NPE if MANIFEST doesn't exist in Main

(cherry picked from commit 94697949b9fad9a598bb762b9ecd7fcdebb6f34a)


> Running bin/shell wrapper:install bug
> -------------------------------------
>
>                 Key: KARAF-6964
>                 URL: https://issues.apache.org/jira/browse/KARAF-6964
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.9
>         Environment: CentOS 7
> Java 11
>            Reporter: Eric K. Sender
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
>  
> I recently upgraded my Opendaylight from 0.11.0 to 0.13.1 which uses Karaf 4.2.9
> Part of my steps is setting up a systemd service, but when I run the install step as noted [here|https://karaf.apache.org/manual/latest/#_service_wrapper], I get this:
>  
>  
> {code:java}
> [root@localhost opendaylight]# bin/shell wrapper:install
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.karaf.shell.impl.console.standalone.Main.getJarsInJars(Main.java:157)
>         at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:137)
>         at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:82)
>         at org.apache.karaf.shell.impl.console.standalone.Main.main(Main.java:64)
> {code}
>  
> The previous version of Karaf I was using, 4.2.2, did not have this issue. It set up my new services and all was fine.
>  
> I don't necessarily think this error is related to `wrapper:install`. I think there is a bug in the logic of `bin\shell` or in the Java code that it calls. 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)