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 209997 - NoClassDefFoundError: org/openide/util/actions/CallbackSystemAction$WeakAction
Summary: NoClassDefFoundError: org/openide/util/actions/CallbackSystemAction$WeakAction
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 212092 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-23 12:22 UTC by salihes
Modified: 2012-05-11 12:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185854


Attachments
stacktrace (5.09 KB, text/plain)
2012-03-23 12:22 UTC, salihes
Details
Logging output while compiling some projects (422.72 KB, text/plain)
2012-03-28 14:44 UTC, mgoe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description salihes 2012-03-23 12:22:43 UTC
Build: NetBeans IDE 7.1.1 (Build 201202271535)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
GUEST: trying to add web operation to a webservice




Stacktrace: 
java.lang.NoClassDefFoundError: org/openide/util/actions/CallbackSystemAction$WeakAction
   at org.openide.util.actions.CallbackSystemAction$GlobalManager.findGlobalAction(CallbackSystemAction.java:402)
   at org.openide.util.actions.CallbackSystemAction.updateEnabled(CallbackSystemAction.java:168)
   at org.openide.util.actions.CallbackSystemAction.initialize(CallbackSystemAction.java:115)
   at org.openide.actions.DeleteAction.initialize(DeleteAction.java:61)
   at org.openide.util.SharedClassObject$DataEntry.tryToInitialize(SharedClassObject.java:941)
   at org.openide.util.SharedClassObject$DataEntry.getMap(SharedClassObject.java:867)
Comment 1 salihes 2012-03-23 12:22:48 UTC
Created attachment 117161 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-03-26 19:36:10 UTC
Can anyone reproduce with

-J-Dorg.netbeans.JarClassLoader.level=FINE

please?
Comment 3 mgoe 2012-03-28 14:44:57 UTC
Created attachment 117415 [details]
Logging output while compiling some projects

When using jdk7 (jdk7u3 and jdk7u4ea) to run Netbeans 7.1.1 I'm observing
class not found exceptions several times an hour. I attached the logging output
generated for class loading with FINE granularity. I'm also not able to report
these errors using the Netbeans error reporting framework since trying to report
throws a class not found exception as well.

Best regards,
Martin
Comment 4 mgoe 2012-03-28 14:52:55 UTC
Exception thrown when trying to report error:

java.lang.ClassNotFoundException: com.sun.crypto.provider.RSACipher
	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 java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at java.security.Provider$Service.getImplClass(Provider.java:1279)
Caused: java.security.NoSuchAlgorithmException: class configured for Cipher(provider: SunJCE)cannot be found.
	at java.security.Provider$Service.getImplClass(Provider.java:1285)
	at java.security.Provider$Service.newInstance(Provider.java:1237)
	at javax.crypto.Cipher.chooseProvider(Cipher.java:845)
Caused: java.security.InvalidKeyException: No installed provider supports this key: sun.security.rsa.RSAPublicKeyImpl
	at javax.crypto.Cipher.chooseProvider(Cipher.java:878)
	at javax.crypto.Cipher.init(Cipher.java:1213)
	at javax.crypto.Cipher.init(Cipher.java:1153)
	at org.netbeans.lib.uihandler.PasswdEncryption.encrypt(PasswdEncryption.java:63)
	at org.netbeans.lib.uihandler.PasswdEncryption.encrypt(PasswdEncryption.java:78)
	at org.netbeans.lib.uihandler.PasswdEncryption.encrypt(PasswdEncryption.java:53)
[catch] at org.netbeans.modules.uihandler.Installer$SubmitInteractive.addMoreLogs(Installer.java:2224)
	at org.netbeans.modules.uihandler.Installer$Submit.getUserData(Installer.java:1860)
	at org.netbeans.modules.uihandler.Installer$Submit$1.run(Installer.java:1688)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 5 mgoe 2012-03-28 14:56:59 UTC
When these exceptions have been thrown the IDE no longer works correctly (can't open IDE Log now after NoClassDefFoundError: org/openide/util/actions/CallbackSystemAction$WeakAction)
Comment 6 salihes 2012-04-04 12:19:10 UTC
the same error, it still continues
Comment 7 Jaroslav Tulach 2012-04-04 16:00:23 UTC
Tell me what you have in your JAR files. platform/lib/org-openide-util.jar should contain this class file.
Comment 8 salihes 2012-04-04 16:20:52 UTC
yes, C:\Program Files\NetBeans Dev 201204040400\platform\lib\org-openide-util.jar file is available.
Comment 9 Jaroslav Tulach 2012-04-05 11:26:53 UTC
What is the content of the JAR file?
Comment 10 Tomas Stupka 2012-05-10 19:54:33 UTC
*** Bug 212092 has been marked as a duplicate of this bug. ***
Comment 11 salihes 2012-05-11 12:12:52 UTC
This problem still continues. who found a solution here?