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

Unable to create Karaf Cave 4.0.0 Kar file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • cave-4.0.0, 4.0.5
    • cave-4.1.0, 4.1.5, 4.2.0.M2
    • cave, karaf
    • None
    • Karaf 4.0.5 and Karaf Cave 4.0.0

    Description

      Unable to create a kar file from Karaf Cava 4.0.0 using kar:create command

      java.lang.RuntimeException: Error creating kar: Illegal character in scheme name at index 0:
      mvn:org.apache.karaf.cave/apache-karaf-cave/4.0.0/cfg/filesystem

      at org.apache.karaf.kar.internal.KarServiceImpl.create(KarServiceImpl.java:332)[37:org.apache.karaf.kar.core:4.0.5]
      at org.apache.karaf.kar.command.CreateKarCommand.execute(CreateKarCommand.java:46)[37:org.apache.karaf.kar.core:4.0.5]
      at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5]
      at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.5]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
      Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0:
      mvn:org.apache.karaf.cave/apache-karaf-cave/4.0.0/cfg/filesystem

      at java.net.URI$Parser.fail(URI.java:2848)[:1.8.0_60]
      at java.net.URI$Parser.checkChars(URI.java:3021)[:1.8.0_60]
      at java.net.URI$Parser.checkChar(URI.java:3031)[:1.8.0_60]
      at java.net.URI$Parser.parse(URI.java:3047)[:1.8.0_60]
      at java.net.URI.<init>(URI.java:588)[:1.8.0_60]
      at org.apache.karaf.kar.internal.KarServiceImpl.copyFeatureToJar(KarServiceImpl.java:394)[37:org.apache.karaf.kar.core:4.0.5]
      at org.apache.karaf.kar.internal.KarServiceImpl.create(KarServiceImpl.java:326)[37:org.apache.karaf.kar.core:4.0.5]
      ... 12 more

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jlopez51 Joel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: