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 155452

Summary: NullPointerException at org.netbeans.modules.python.api.PythonPlatformManager.findPlatformProperties
Product: python Reporter: rmatous <rmatous>
Component: CodeAssignee: ardavis26 <ardavis26>
Status: VERIFIED FIXED    
Severity: blocker CC: delrieu, magny, pjiricka, t3q
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=144143
Issue Type: DEFECT Exception Reporter: 144143
Attachments: stacktrace

Description rmatous 2008-12-15 09:57:09 UTC
Build: NetBeans IDE Dev (Build 081209)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-b05, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05
OS: Linux, 2.6.22-14-generic, i386

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.api.PythonPlatformManager.findPlatformProperties(PythonPlatformManager.java:375)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.newPlatformActionPerformed(PythonPlatformPanel.java:454)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.access$300(PythonPlatformPanel.java:38)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel$3.actionPerformed(PythonPlatformPanel.java:141)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
Comment 1 rmatous 2008-12-15 09:57:13 UTC
Created attachment 74947 [details]
stacktrace
Comment 2 ardavis26 2008-12-15 12:54:51 UTC
Can you give me a detailed description of what you were doing when you got the error?
Comment 3 rmatous 2008-12-15 13:04:31 UTC
Somethink like ProjectProperties->Category Python->add new platform. 

Cannot reproduce because now I get exc. whenever I select Category Python in project properties:
java.lang.NullPointerException
	at java.text.CollationElementIterator.<init>(CollationElementIterator.java:102)
	at java.text.RuleBasedCollator.getCollationElementIterator(RuleBasedCollator.java:356)
	at java.text.RuleBasedCollator.compare(RuleBasedCollator.java:399)
	at
org.netbeans.modules.python.api.PlatformComponentFactory$PythonPlatformListModel$1.compare(PlatformComponentFactory.java:222)
Comment 4 Exceptions Reporter 2008-12-19 14:42:53 UTC
This issue has already 150 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=110683
Comment 5 ardavis26 2009-04-23 05:01:06 UTC
Fixed NPE