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 176796 - java.lang.InternalError: Should never happen
Summary: java.lang.InternalError: Should never happen
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-11-13 07:38 UTC by Tomas Hurka
Modified: 2009-11-16 03:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2009-11-13 07:38:19 UTC
Tests running with gui(false) throws
ava.lang.InternalError: Should never happen
at org.netbeans.lib.profiler.common.Profiler.getDefault(Profiler.java:131)
at org.netbeans.modules.profiler.ProfilerModule.closing(ProfilerModule.java:84)
at org.netbeans.core.startup.NbInstaller.closing(NbInstaller.java:681)
at org.netbeans.ModuleManager.shutDown(ModuleManager.java:1573)
at org.netbeans.core.startup.ModuleSystem.shutDown(ModuleSystem.java:291)
at org.netbeans.core.NbTopManager.doExit(NbTopManager.java:526)
at org.netbeans.core.NbTopManager.access$600(NbTopManager.java:93)
at org.netbeans.core.NbTopManager$ExitActions.run(NbTopManager.java:477)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 Tomas Hurka 2009-11-13 07:40:00 UTC
This is regression caused by fix of issue #170036. Luckily the exception is harmless and does not break anything.
Comment 2 Tomas Hurka 2009-11-13 07:51:58 UTC
Fixed in profiler-main
changeset:   152583:024d26e9cc40
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Nov 13 15:50:35 2009 +0100
summary:     bugfix #176796, if the profiler was not initilaized, do nothing in closing()
Comment 3 Quality Engineering 2009-11-16 03:21:22 UTC
Integrated into 'main-golden', will be available in build *200911160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/024d26e9cc40
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #176796, if the profiler was not initilaized, do nothing in closing()