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.
Run AnagramGame, memory profiling, track stack traces. In live results window invoke 'Take snapshot and Show Allocation stacktaces' java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thread only, see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/ threading.html at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak (WindowManagerImpl.java:1191) at org.netbeans.core.windows.WindowManagerImpl.topComponentActivatedNodesChanged (WindowManagerImpl.java:1095) at org.openide.windows.TopComponent.setActivatedNodes(TopComponent.java:279) at org.netbeans.modules.profiler.SnapshotResultsWindow.updateSaveState (SnapshotResultsWindow.java:142) at org.netbeans.modules.profiler.SnapshotResultsWindow.<init>(SnapshotResultsWindow.java: 120) at org.netbeans.modules.profiler.SnapshotResultsWindow.get(SnapshotResultsWindow.java:76) at org.netbeans.modules.profiler.LiveResultsWindow$MemoryActionsHandler$1.run (LiveResultsWindow.java:550) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:525) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:957) WARNING [global]
This is a regression cause by fix of issue #74914
Fixed, affected code is run from event dispatch thread again. Note that this bug seems to occur on all systems except Windows.
Verified with Profiler 070205 NetBeans IDE Dev (Build 200702011900) 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251