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 200697 - Cannot shutdown NetBeans IDE
Summary: Cannot shutdown NetBeans IDE
Status: RESOLVED DUPLICATE of bug 200718
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 11:09 UTC by Peter Nabbefeld
Modified: 2011-08-15 13:18 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 Peter Nabbefeld 2011-08-05 11:09:19 UTC
When closing NB window, I'm always getting the following exception:

java.lang.InternalError: Should never happen
	at org.netbeans.lib.profiler.common.Profiler.getDefault(Profiler.java:125)
	at org.netbeans.modules.profiler.NetBeansProfiler.getDefaultNB(NetBeansProfiler.java:654)
	at org.netbeans.modules.profiler.NetBeansProfiler.isInitialized(NetBeansProfiler.java:660)
	at org.netbeans.modules.profiler.nbimpl.actions.AntActions$1.enable(AntActions.java:130)
	at org.netbeans.modules.project.ui.actions.MainProjectAction$1.run(MainProjectAction.java:220)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:425)
	at org.netbeans.modules.project.ui.actions.MainProjectAction.refreshView(MainProjectAction.java:246)
	at org.netbeans.modules.project.ui.actions.MainProjectAction.propertyChange(MainProjectAction.java:184)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:196)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.updateGlobalState(OpenProjectList.java:357)
	at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.run(OpenProjectList.java:311)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)

Cannot file the exception because of #200694. Cancelling just closes the reporting dialog, but can only shutdown IDE by use of the task manager.
Comment 1 Tomas Hurka 2011-08-05 13:44:09 UTC
This works for me. Please provide steps how to reproduce it with clean user dir. Please attach messages.log.
Comment 2 Peter Nabbefeld 2011-08-05 13:51:21 UTC
1. Did You checkin everything?
2. Did You upgrade all the spec versions?
I'm using auto-update on a regularly-updated dev build.

What does the strange message ("Should never happen") mean? What's probably missing? Can I update sth. manually?

I'm not able to always clean my userdir - NB should handle updates correctly, instead.
Comment 3 Tomas Hurka 2011-08-05 14:07:43 UTC
Util I have a clear steps to reproduce the issue, can I cannot fix it. Sorry.
Comment 4 Peter Nabbefeld 2011-08-05 14:14:35 UTC
(In reply to comment #3)
> Util I have a clear steps to reproduce the issue, can I cannot fix it. Sorry.

I'd be glad if You could at least answer my questions.
Clear steps have been (for me): Just updating profiler.
If I don't know, what the message means, I am not able to give You more details, as currently exception reporter is not working.
Comment 5 Tomas Hurka 2011-08-05 14:39:41 UTC
I am sure, you can at least attach messages.log. I don't know what is going on, so I cannot easily answer to your questions.
Comment 6 Tomas Hurka 2011-08-15 13:18:06 UTC

*** This bug has been marked as a duplicate of bug 200718 ***