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 210035 - ClassNotFoundException: org.openide.util.NbCollections$CheckedSet
Summary: ClassNotFoundException: org.openide.util.NbCollections$CheckedSet
Status: RESOLVED WORKSFORME
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 15:50 UTC by sunbiz
Modified: 2012-05-15 12:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186235


Attachments
stacktrace (7.59 KB, text/plain)
2012-03-24 15:50 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2012-03-24 15:50:25 UTC
Build: NetBeans IDE Dev (Build 201203200400)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
sunbiz: New Javacard Web application project




Stacktrace: 
java.lang.ClassNotFoundException: org.openide.util.NbCollections$CheckedSet
   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Comment 1 sunbiz 2012-03-24 15:50:27 UTC
Created attachment 117196 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-03-26 19:33:37 UTC
First exception is caused by javacard:

SEVERE [global]
java.lang.ClassNotFoundException: org.openide.util.NbBundle$ClassLoaderFinder
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
Caused: java.lang.NoClassDefFoundError: org/openide/util/NbBundle$ClassLoaderFinder
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
	at java.lang.Class.getMethod0(Class.java:2685)
	at java.lang.Class.getMethod(Class.java:1620)
	at com.sun.javacard.Portability.getViaNbBundle(Portability.java:98)
	at com.sun.javacard.Portability.getString(Portability.java:80)
	at com.sun.javacard.AID.parse(AID.java:233)
Comment 3 J Bachorik 2012-05-15 12:04:22 UTC
Can not reproduce. Creating a javacard web application project works fine.
Please, make sure you have the IDE in a clean state (eg. no updates from a statble UC into a dev build etc.) and if you still can reproduce, provide a step-by-step description + IDE messages.log file.

BTW, the javacard only calls org.openide.util.NbBundle.getMessage() method when this exception is triggered.