Bug 150510 - [65cat] NullPointerException at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction
[65cat] NullPointerException at org.netbeans.modules.python.project.ui.action...
Status: RESOLVED FIXED
Product: python
Classification: Unclassified
Component: Code
6.x
PC Windows Vista
: P1 (vote)
: TBD
Assigned To: ardavis26
nbpythonqa
http://statistics.netbeans.org/except...
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-17 11:02 UTC by sunbiz
Modified: 2009-08-24 15:02 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (404 bytes, text/plain)
2008-10-17 22:27 UTC, sunbiz
Details
stacktrace (404 bytes, text/plain)
2008-12-10 21:16 UTC, Exceptions Reporter
Details
stacktrace (404 bytes, text/plain)
2008-12-11 02:47 UTC, Exceptions Reporter
Details
stacktrace (405 bytes, text/plain)
2008-12-18 19:04 UTC, tonybeckham
Details
stacktrace (405 bytes, text/plain)
2009-01-20 18:55 UTC, tonybeckham
Details
stacktrace (405 bytes, text/plain)
2009-05-05 15:54 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-10-17 11:02:26 UTC
Build: NetBeans IDE Dev (Build 20081015193613)
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
User comments: Python project properties and Run type a file that was just deleted. Got this exception when F6 is 
pressed
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:40)
        at org.netbeans.modules.python.project.PythonActionProvider$1.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-10-17 22:27:32 UTC
Build: NetBeans IDE 6.5 RC1 (Build 20081016235259)
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

User Comments: 
Pressed F6 to run a python project after renaming executable module

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:40)
        at org.netbeans.modules.python.project.PythonActionProvider$1.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 2 sunbiz 2008-10-17 22:27:41 UTC
Created attachment 72162 [details]
stacktrace
Comment 3 Exceptions Reporter 2008-12-10 21:16:06 UTC
Build: NetBeans IDE 6.5 (Build 200811131701)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:52)
        at org.netbeans.modules.python.project.PythonActionProvider$1.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 4 Exceptions Reporter 2008-12-10 21:16:17 UTC
Created attachment 74831 [details]
stacktrace
Comment 5 Exceptions Reporter 2008-12-11 02:47:44 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27.5-117.fc10.i686, i386

User Comments: 
Running python script

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:52)
        at org.netbeans.modules.python.project.PythonActionProvider$1.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 6 Exceptions Reporter 2008-12-11 02:47:48 UTC
Created attachment 74835 [details]
stacktrace
Comment 7 tonybeckham 2008-12-18 19:04:33 UTC
Build: NetBeans IDE Dev (Build 20081218144324)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.5, i386

User Comments: 
Tried to run PLYDemo python sample project.  Same error on linux and mac

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:48)
        at org.netbeans.modules.python.project.PythonActionProvider$1.run(PythonActionProvider.java:70)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 8 tonybeckham 2008-12-18 19:04:42 UTC
Created attachment 75151 [details]
stacktrace
Comment 9 tonybeckham 2009-01-20 18:55:44 UTC
Build: NetBeans IDE Dev (Build 20090120154731)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.5, i386

User Comments: 
I renamed a .py file to .pyw outside of the IDE while the file was open in the IDE

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:67)
        at org.netbeans.modules.python.project.PythonActionProvider$1.run(PythonActionProvider.java:92)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 10 tonybeckham 2009-01-20 18:55:49 UTC
Created attachment 76058 [details]
stacktrace
Comment 11 Exceptions Reporter 2009-02-26 10:28:40 UTC
This issue has already 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=129460
Comment 12 ardavis26 2009-03-30 05:19:19 UTC
Adjusted run to handle null in script
Comment 13 Tomas Danek 2009-05-05 15:54:38 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14
OS: Linux, 2.6.27-11-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:75)
        at org.netbeans.modules.python.project.PythonActionProvider$1.run(PythonActionProvider.java:92)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 14 Tomas Danek 2009-05-05 15:54:50 UTC
Created attachment 81572 [details]
stacktrace


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo