Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-1405

nmr example broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.5.0
    • 4.5.1
    • Examples
    • None

    Description

      Installing the example, you get this error:

      org.osgi.framework.BundleException: Could not create bundle object.
              at org.apache.felix.framework.Felix.installBundle(Felix.java:2650)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.Felix.installBundle(Felix.java:2501)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:150)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:734)[22:org.apache.karaf.features.core:2.2.10]
              at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:483)[22:org.apache.karaf.features.core:2.2.10]
              at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:295)[22:org.apache.karaf.features.core:2.2.10]
              at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:283)[22:org.apache.karaf.features.core:2.2.10]
              at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:279)[22:org.apache.karaf.features.core:2.2.10]
              at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[39:org.apache.karaf.features.command:2.2.10]
              at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)[39:org.apache.karaf.features.command:2.2.10]
              at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.karaf.shell.console:2.2.10]
              at org.apache.karaf.shell.console.jline.Console.run(Console.java:173)[15:org.apache.karaf.shell.console:2.2.10]
              at java.lang.Thread.run(Thread.java:680)[:1.6.0_43]
      Caused by: java.lang.NumberFormatException: For input string: "${spring"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)[:1.6.0_43]
              at java.lang.Integer.parseInt(Integer.java:449)[:1.6.0_43]
              at java.lang.Integer.parseInt(Integer.java:499)[:1.6.0_43]
              at org.osgi.framework.Version.<init>(Version.java:125)[karaf.jar:2.2.10]
              at org.apache.felix.framework.util.VersionRange.parse(VersionRange.java:98)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeImportClauses(ManifestParser.java:298)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:158)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.ModuleImpl.<init>(ModuleImpl.java:243)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1162)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:81)[org.apache.felix.framework-3.2.2.jar:]
              at org.apache.felix.framework.Felix.installBundle(Felix.java:2593)[org.apache.felix.framework-3.2.2.jar:]
              ... 20 more
      

      I suppose spring.import.range property is not set in the pom file

      Also feature nmr is required for this example

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            wverreydt Wim Verreydt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: