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 221171 - NullPointerException at org.netbeans.modules.javame.deviceselector.settings.DevicedetectionPanel.<init>
Summary: NullPointerException at org.netbeans.modules.javame.deviceselector.settings.D...
Status: RESOLVED WONTFIX
Alias: None
Product: javame
Classification: Unclassified
Component: ME SDK Integration (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: alexander.burdukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 11:59 UTC by mstarnacki
Modified: 2013-03-27 11:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191606


Attachments
stacktrace (3.68 KB, text/plain)
2012-10-31 11:59 UTC, mstarnacki
Details
stacktrace (3.68 KB, text/plain)
2013-03-27 02:39 UTC, MackSix
Details
logfile (81.63 KB, text/plain)
2013-03-27 02:40 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mstarnacki 2012-10-31 11:59:42 UTC
Build: NetBeans IDE Dev (Build 201210310001)
VM: Java HotSpot(TM) Client VM, 23.6-b03, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b09
OS: Linux

User Comments:
mstarnacki: Tab Device detection in Option Window >Miscellaneous. It exception is I thing after installation Java ME SDK 3.2 Plugin for NetBeans with error.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javame.deviceselector.settings.DevicedetectionPanel.<init>(DevicedetectionPanel.java:16)
   at org.netbeans.modules.javame.deviceselector.settings.DevicedetectionOptionsPanelController.getPanel(DevicedetectionOptionsPanelController.java:60)
   at org.netbeans.modules.javame.deviceselector.settings.DevicedetectionOptionsPanelController.getComponent(DevicedetectionOptionsPanelController.java:47)
   at org.netbeans.modules.options.advanced.Model$DelegatingController.getComponent(Model.java:341)
   at org.netbeans.modules.options.advanced.Model.getPanel(Model.java:175)
   at org.netbeans.modules.options.advanced.AdvancedPanel.handleTabSwitched(AdvancedPanel.java:199)
Comment 1 mstarnacki 2012-10-31 11:59:43 UTC
Created attachment 126851 [details]
stacktrace
Comment 2 Stepan Zebra 2012-11-06 12:55:52 UTC
This plugin is Windows only and there is no exception on Windows - closing.
Comment 3 MackSix 2013-03-27 02:35:16 UTC
It happens to me on Windows 7. 

Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 4 MackSix 2013-03-27 02:39:43 UTC
Created attachment 133105 [details]
stacktrace

Closed NetBeans and restared it. Still happen clicking on Device Detection Tab.
Comment 5 MackSix 2013-03-27 02:40:51 UTC
Created attachment 133106 [details]
logfile
Comment 6 MackSix 2013-03-27 04:12:17 UTC
This is cause by installing the Java ME plugins in NetBeans 7.3:

Mobility 1.19.1
Java ME SDK Tools 3.0
LWUIT Resource Editor 2.0
Java ME SDK Demos 2.0
Visual Mobile Designer 1.16

but there is no Java ME SDK installed on system. 

Workaround: Install Java ME SDK 3.2 and problem solved. ;)
Comment 7 alexander.burdukov 2013-03-27 11:26:01 UTC
Fixed on in ME SDK 3.3 (GA, not Early Access version). This panel is removed in 3.3.

The status is changed to WONTFIX since this bug is in 3rd party product and not
in NB itself