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 211420 - Switching between project groups causes java.lang.AssertionError
Summary: Switching between project groups causes java.lang.AssertionError
Status: RESOLVED DUPLICATE of bug 208681
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-19 06:15 UTC by mienamoo
Modified: 2012-04-20 14:57 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 mienamoo 2012-04-19 06:15:01 UTC
NetBeans build 201204150400
JDK 7u3 32-bit

When switching between project groups the first time after starting the IDE, the exception below occurs. The project group is still opened correctly, and it does not happen again for subsequent switches while the IDE is running.


java.lang.AssertionError
	at org.openide.text.CloneableEditor$DoInitialize.initNonVisual(CloneableEditor.java:628)
	at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:367)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1493)
	at org.openide.text.CloneableEditor$DoInitialize.<init>(CloneableEditor.java:332)
	at org.openide.text.CloneableEditor.initialize(CloneableEditor.java:248)
	at org.openide.text.CloneableEditor.componentShowing(CloneableEditor.java:223)
	at org.openide.windows.WindowManager.componentShowing(WindowManager.java:339)
	at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1163)
	at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:168)
	at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:273)
	at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:249)
	at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:187)
	at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:127)
	at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:1004)
	at org.netbeans.core.windows.ModeImpl.removeTopComponent(ModeImpl.java:478)
	at org.netbeans.core.windows.ModeImpl.close(ModeImpl.java:286)
	at org.netbeans.core.windows.WindowManagerImpl.topComponentClose(WindowManagerImpl.java:1284)
	at org.openide.windows.TopComponent.close(TopComponent.java:561)
	at org.openide.windows.TopComponent.close(TopComponent.java:548)
	at org.netbeans.modules.project.ui.ProjectUtilities$1.doClose(ProjectUtilities.java:204)
	at org.netbeans.modules.project.ui.ProjectUtilities$1.access$200(ProjectUtilities.java:103)
	at org.netbeans.modules.project.ui.ProjectUtilities$1$1.run(ProjectUtilities.java:139)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
	at java.awt.EventQueue.access$000(EventQueue.java:101)
	at java.awt.EventQueue$3.run(EventQueue.java:666)
	at java.awt.EventQueue$3.run(EventQueue.java:664)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Comment 1 Jesse Glick 2012-04-19 15:47:22 UTC
Please use the exception reporter, which would pick an appropriate component automatically, upload your log file, and look for duplicate reports.
Comment 2 Miloslav Metelka 2012-04-20 14:57:14 UTC

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