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

Command "shell wrapper:install" fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.1
    • 4.2.2
    • karaf
    • centos 7 and mac high sierra 

    Description

      The latest release appears to have regressed calling the wrapper:install command from the shell

      {15:55}~/Downloads/apache-karaf-4.2.1/bin ➭ ./shell wrapper:install
      shell: Enabling Java debug options: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
      Listening for transport dt_socket at address: 5005
      Exception in thread "main" java.lang.NullPointerException: "in" is null!
      at java.nio.channels.Channels.checkNotNull(Channels.java:67)
      at java.nio.channels.Channels.newChannel(Channels.java:347)
      at org.apache.felix.gogo.runtime.CommandSessionImpl.<init>(CommandSessionImpl.java:109)
      at org.apache.felix.gogo.runtime.CommandProcessorImpl.createSession(CommandProcessorImpl.java:84)
      at org.apache.felix.gogo.runtime.CommandProcessorImpl.createSession(CommandProcessorImpl.java:40)
      at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.<init>(ConsoleSessionImpl.java:157)
      at org.apache.karaf.shell.impl.console.SessionFactoryImpl.create(SessionFactoryImpl.java:159)
      at org.apache.karaf.shell.impl.console.standalone.Main.createSession(Main.java:175)
      at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:138)
      at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:131)
      at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:74)
      at org.apache.karaf.shell.impl.console.standalone.Main.main(Main.java:56)

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            ryeats Ryan Yeats
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: