Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6964

Running bin/shell wrapper:install bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.9
    • 4.2.12, 4.3.2
    • karaf
    • None
    • CentOS 7

      Java 11

    Description

       

      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, 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, 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. 

       

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            esend7881 Eric K. Sender
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: