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 158099

Summary: reflect.UndeclaredThrowableException at $Proxy22.actionPerformed
Product: java Reporter: tingyiy <tingyiy>
Component: PlatformAssignee: Jan Jancura <jjancura>
Status: CLOSED FIXED    
Severity: blocker CC: carlos_jaimes, gajanankhandake, kmusham, nuss, qwavel, renatopaoli, skynet800, stocktrader, tingyiy, vincenco2, wizardlee
Priority: P3 Keywords: JDK_SPECIFIC
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=104143
Issue Type: DEFECT Exception Reporter: 104143
Attachments: stacktrace
stacktrace

Description tingyiy 2009-02-06 19:04:24 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows Vista, 6.0, x86

User Comments:
GUEST: Tried to install Java Platform - Java ME MIDP Platform Emulator but no window appears.  Get to window to select Java Platform - Java ME MIDP Platform Emulator, then Next button becomes available, but nothing happens after clicking Next.

GUEST: TRied to Java2ME Platform

cesva: -------------------------------------------------------------------------------
>Log Session: Tuesday, February 3, 2009 4:29:26 PM CET
>System Info: 
  Product Version         = NetBeans IDE 6.5 (Build 200811100001)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_12-b04
  Java Home               = C:\Program Files\Java\jdk1.6.0_12\jre
  System Locale; Encoding = es_ES (nb); Cp1252
  Home Directory          = C:\Documents and Settings\Lorente
  Current Directory       = C:\Program Files\NetBeans 6.5
  User Directory          = C:\Documents and Settings\Lorente\.netbeans\6.5
  Installation            = C:\Program Files\NetBeans 6.5\nb6.5
                            C:\Program Files\NetBeans 6.5\ide10
                            C:\Program Files\NetBeans 6.5\java2
                            C:\Program Files\Ne

GUEST: i was performing the add Platform function for ME MIDP platform

GUEST: I tried to install MIDP Platform, after selection, click on "Next"-Button failed.
Failure can be reproduced



Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy22.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 tingyiy 2009-02-06 19:04:36 UTC
Created attachment 76680 [details]
stacktrace
Comment 2 tingyiy 2009-02-06 19:05:21 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy22.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 3 tingyiy 2009-02-06 19:05:33 UTC
Created attachment 76681 [details]
stacktrace
Comment 4 Jan Jancura 2009-02-09 13:54:37 UTC
I can not reproduce this issu, I need more info.
1) What exactly are you trying to install? Do ypu mean "Java Platform Micro Edition Software Development Kit 3.0"? Can
you attach some link?
2) Whats the steps to reproduce this issue? Like:
- go to menu Tools / Java Platform
- Click Add Platform...
- Select folder "..."
Thanks.
Comment 5 vincenco2 2009-02-17 08:39:07 UTC
I can not reproduce this issu, I need more info.
1) What exactly are you trying to install? Do ypu mean "Java Platform Micro Edition Software Development Kit 3.0"? Can
you attach some link?
2) Whats the steps to reproduce this issue? Like:
- go to menu Tools / Java Platform
- Click Add Platform...
- Select folder "..."
Thanks.

Hi,
I tried to add the S40_Nokia_6212_NFC_SDK_v1_0 to Netbeans.
1. Therefor I went to Tools>Java Platform Manager.
2. Click Add Platform ...
3. Select the Java Micro Edition Platform Emulator button.
4. Then the exception occured 
The "platform folders" screen isn't displayed

I didn't use Netbeans before. I did the following to install:
1. Install jdk1.6.0_12
2. Install Netbeans 6.5
3. Install the Nokia S40 SDK
Start Netbeans and tried to add the SDK following the description in Nokia SDk instal guide.
Comment 6 Jan Jancura 2009-02-17 12:29:33 UTC
Thanks!
Comment 7 vincenco2 2009-02-17 15:32:28 UTC
Just some additional Info:
When I go on Add Platform I can see the "Select platform type" screen.
I can select
*Java Standard Edition
*Java ME MIDP Platform Edition
*Custom Java ME MIDP Platform Edition
*Java ME CDC Platform Emulator

The Exception occurs in the moment when I click on the "Java ME MIDP Platform Edition" Button.
All other buttons work fine.
Comment 8 stocktrader 2009-02-21 00:44:29 UTC
Hello,

a small hint:
I uninstalled the JDK 1.6 and I installed JDK 1.5 update 17 and told NetBeans to use this JDK.
The problem does not show up with JDK 1.5.
The problem is evidend with JDK 1.6.
 Regards,
Marco - stocktrader -
Comment 9 Jan Jancura 2009-02-26 12:50:34 UTC
*** Issue 157959 has been marked as a duplicate of this issue. ***
Comment 10 Jan Jancura 2009-02-26 12:52:20 UTC
*** Issue 159138 has been marked as a duplicate of this issue. ***
Comment 11 Jan Jancura 2009-02-26 12:52:38 UTC
*** Issue 159143 has been marked as a duplicate of this issue. ***
Comment 12 _ rkubacki 2009-07-21 05:02:37 UTC
There is a very similar report for NBAndroid http://kenai.com/jira/browse/NBANDROID-41

While J2SE developers can use the default platform this is a blocker for J2ME/Android projects so this sounds more like
P2 to me. 

Adding JDK_SPECIFIC - all reports are JDK6b12+

And according to http://www.nabble.com/Need-%22process%27-help...-td20797793.html platform module might not be the
source of the problem.
Comment 13 Jan Jancura 2009-11-04 15:05:43 UTC
Still can not reproduce.
I have added some better logs.
fixed on my HD
Comment 14 Jan Jancura 2009-11-10 02:59:28 UTC
Integrated into 'main-golden', will be available in build *200911070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d73fd5fd6227
User: Jan Jancura <jjancura@netbeans.org>
Log: #158099: reflect.UndeclaredThrowableException at .actionPerformed
Comment 15 Jan Jancura 2009-11-10 03:00:27 UTC
Integrated into 'main-golden', will be available in build *200911070201* on
http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d73fd5fd6227
User: Jan Jancura <jjancura@netbeans.org>
Log: #158099: reflect.UndeclaredThrowableException at .actionPerformed
Comment 16 Marian Mirilovic 2011-06-09 09:57:08 UTC
v/c