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 99681 - An exception attaching debugger
Summary: An exception attaching debugger
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-04-02 13:39 UTC by Oleg Barbashov
Modified: 2007-07-26 16:19 UTC (History)
3 users (show)

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 Oleg Barbashov 2007-04-02 13:39:56 UTC
Daily build 200703291800. Get an exception when attaching debugger on BluePrint1
sample. Can not reproduce.

"java.lang.IllegalStateException: Failed to get FileObject for server instance
tomcat55:home=$bundled_home:base=$bundled_base
	at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDisconnectedDeploymentManager(ServerInstance.java:189)
	at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getStartServer(ServerInstance.java:438)
	at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance._retrieveTarget(ServerInstance.java:1628)
	at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.access$1000(ServerInstance.java:57)
	at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance$DebuggerStateListener.sessionAdded(ServerInstance.java:1688)
	at
org.netbeans.api.debugger.DebuggerManager.fireSessionAdded(DebuggerManager.java:946)
	at org.netbeans.api.debugger.DebuggerManager.addSession(DebuggerManager.java:1146)
	at
org.netbeans.api.debugger.DebuggerManager.startDebugging(DebuggerManager.java:283)
	at
org.netbeans.modules.bpel.debugger.ui.BpelConnectPanel.ok(BpelConnectPanel.java:107)
	at
org.netbeans.modules.debugger.ui.actions.ConnectAction$ConnectListener.actionPerformed(ConnectAction.java:110)
	at
org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1058)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.Component.processMouseEvent(Component.java:5501)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
	at java.awt.Component.processEvent(Component.java:5266)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3968)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1778)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
	at java.awt.Dialog$1.run(Dialog.java:525)
	at java.awt.Dialog$2.run(Dialog.java:553)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:551)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:844)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:832)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:81)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1201)
	at org.openide.util.Mutex.readAccess(Mutex.java:220)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:817)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at
org.netbeans.modules.debugger.ui.actions.ConnectAction.actionPerformed(ConnectAction.java:88)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at java.awt.Component.processMouseEvent(Component.java:5501)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
	at java.awt.Component.processEvent(Component.java:5266)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3968)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1778)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)"
Comment 1 Petr Blaha 2007-04-16 10:44:42 UTC
Is the bug reported for NB 6.0? Thanks Petr
Comment 2 Sergey Lunegov 2007-04-16 10:50:27 UTC
Hi Petr,

yes this is for 6.0.
Comment 3 Petr Blaha 2007-04-16 11:00:16 UTC
Which Blueprint1 sample do you mean? Is it BPEL sample, see line
org.netbeans.modules.bpel.debugger.ui.BpelConnectPanel? Which server?
Comment 4 Petr Jiricka 2007-04-16 17:51:46 UTC
Also, what are the exact steps to reproduce?
Comment 5 Oleg Barbashov 2007-04-17 11:12:33 UTC
It is a BPEL BluePrint 1 sample. There is not a strict sequence to reproduce.
The exception probably is not connected with that sample. I have seen this
excepion approximately 1-2 times daily for 200703291800 on different projects
and couple next daily builds.
Comment 6 Petr Jiricka 2007-04-17 13:29:51 UTC
Lowering to P2 since this is hard to reproduce and random.
Comment 7 Sherold Dev 2007-07-26 16:19:12 UTC
Although I was not able to reproduce the issue, I tried to fix at least its root cause.

F.

Checking in src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java,v  <--  ServerInstance.java
new revision: 1.84; previous revision: 1.83
done