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 256889 - NoClassDefFoundError: Could not initialize class org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager$LazyInitializer
Summary: NoClassDefFoundError: Could not initialize class org.netbeans.modules.cnd.deb...
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 10:41 UTC by Exceptions Reporter
Modified: 2016-01-20 07:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221434


Attachments
stacktrace (2.51 KB, text/plain)
2015-12-01 10:41 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-12-01 10:41:52 UTC
This bug was originally marked as duplicate of bug 240472, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: cannot set or execute breakpoints




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager$LazyInitializer
   at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager$LazyInitializer.access$300(NativeDebuggerManager.java:193)
   at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager.get(NativeDebuggerManager.java:211)
   at org.netbeans.modules.cnd.debugger.common2.debugger.actions.NativeActionsProvider.getDebugger(NativeActionsProvider.java:89)
   at org.netbeans.modules.cnd.debugger.common2.debugger.actions.NativeActionsProvider.<init>(NativeActionsProvider.java:65)
   at org.netbeans.modules.cnd.debugger.common2.debugger.actions.ToggleBreakpointActionProvider.<init>(ToggleBreakpointActionProvider.java:91)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
Comment 1 Exceptions Reporter 2015-12-01 10:41:54 UTC
Created attachment 157577 [details]
stacktrace
Comment 2 Alexander Simon 2016-01-20 07:12:29 UTC
Problem in third party module. Exception:
Caused: java.lang.NullPointerException
	at com.MYDevelopers.LuaDebugger.Watches.WatchesPersistenceManager.<init>(WatchesPersistenceManager.java:33)
	at com.MYDevelopers.LuaDebugger.PersistenceManager.<init>(PersistenceManager.java:31)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at java.lang.Class.newInstance(Class.java:442)
	at org.netbeans.spi.debugger.ContextAwareSupport.createInstance(ContextAwareSupport.java:137)
	at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList$LazyInstance.getEntry(Lookup.java:1127)
	at org.netbeans.api.debugger.Lookup$LookupList$LookupLazyEntry.get(Lookup.java:1296)
	at org.netbeans.api.debugger.LazyArrayList.get(LazyArrayList.java:161)
	at org.netbeans.api.debugger.DebuggerManager.refreshDebuggerManagerListeners(DebuggerManager.java:1547)
	at org.netbeans.api.debugger.DebuggerManager.initDebuggerManagerListeners(DebuggerManager.java:1524)
	at org.netbeans.api.debugger.DebuggerManager.initWatches(DebuggerManager.java:1262)
	at org.netbeans.api.debugger.DebuggerManager.getWatches(DebuggerManager.java:675)
	at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager.getWatches(NativeDebuggerManager.java:1426)
	at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager.watchBag(NativeDebuggerManager.java:1366)
	at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager$LazyInitializer.<clinit>(NativeDebuggerManager.java:206)
Comment 3 Alexander Simon 2016-01-20 07:14:56 UTC
It seems DebuggerManager should catch exception if one of listeners is broken.
Reassign to evaluation.
Comment 4 Alexander Simon 2016-01-20 07:39:51 UTC
Plugin is:
http://plugins.netbeans.org/plugin/52786/lua-glider-netbeans-edition