This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247238 - IllegalStateException: Deployment manager is disconnected
Summary: IllegalStateException: Deployment manager is disconnected
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-17 18:36 UTC by heapifyman
Modified: 2014-09-26 19:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211970


Attachments
stacktrace (980 bytes, text/plain)
2014-09-17 18:36 UTC, heapifyman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description heapifyman 2014-09-17 18:36:29 UTC
This bug was originally marked as duplicate of bug 237222, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
GUEST: .

janario: .

heapifyman: Apparently I am too stupid to use Netbeans / JBoss Server plugin or they both suck




Stacktrace: 
java.lang.IllegalStateException: Deployment manager is disconnected
   at org.netbeans.modules.j2ee.jboss4.JBDeploymentManager.getTargets(JBDeploymentManager.java:766)
   at org.netbeans.modules.j2ee.jboss4.nodes.JBEjbModulesChildren$JBoss7EjbApplicationNodeUpdater$1.call(JBEjbModulesChildren.java:187)
   at org.netbeans.modules.j2ee.jboss4.nodes.JBEjbModulesChildren$JBoss7EjbApplicationNodeUpdater$1.call(JBEjbModulesChildren.java:182)
   at org.netbeans.modules.j2ee.jboss4.JBDeploymentManager.invokeLocalAction(JBDeploymentManager.java:266)
   at org.netbeans.modules.j2ee.jboss4.nodes.JBEjbModulesChildren$JBoss7EjbApplicationNodeUpdater.run(JBEjbModulesChildren.java:182)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
Comment 1 heapifyman 2014-09-17 18:36:31 UTC
Created attachment 149317 [details]
stacktrace
Comment 2 heapifyman 2014-09-18 06:13:39 UTC
I would like to apologize for the tone of my initial comment. I was just so frustrated with the seemingly unpredictable behavior of the plugin.
Again, maybe I just lack the knowledge to use it appropriately. If there is some documentation on how to properly use this plugin (e.g. if there is a special sequence of using "undeploy", "debug", "clean & build" buttons that does not crash the plugin / netbeans or jboss) I would appreciate it.
Comment 3 Petr Hejl 2014-09-26 12:22:54 UTC
Are you sure you are using JBoss and not WildFly/EAP? There a different plugin for WildFly.
Comment 4 heapifyman 2014-09-26 19:20:21 UTC
(In reply to Petr Hejl from comment #3)
> Are you sure you are using JBoss and not WildFly/EAP? There a different
> plugin for WildFly.

I have both plugins installed - JBoss and Wildfly. But I was using JBoss 7.1.1.Final at the time the problem occurred.

Also, the class JBoss7EjbApplicationNodeUpdater in the stacktrace seems to point to JBoss 7.
Comment 5 heapifyman 2014-09-26 19:20:53 UTC
(In reply to Petr Hejl from comment #3)
> Are you sure you are using JBoss and not WildFly/EAP? There a different
> plugin for WildFly.

I have both plugins installed - JBoss and Wildfly. But I was using JBoss 7.1.1.Final at the time the problem occurred.

Also, the class JBoss7EjbApplicationNodeUpdater in the stacktrace seems to point to JBoss 7.