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 - NullPointerException at org.netbeans.modules.python.project2.PythonProject2.findProjectProperties
Summary: NullPointerException at org.netbeans.modules.python.project2.PythonProject2.f...
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-17 13:11 UTC by Cloudbuster
Modified: 2017-08-17 13:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228200


Attachments
stacktrace (2.44 KB, text/plain)
2017-08-17 13:11 UTC, Cloudbuster
Details

Note You need to log in before you can comment on or make changes to this bug.
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