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 152106

Summary: [65cat] NullPointerException at org.netbeans.modules.python.project.ui.actions.DebugCommand.invokeAction
Product: python Reporter: sunbiz <sunbiz>
Component: ProjectsAssignee: Lou Dasaro <mr_lou_d>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: rajivderas
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=133068
Issue Type: DEFECT Exception Reporter: 133068
Attachments: stacktrace
stacktrace
stacktrace

Description sunbiz 2008-11-01 20:54:56 UTC
Build: NetBeans IDE 6.5 RC2 (Build 20081031212129)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.DebugCommand.invokeAction(DebugCommand.java:44)
        at org.netbeans.modules.python.project.PythonActionProvider$.run(PythonActionProvider.java:70)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 sunbiz 2008-11-01 20:55:00 UTC
Created attachment 73055 [details]
stacktrace
Comment 2 rajivderas 2008-11-04 22:07:38 UTC
Build: NetBeans IDE 6.5 RC2 (Build 20081104041628)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.DebugCommand.invokeAction(DebugCommand.java:44)
        at org.netbeans.modules.python.project.PythonActionProvider$.run(PythonActionProvider.java:70)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 3 rajivderas 2008-11-04 22:07:53 UTC
Created attachment 73255 [details]
stacktrace
Comment 4 rajivderas 2008-11-07 14:06:11 UTC
Build: NetBeans IDE 6.5 (Build 20081107030341)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.DebugCommand.invokeAction(DebugCommand.java:44)
        at org.netbeans.modules.python.project.PythonActionProvider$.run(PythonActionProvider.java:70)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 5 rajivderas 2008-11-07 14:06:20 UTC
Created attachment 73472 [details]
stacktrace
Comment 6 ardavis26 2008-11-07 15:08:51 UTC
I need steps to repeat. 
What are you doing when you get this?

what build of python are you using?

Comment 7 rajivderas 2008-11-07 15:12:17 UTC
deleted the py package from the windows file system and ran the project where the run file specified in main module is 
null

Product Version: NetBeans IDE 6.5 (Build 20081107030341)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\Rajiv Perera\.netbeans\6.5
Comment 8 sunbiz 2008-11-07 17:42:16 UTC
Renaming the main python executable and press Ctrl+F5 on the python project threw this exception
Comment 9 Lou Dasaro 2015-09-13 04:43:26 UTC

*** This bug has been marked as a duplicate of bug 150591 ***