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 271319

Summary: NullPointerException at org.netbeans.modules.python.project2.PythonProject2.findProjectProperties
Product: projects Reporter: Cloudbuster
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228200
Attachments: stacktrace

Description Cloudbuster 2017-08-17 13:11:21 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Windows 7

User Comments:
GUEST: I have opened Python file w/o Python project.

Cloudbuster: Opened a python file which is part of a C++/GNU toolchain project. Error is reproduceable and happens for all python files in this project.

GUEST: High CPU usage while background scanning of project

GUEST: I am just trying to open a file

log file:
SEVERE [null]: Last record repeated 2 more times.
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.web.clientproject.browser.ActiveBrowserAction$8
java.lang.NullPointerException
	at org.netbeans.modules.python.project2.PythonProject2.findProjectProperties(PythonProject2.java:220)
	at org.netbeans.modules.python.project2.PythonProject2.isProject(PythonProject2.java:252)
	at org.netbeans.modules.python.project2.PythonProjectFactory.isProject(PythonProjectFactory.java:29)
	at org.netbeans.modules.python.project2.PythonProjectFactory.loadProject(PythonProjectFactory.java:36)
	at org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:401)
	at org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:94)
	at org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:314)
	at org.netbeans.modules.projectapi.nb.NbProjectManager$2.

GUEST: Opening NetBeans.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.python.project2.PythonProject2.findProjectProperties(PythonProject2.java:220)
   at org.netbeans.modules.python.project2.PythonProject2.isProject(PythonProject2.java:252)
   at org.netbeans.modules.python.project2.PythonProjectFactory.isProject(PythonProjectFactory.java:29)
   at org.netbeans.modules.python.project2.PythonProjectFactory.loadProject(PythonProjectFactory.java:36)
   at org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:401)
   at org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:94)
Comment 1 Cloudbuster 2017-08-17 13:11:24 UTC
Created attachment 164968 [details]
stacktrace