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 159009

Summary: reflect.UndeclaredThrowableException at $Proxy15.actionPerformed
Product: javame Reporter: leo555_6 <leo555_6>
Component: Build SystemAssignee: Petr Suchomel <psuchomel>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: ca-nb, mmirilovic, raylsa28
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=145905
Issue Type: DEFECT Exception Reporter: 145905
Attachments: stacktrace

Description leo555_6 2009-02-23 18:53:20 UTC
Build: NetBeans IDE 6.0.1 (Build 200801291616)
VM: Java HotSpot(TM) Client VM, 11.2-b01
OS: Windows XP, 5.1, x86

User Comments:
GUEST: Java ME???????????????????????????????????????????????????????

GUEST: I press File - new project, Java ME - Mobile Application
and get following error after "next" on "default platrofm configuration".
This occurs with any options (MIDP 2.1, 2.0 etc)

java.lang.NullPointerException
	at java.util.HashSet.<init>(HashSet.java:99)
	at org.netbeans.modules.mobility.project.ui.wizard.ConfigurationsSelectionPanelGUI.isValid(ConfigurationsSelectionPanelGUI.java:191)
	at java.awt.Component.invalidateIfValid(Component.java:2740)
	at java.awt.Component.setLocale(Component.java:1810)
	at javax.swing.JComponent.<init>(JComponent.java:595)
	at javax.swing.JPanel.<init>(JPanel.java:65)
	at javax.swing.JPanel.<init>(JPanel.java:92)
	at javax.swing.JPanel.<init>(JPanel.java:100)
	at org.netbeans.modules.mobility.project.ui.wizard.ConfigurationsSelectionPanelGUI.<init>(ConfigurationsSelectionPanelGUI.java:101)
	at org.netbeans.modules.mobility.project.ui.wizard.ConfigurationsSelectionPanelGUI.<init>(ConfigurationsSelectionPanelGUI.java:94)
	at org.netbeans.modules.mobility

GUEST: File->New Project->Java ME->Mobile Application->(next,next screens in default config)

GUEST: Was trying to create new Java ME Mobile Application project with default settings.

GUEST: Occured while creating new mobile project

GUEST: I tried to create new mobility project



Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy15.actionPerformed(.java:0)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
Comment 1 leo555_6 2009-02-23 18:53:26 UTC
Created attachment 77261 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-02-27 14:59:12 UTC
This issue has already 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145905
Comment 3 Petr Suchomel 2009-02-27 15:13:34 UTC
Already fixed in 6.7m2 and trunk, we will provide patch release 6.5.1 and updates.
Comment 4 Andrei Chistiakov 2009-03-05 15:57:54 UTC
The issue is reproducible with NB 6.5.1. I'm reopening it.
Comment 5 Marian Mirilovic 2009-03-05 17:32:34 UTC

*** This issue has been marked as a duplicate of 153417 ***
Comment 6 Petr Suchomel 2009-03-05 22:27:20 UTC
Fixed in release65_fixes CS bbe117b6eb41