[ODLPARENT-249] Karaf wrapper:install fails Created: 16/Dec/20  Updated: 05/Apr/21

Status: Open
Project: odlparent
Component/s: Karaf
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Eric Sender Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I recently upgraded my Opendaylight from 0.11.x 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, I get this:

 

[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)

 

The previous version of Karaf I was using, 4.2.2 (Using Sodium 0.11.x), did not have this issue. It set up my new services and all was fine. 

 

I confirmed this was not related to Karaf: https://issues.apache.org/jira/browse/KARAF-6964

 

 

 



 Comments   
Comment by Eric Sender [ 17/Dec/20 ]

rovarga - I found this while working my other issue NETCONF-748 but not related. 

Comment by Eric Sender [ 05/Apr/21 ]

FYI - I just tried this on 0.13.3 and the issue is still present. 

Generated at Wed Feb 07 20:28:01 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.