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.
Summary: | tomcat jsp debugging does not start with jdk1.5 | ||
---|---|---|---|
Product: | debugger | Reporter: | radam <radam> |
Component: | Java | Assignee: | issues@debugger <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | JDK_SPECIFIC |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
radam
2004-03-22 16:01:12 UTC
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. |