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 100519-7f6d88b29728) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: SunOS Stacktrace: java.lang.AssertionError: cannot switch to silent mode when not running at org.netbeans.modules.progress.spi.InternalHandle.toSilent(InternalHandle.java:160) at org.netbeans.api.progress.ProgressHandle.suspend(ProgressHandle.java:119) at org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:259) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137)
Created attachment 99188 [details] stacktrace
Not the fault of progress API, but wrong usage of it.
Created attachment 99190 [details] stacktrace
Created attachment 99193 [details] stacktrace Launched a C/C++ profiling demo on remote host, pressed "Thread microstates details" - exception occurred
Created attachment 99201 [details] stacktrace I just went through the sources, used hyperlink, when exception occurred
Created attachment 99202 [details] stacktrace tried to reproduce the issue 61749 with glassfish v3 and got assertion on View Servlet action
Created attachment 99216 [details] stacktrace
Created attachment 99224 [details] stacktrace switched from borwser to netbeans several times in a row and quickly
Created attachment 99229 [details] stacktrace switched from php to js file
Created attachment 99242 [details] stacktrace
Created attachment 99245 [details] stacktrace
Created attachment 99248 [details] stacktrace help->about
Created attachment 99271 [details] stacktrace
Created attachment 99281 [details] stacktrace
Created attachment 99302 [details] stacktrace Debugging java desktop app with jnlp enabled.
Created attachment 99303 [details] stacktrace
Created attachment 99308 [details] stacktrace just open new project wizard (may ave sense: it's firstide start, new wizardwas invoked after an hour or more after startup)
Created attachment 99310 [details] stacktrace
Created attachment 99315 [details] stacktrace Tried to exit IDE (2 debugging sessions were running)
Created attachment 99325 [details] stacktrace
Created attachment 99329 [details] stacktrace
Created attachment 99330 [details] stacktrace
Created attachment 99331 [details] stacktrace
Created attachment 99333 [details] stacktrace
Created attachment 99366 [details] stacktrace
42 duplicates in last 5 days ... sounds like recent regression
Created attachment 99367 [details] stacktrace
core-main#3fb655a91860 The error is just assert (shall not appear in a release), but probably this still deserves backport to 6.9.
(In reply to comment #28) > The error is just assert (shall not appear in a release), but probably this > still deserves backport to 6.9. I think so, would be really nice to have it fixed for 6.9
Created attachment 99382 [details] Diff against release69_base, please apply to release69 clone
Applied in release69 http://hg.netbeans.org/release69/rev/b7033ed58948
Catching Throwable (i.e. AssertionError, but also ThreadDeath, etc. etc.) is not an acceptable long-term fix; it is a hotfix until the cause of the assertion failure can be properly diagnosed. Either the calling code should not "switch to silent mode while not running" (and the assertion should be changed to an IllegalStateException); or, if this is not really an error, the throw site should be changed to just print a warning or do nothing.
...therefore reopening.
(In reply to comment #33) > ...therefore reopening. created new issue 186636 for tracking this and closing this one for NB 6.9 (avoid having Opened P3 HR FIX issue)
Integrated into 'main-golden', will be available in build *201005250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3fb655a91860 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #186366: Unforgiving APIs require clueless use: Prevent errors by catching them.
*** Bug 200117 has been marked as a duplicate of this bug. ***
*** Bug 162127 has been marked as a duplicate of this bug. ***
*** Bug 147726 has been marked as a duplicate of this bug. ***