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 172315

Summary: NullPointerException at org.netbeans.modules.python.project.SourceRoots$6.run
Product: python Reporter: blokeley <blokeley>
Component: ProjectsAssignee: Lou Dasaro <mr_lou_d>
Status: RESOLVED FIXED    
Severity: blocker CC: blokeley
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=155954
Issue Type: DEFECT Exception Reporter: 155954
Attachments: stacktrace

Description blokeley 2009-09-15 17:13:13 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows XP, 5.1, x86

User Comments:
blokeley: Changed the python interpreter in the project properties from jython to python2.6

GUEST: I was adding a source folder to my project.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.project.SourceRoots$6.run(SourceRoots.java:307)
        at org.netbeans.modules.python.project.SourceRoots$6.run(SourceRoots.java:287)
        at org.openide.util.Mutex.writeAccess(Mutex.java:433)
        at org.netbeans.modules.python.project.SourceRoots.putRoots(SourceRoots.java:286)
        at org.netbeans.modules.python.project.ui.customizer.PythonProjectProperties.save(PythonProjectProperties.java:194)
        at org.netbeans.modules.python.project.ui.customizer.PythonCustomizerProvider$StoreListener.actionPerformed(PythonCustomizerProvider.java:79)
Comment 1 blokeley 2009-09-15 17:13:18 UTC
Created attachment 87709 [details]
stacktrace
Comment 2 Lou Dasaro 2015-09-13 04:31:42 UTC
Unable to replicate. Probably fixed as a result of many fixes to Project Properties earlier this year. Closing as FIXED.
If I am wrong and the problem persists using NetBeans 8.1, please create a new bug. Thank you.