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: | Cannot step in debugger after NullPointerException | ||
---|---|---|---|
Product: | debugger | Reporter: | tboerkel <tboerkel> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tboerkel
2005-10-28 14:22:44 UTC
Reproduced. We'll check the behavior of JDI to see where the problem really is... I think the root cause may be the same as in Issue #50315. I am able to reproduce it with Java 1.4.2_07. This issue is caused by some bug in JDI, which is already fixed in JDK 1.6 (not reproducible in the test-case with java 1.6). Sorry, I have to reopen that issue, even if it is a JDK bug. You cannot leave NB users without a workaround or something until JDK 6.0! As far as I know, Eclipse does not suffer from the JDK bug. That does not mean, that it is not possible that NB does, but it means, there should be some solution other than waiting for JDK 6.0 for NB users. Otherwise this just adds to the reasons to choose Eclipse over NB for some people. The same problem in Eclipse 3.0 ... You're right. Same in Eclipse 3.1.0. No workaround possible in NB? Probably caused by JDI issue #6181784. To be sure I filed a new JDK bug with the repro above for duplicate--verification. I am afraid there is no workaround on the client side. NB is JDI client and fully depends on JDI step events. After NPE occurs in debuggee step requests are ignored -> step request resumes VM The issue is also reproducible in Eclipse and other debuggers. Maybe you can convince the JDK folks to put the fix not only in JDK 6.0, but also in JDK 5.0_06 or _07? I will try ... ;-) Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier. |