[jbosstools-issues] [JBoss JIRA] (JBIDE-14120) Can not debug OSGI Bundles deployed in JBoss EAP 6.1 with JBossTools 4.0.1

Rob Stryker (JIRA) issues at jboss.org
Thu Feb 5 01:48:49 EST 2015


    [ https://issues.jboss.org/browse/JBIDE-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037752#comment-13037752 ] 

Rob Stryker commented on JBIDE-14120:
-------------------------------------

I've also opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=459188  and attached a patch. The issue I'm currently experiencing seems to stem from InternalAntRunner using a HashMap (which allows null values) and passing the key/value in to (eventually) a HashTable, which does not allow null values. 

To be clear, this isn't the cause of this JIRA at all. This is just blocking me being able to debug it in runtime workbench. 

> Can not debug OSGI Bundles deployed in JBoss EAP 6.1 with JBossTools 4.0.1
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-14120
>                 URL: https://issues.jboss.org/browse/JBIDE-14120
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.0.1.Final
>            Reporter: Thomas Wiesner
>             Fix For: 4.2.x
>
>         Attachments: eclipse_juno_jboss_tools_4.0.1_osgi_debug, scr.zip, standalone.xml
>
>
> Starting JBoss EAP 6.1 in debug mode with JBoss Tools 4.0.1 in eclipse juno runs into following exception:
> 16: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")
> 16: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")
> 16:54:53,777 INFO  [org.jboss.osgi.framework] (MSC service thread 1-2) JBOSGI011006: OSGi Framework - 2.1.0.CR12
> 16: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



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jbosstools-issues mailing list