Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2558

NPE in KarafUtils.stripParametersFromSymbolicName

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 10.0.0.AM2
    • Fix Version/s: 10.2.0
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      don't know, was playing with deployment on a Fuse 7 runtime using Karaf 4.x server adapter while reviewing https://github.com/jbosstools/jbosstools-fuse/pull/1116

      Show
      don't know, was playing with deployment on a Fuse 7 runtime using Karaf 4.x server adapter while reviewing https://github.com/jbosstools/jbosstools-fuse/pull/1116

      Description

      !ENTRY org.eclipse.wst.server.core 4 0 2017-09-29 16:31:18.235
      !MESSAGE Could not publish to the server.
      !STACK 0
      java.lang.NullPointerException
      	at org.fusesource.ide.server.karaf.core.util.KarafUtils.stripParametersFromSymbolicName(KarafUtils.java:330)
      	at org.fusesource.ide.server.karaf.core.server.subsystems.publish.ModuleBundleVersionUtility$BundleDetails.<init>(ModuleBundleVersionUtility.java:40)
      	at org.fusesource.ide.server.karaf.core.server.subsystems.publish.ModuleBundleVersionUtility.createBundleDetails(ModuleBundleVersionUtility.java:153)
      	at org.fusesource.ide.server.karaf.core.server.subsystems.publish.ModuleBundleVersionUtility.getJBossOSGiDetailsFromJar(ModuleBundleVersionUtility.java:83)
      	at org.fusesource.ide.server.karaf.core.server.subsystems.publish.ModuleBundleVersionUtility.getBundleDetails(ModuleBundleVersionUtility.java:58)
      	at org.fusesource.ide.server.karaf.core.server.subsystems.Karaf2xPublishController.transferBuiltModule(Karaf2xPublishController.java:216)
      	at org.fusesource.ide.server.karaf.core.server.subsystems.Karaf2xPublishController.handleZippedPublish(Karaf2xPublishController.java:161)
      	at org.fusesource.ide.server.karaf.core.server.subsystems.Karaf2xPublishController.publishModule(Karaf2xPublishController.java:145)
      	at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.publishModule(ControllableServerBehavior.java:143)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1091)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1183)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:987)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
      	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aurelien.pupier Aurélien Pupier
                  Reporter:
                  aurelien.pupier Aurélien Pupier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: