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 68437 - Server manager crash
Summary: Server manager crash
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 09:33 UTC by earelin
Modified: 2005-11-25 13:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description earelin 2005-11-10 09:33:32 UTC
Product Version: NetBeans IDE 5.0 Beta (Build 200509261930)
Java: 1.4.2_09
VM: Java HotSpot(TM) Client VM 1.4.2-54

Since i add a jboss server profile when i try to open the Servers cathegory in the runtime or the server 
manager netbeans catch this exception and the action is not completed, nothing happens. I try this a 
lot and the behaviour its the same.

Exception:

java.lang.NoClassDefFoundError: org/dom4j/io/SAXReader
	at 
org.jboss.deployment.spi.factories.DeploymentFactoryImpl.getDisconnectedDeploymentManager
(DeploymentFactoryImpl.java:137)
	at org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.getDisconnectedDeploymentManager
(JBDeploymentFactory.java:103)
	at org.netbeans.modules.j2ee.deployment.impl.Server.getDisconnectedDeploymentManager
(Server.java:138)
	at 
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDisconnectedDeploymentManager
(ServerInstance.java:157)
	at org.netbeans.modules.j2ee.deployment.impl.ui.RegistryNodeProvider$2.lookup
(RegistryNodeProvider.java:100)
	at org.netbeans.modules.j2ee.jboss4.nodes.JBManagerNode.<init>(JBManagerNode.java:44)
	at org.netbeans.modules.j2ee.jboss4.nodes.JBRegistryNodeFactory.getManagerNode
(JBRegistryNodeFactory.java:34)
	at org.netbeans.modules.j2ee.deployment.impl.ui.ServersCustomizer$ServerNode.<init>
(ServersCustomizer.java:488)
	at org.netbeans.modules.j2ee.deployment.impl.ui.ServersCustomizer
$ServerCategoriesChildren.refreshServers(ServersCustomizer.java:564)
	at org.netbeans.modules.j2ee.deployment.impl.ui.ServersCustomizer
$ServerCategoriesChildren.addNotify(ServersCustomizer.java:531)
	at org.openide.nodes.Children.callAddNotify(Children.java:447)
	at org.openide.nodes.Children.getArray(Children.java:488)
	at org.openide.nodes.Children.getNodes(Children.java:343)
	at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:215)
	at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:258)
	at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:168)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand
(VariableHeightLayoutCache.java:1461)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand
(VariableHeightLayoutCache.java:1270)
	at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:725)
	at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged
(VariableHeightLayoutCache.java:626)
	at javax.swing.plaf.basic.BasicTreeUI$TreeModelHandler.treeStructureChanged(BasicTreeUI.java:
2482)
	at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:559)
	at javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:345)
	at javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:117)
	at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:70)
	at org.openide.util.Mutex.doEvent(Mutex.java:1126)
	at org.openide.util.Mutex.readAccess(Mutex.java:252)
	at org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:56)
	at org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:714)
	at org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:556)
	at org.openide.explorer.view.TreeView.addNotify(TreeView.java:536)
	at java.awt.Container.addNotify(Container.java:2093)
	at javax.swing.JComponent.addNotify(JComponent.java:4320)
	at org.netbeans.modules.j2ee.deployment.impl.ui.ServersCustomizer.addNotify
(ServersCustomizer.java:110)
	at java.awt.Container.addNotify(Container.java:2093)
	at javax.swing.JComponent.addNotify(JComponent.java:4320)
	at java.awt.Container.addNotify(Container.java:2093)
	at javax.swing.JComponent.addNotify(JComponent.java:4320)
	at java.awt.Container.addNotify(Container.java:2093)
	at javax.swing.JComponent.addNotify(JComponent.java:4320)
	at javax.swing.JRootPane.addNotify(JRootPane.java:676)
	at java.awt.Container.addNotify(Container.java:2093)
	at java.awt.Window.addNotify(Window.java:418)
	at java.awt.Dialog.addNotify(Dialog.java:389)
	at org.netbeans.core.windows.services.NbPresenter.addNotify(NbPresenter.java:315)
	at java.awt.Window.pack(Window.java:436)
	at org.netbeans.core.windows.services.NbPresenter.initialize(NbPresenter.java:172)
	at org.netbeans.core.windows.services.NbPresenter.<init>(NbPresenter.java:107)
	at org.netbeans.core.windows.services.NbDialog.<init>(NbDialog.java:36)
	at org.netbeans.core.windows.services.DialogDisplayerImpl$1.run(DialogDisplayerImpl.java:73)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1146)
	at org.openide.util.Mutex.readAccess(Mutex.java:183)
	at org.netbeans.core.windows.services.DialogDisplayerImpl.createDialog(DialogDisplayerImpl.java:
51)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.ServerManager.showCustomizer
(ServerManager.java:61)
	at org.netbeans.modules.j2ee.deployment.impl.ui.actions.ServerManagerAction.performAction
(ServerManagerAction.java:33)
	at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:94)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
	at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:90)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
	at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:589)
	at java.awt.MenuItem.processEvent(MenuItem.java:548)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:482)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 Peter Pis 2005-11-14 14:39:10 UTC
Reassigning to "j2ee" for evaluation.
Comment 2 Sherold Dev 2005-11-14 19:29:56 UTC
->jboss
Comment 3 Libor Kotouc 2005-11-15 09:09:25 UTC
What JBoss version and type of installation do you have - did you install from
an archive or via installer? If the latter is true, please describe the
installation process.
Before answering the questions above, please try to reproduce the bug with some
of the latest daily builds. Thank you.
Comment 4 Libor Kotouc 2005-11-25 11:33:46 UTC
org.dom4j.io.SAXReader class is a part of lib/dom4j.jar archive which should be
part of installed JBoss. When DeploymentManager is obtained, dom4j.jar (among
others) is added to the class loader's class path.

It looks like the reporter has a corrupted installation where dom4j.jar is missing.

He has not provided any additional information -> wontfix for now.
Comment 5 earelin 2005-11-25 13:12:02 UTC
Sorry i have connection problems.

jboss version: 4.0.3SP1(build: CVSTag=JBoss_4_0_3_SP1 date=200510231752)

I have jboss/client libraries in my classpath, i fix this issue when i leave this libraries from the classpath. 
Comment 6 earelin 2005-11-25 13:14:53 UTC
I use the jboss GUI instaler