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: | [65cat]java.lang.NullPointerException | ||
---|---|---|---|
Product: | python | Reporter: | rajivderas <rajivderas> |
Component: | Debugger | Assignee: | jymen <jymen> |
Status: | VERIFIED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
log file
screen shot py project show source working |
Description
rajivderas
2008-10-14 06:32:49 UTC
Created attachment 71722 [details]
log file
Created attachment 71723 [details]
screen shot
The raised nullpointer is due to impossibility of computing the source line so I am not able to reproduce with a sample of my own , so the problem may be related to the source you use , is it possible to attach the sample you use to the ticket ? This would help me to understand why we got an invalid source line instead of just fixing by ignoring null lines thanks Jean-Yves Created attachment 71823 [details]
py project
Thanks for providing the sample using the 081014 nightly checkout on my linux box I have not been able to reproduce the symptom. Looking at the exception location , the reason of the exception is netbeans returning back a null line object to the debugger when the startup line of the script is requested to show in the editor. My advice here is to try with a more recent netbeans build. I have attached the screen showing the NewPythonProject2.py in debug state on the first line of the script Created attachment 71846 [details]
show source working
verified in build 320 (20081212) |