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.
Starting the integrated tomcat 5 in the debugmode in netbeans with jdk1.5 beta (tiger) fails with the message: start debugger failed: null This problem appears with a recent debian installation and a redhat 8 installation. The problem disappears when using an older jdk (1.4.1).
This is not a 3.6 relevant issue.
There is another big difference between the use of jdk14.x and jdk1.5 when running the Netbeans IDE 3.6rc1. With jdk1.4.x the netbeans ide uses only one process but with jdk1.5 a large amount of processes (>10).
This is actually a bug in jpda dbg. The NPE is in RemoteDebuggerInfo(hostname, port) constructor.
A modification of Java 1.5 JDI behavior which should be taken into account on our side. Requires simple and straightforward modification of 5 classes that deal with this API.
I tried it with jdk1.5 Beta 1 (b32c) and it really doesn't work. However, with last internal build (b43) it works.
reviewed - looks good!
Fixed by checking for possible null Transport in a JDI Connector. /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/Launcher.java ,v <-- Launcher.java new revision: 1.18.2.1; previous revision: 1.18 /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/RemoteDebugge rInfo.java,v <-- RemoteDebuggerInfo.java new revision: 1.17.152.1; previous revision: 1.17 /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/ListeningDebu ggerInfo.java,v <-- ListeningDebuggerInfo.java new revision: 1.2.12.1; previous revision: 1.2 /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/util/Utils.ja va,v <-- Utils.java new revision: 1.15.90.1; previous revision: 1.15
This feature works fine now. Verified in nbdev200507061800.