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.
I get the following NPE when I try to attach the debugger to a VM (full details after the stack trace): Tue Mar 27 12:31:34 GMT+01:00 2001java.lang.NullPointerException: null java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.RemoteDebuggerInfo.getProcessName (RemoteDebuggerInfo.java:165) at org.netbeans.modules.debugger.multisession.EnterpriseDebugger.startSession (EnterpriseDebugger.java:373) at org.netbeans.modules.debugger.multisession.EnterpriseDebugger.startDebugger (EnterpriseDebugger.java:172) at org.netbeans.modules.debugger.support.actions.ConnectAction$ConnectListener.acti onPerformed(ConnectAction.java:99) at org.netbeans.core.NbPresenter$ButtonListener.actionPerformed (NbPresenter.java:713) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1450) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed (AbstractButton.java:1504) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:378) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:250) at javax.swing.plaf.basic.BasicRootPaneUI$DefaultAction.actionPerformed (BasicRootPaneUI.java:156) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1702) at javax.swing.JComponent.processKeyBinding(JComponent.java:2156) at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:252) at javax.swing.KeyboardManager.fireKeyboardAction (KeyboardManager.java:205) at javax.swing.JComponent.processKeyBindingsForAllComponents (JComponent.java:2223) at javax.swing.JComponent.processKeyBindings(JComponent.java:2216) at javax.swing.JComponent.processKeyEvent(JComponent.java:2123) at java.awt.Component.processEvent(Component.java:3555) at java.awt.Container.processEvent(Container.java:1167) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1216) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.processKeyEvent(Container.java:2162) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2142) at java.awt.Container.dispatchEventImpl(Container.java:1203) at java.awt.Window.dispatchEventImpl(Window.java:918) at java.awt.Component.dispatchEvent(Component.java:2499) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:336) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:134) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:101) at java.awt.Dialog.show(Dialog.java:386) at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:477) at org.netbeans.core.NbPresenter.run(NbPresenter.java:500) at org.openide.util.Mutex$1.run(Mutex.java:869) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:147) at java.awt.EventQueue.dispatchEvent(EventQueue.java:334) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:134) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96) at java.awt.EventDispatchThread.run(EventDispatchThread.java:88) Platform: NT 4.0 SP 6 on both Netbeans and the remote VM JDK: Sun JDK 1.3.0_02 on both Netbeans and the remote VM Method of connecting: dt_shmem Netbeans 3.2 build number: 13 This works on Forte build 1160 and also from JDB at the command line. This appears to happen whenever I try to connect to a remote VM. The exact command line used is this: D:\java\jdk1.3.0\bin\java -classic -Xmx128m -Xdebug -Xnoagent - Xrunjdwp:transport=dt_shmem,address=mince,server=y,suspend=y -Djava.compil er=NOJIT <classname etc.>
fixed in main trunk and release32
Created attachment 990 [details] Stack trace of second NPE.
Build 20: I now get another NPE with a (very slightly) different stack trace. The new stack trace has been attached.
Verified in Netbeans release 3.2 build 38.
Target milestone -> 3.2
Resolved for 3.3.x or earlier, no new info since then -> closing.