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.
Build: NetBeans IDE Dev (Build 20150918-d6b11228f220) VM: Java HotSpot(TM) Client VM, 24.79-b02, Java(TM) SE Runtime Environment, 1.7.0_79-b15 OS: Windows 8 User Comments: mr_lou_d: Product = Python Create new test. Right-click on project and invoke "Test" See also Bug 187719 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:50) at org.netbeans.modules.python.project.PythonActionProvider$1.run(PythonActionProvider.java:95) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Created attachment 156284 [details] stacktrace
Changeset: e7dec3cc5053 Author: Lou Dasaro <mr_lou_d@netbeans.org> Date: 2015-09-24 16:04 Message: Added check for null TestRunner before invoking. Also, disabled "Test" menu item until TestRunner is working again Changes should be available in development build on 24 or 25-Sep-2015 Please leave bug open until 8.1 FCS (in case others with previous build report it).
"Fixed" in Python Plugin version .151118, in that the exception no longer occurs. If you get this error, and are using NetBeans IDE 8.0.x, please upgrade to IDE 8.1 and install the latest Python plugin from the Update Center (Tools->Plugins). However, tests are currently broken. See bug#187719 If you are using NetBeans 8.1 with Python Plugin version .151118 or greater, please reopen with a duplicable test case and my apologies.