Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14120

Can not debug OSGI Bundles deployed in JBoss EAP 6.1 with JBossTools 4.0.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.2.x
    • 4.0.1.Final
    • server
    • None
    • Hide

      1. Clean data, temp and deplyoments sub direcotry
      2. Add the provided osgi bundles to jboss eap server in server view
      3. Start JBoss in the server view
      --> Should start without failure
      4. Stop JBoss
      5. Clean data and temp sub direcotry
      6. Start JBoss in the server view with Debug
      --> The exception should occur

      Show
      1. Clean data, temp and deplyoments sub direcotry 2. Add the provided osgi bundles to jboss eap server in server view 3. Start JBoss in the server view --> Should start without failure 4. Stop JBoss 5. Clean data and temp sub direcotry 6. Start JBoss in the server view with Debug --> The exception should occur

      Starting JBoss EAP 6.1 in debug mode with JBoss Tools 4.0.1 in eclipse juno runs into following exception:

      �[0m�[0m16:54:53,618 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "de.ebcot.osgi.web.war" (runtime-name: "de.ebcot.osgi.web.war")
      �[0m�[0m16:54:53,618 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "de.ebcot.osgi.core.jar" (runtime-name: "de.ebcot.osgi.core.jar")
      �[0m�[0m16:54:53,777 INFO [org.jboss.osgi.framework] (MSC service thread 1-2) JBOSGI011006: OSGi Framework - 2.1.0.CR12
      �[0m�[31m16:54:53,789 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."de.ebcot.osgi.core.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."de.ebcot.osgi.core.jar".PARSE: JBAS018733: Failed to process phase PARSE of deployment "de.ebcot.osgi.core.jar"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_05]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_05]
      at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_05]
      Caused by: java.lang.NullPointerException
      at org.jboss.as.osgi.service.FrameworkActivator.activate(FrameworkActivator.java:76)
      at org.jboss.as.osgi.deployment.FrameworkActivateProcessor.deploy(FrameworkActivateProcessor.java:72)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      ... 5 more

      https://community.jboss.org/thread/223957?tstart=0

        1. eclipse_juno_jboss_tools_4.0.1_osgi_debug
          8 kB
        2. scr.zip
          172 kB
        3. standalone.xml
          20 kB

              rob.stryker Rob Stryker (Inactive)
              Arakasi69 Thomas Wiesner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: