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.
Build: NetBeans IDE Dev (Build 090515) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: SunOS, 5.10, x86 User comments: STACKTRACE: (first 10 lines) org.openide.util.RequestProcessor$Item: task failed: java.lang.AssertionError at org.openide.util.RequestProcessor$Item.fillInStackTrace(RequestProcessor.java:853) at java.lang.Throwable.<init>(Throwable.java:181) at java.lang.Exception.<init>(Exception.java:29) at org.openide.util.RequestProcessor$Item.<init>(RequestProcessor.java:819) at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:629) at org.openide.util.RequestProcessor.post(RequestProcessor.java:295) at org.openide.util.RequestProcessor.post(RequestProcessor.java:266) at org.netbeans.modules.cnd.modelimpl.trace.TraceXRef.traceProjectRefsStatistics(TraceXRef.java:285) at org.netbeans.modules.cnd.modelui.trace.TestProjectReferencesAction.testProject(TestProjectReferencesAction.java:181) at org.netbeans.modules.cnd.modelui.trace.TestProjectReferencesAction.performAction(TestProjectReferencesAction.java:157)
nothing wrong on CND side. May be editor team can evaluate? because assert is from at org.netbeans.modules.editor.mimelookup.impl.SwitchLookup.lookup(SwitchLookup.java:99) see http://statistics.netbeans.org/exceptions/detail.do?id=151219
Umm, something strange going on in ProxyLookup. I'll leave it for Jarda to figure out under what circumstances this assertion can be thrown. I don't see it.
A bug in JDK I guess. What else could lead code like following example to failure?: synchronized (ProxyLookup.this) { tmpLkps = getData().getLookups(false); } private ImmutableInternalData getData() { assert Thread.holdsLock(this); return data; } info about JDK: Operating System = SunOS version 5.10 running on x86 Java; VM; Vendor = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_11-b03 Java Home = /usr/jdk/instances/jdk1.6.0_11/jre Compiler: HotSpot Client Compiler Heap memory usage: initial 32.0MB maximum 1488.5MB Non heap memory usage: initial 54.0MB maximum 252.0MB Garbage collector: Copy (Collections=204 Total time spent=0s) Garbage collector: MarkSweepCompact (Collections=0 Total time spent=0s) Classes: loaded=6580 total loaded=6580 unloaded 0