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.

Bug 152590

Summary: debug a previously created python project throws NPE
Product: python Reporter: Peter Lam <petersl>
Component: DebuggerAssignee: jymen <jymen>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: ide log file

Description Peter Lam 2008-11-06 23:09:02 UTC
Product Version: NetBeans IDE 6.5 (Build 20081106113300)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Repro steps:
- start ide from a fresh userdir
- open a previously created python project from previous builds
- right click on the project and select Debug. The red round-icon on the lower-right corner of the ide is flashing.
clicking on it shows the following exception and debugging session has never started.


java.lang.NullPointerException
	at org.netbeans.modules.python.debugger.Debuggee.setPlatform(Debuggee.java:60)
	at org.netbeans.modules.python.project.ui.actions.DebugCommand.invokeAction(DebugCommand.java:54)
	at org.netbeans.modules.python.project.PythonActionProvider$1.run(PythonActionProvider.java:70)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 Peter Lam 2008-11-06 23:09:41 UTC
Created attachment 73403 [details]
ide log file
Comment 2 jymen 2008-11-07 17:00:39 UTC

*** This issue has been marked as a duplicate of 152322 ***
Comment 3 jymen 2008-11-07 17:02:20 UTC
*** Issue 152697 has been marked as a duplicate of this issue. ***
Comment 4 Peter Lam 2008-11-08 05:05:39 UTC
ok, I see the comment in issue 152322. So, the dialog indicates the different platform that should be fixed. The message
in the diaog should be reworded and formatted in a standard way. Will open an enhancement issue for that. Change this to
fix state.