Bug 144597 - NB freezes when deleting a Flow item & then clicking on Source
NB freezes when deleting a Flow item & then clicking on Source
Status: RESOLVED INCOMPLETE
Product: javame
Classification: Unclassified
Component: Visual Designer
7.0
All All
: P3 (vote)
: TBD
Assigned To: Adam Sotona
issues@mobility
: PERFORMANCE, THREAD
: 156667 159226 170428 178956 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-20 15:30 UTC by sampretorius
Modified: 2010-10-21 10:39 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
nps snapshot (33.69 KB, application/nps)
2010-06-25 18:05 UTC, janario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sampretorius 2008-08-20 15:30:59 UTC
If you create even a little demo Mobility project with a VisualMidlet, then add maybe 4 or 5 forms with various commands
& flow links then click on Source, then go back to Flow & delete a Flow link, then click on Source again, it freezes for
a couple of seconds.

Now, for some real fun, add 10 to 15 forms with 4,000 plus lines of code, now do the same thing & you will find that you
sometimes wait up to 30 seconds for Netbeans to 'unfreeze'!

I've got a DuoCore processor with 2GB RAM & NB5.5 did not have this problem at all.

Thanks, Sam.
Comment 1 Karol Harezlak 2008-08-20 15:40:32 UTC
Could you provide more information about your environment (copy information from Netbeans About window). Thanks
Comment 2 Lukas Hasik 2008-08-20 15:50:52 UTC
please, generate thread dump when the IDE is frozen and attach it here
http://wiki.netbeans.org/GenerateThreadDump
Comment 3 sampretorius 2008-08-21 15:33:50 UTC
Here's more info on my environment:
Product Version: NetBeans IDE 6.5 Beta (Build 200808111757)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_ZA (nb)
Userdir: C:\Documents and Settings\Sam\.netbeans\6.5beta

From System Info:
Duo 1.86 GHz, 1.87 GB of RAM



Here's the thread dump:

To get NB to freeze, I just added a single command button to the visual Flow editor, then clicked on Source.

1856 java.exe ( SalesMagic - NetBeans IDE 6.5 Beta ) session:0 threads:24 parent:4552
2008-08-21 16:29:26
Full thread dump Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode):

"StackTrace Remote Thread" prio=6 tid=0x04295400 nid=0xdd0 waiting on condition [0x00000000..0x068afa60]
   java.lang.Thread.State: RUNNABLE

"Inactive RequestProcessor thread [Was:Default
RequestProcessor/org.netbeans.core.windows.FloatingWindowTransparencyManager$2]" daemon prio=2 tid=0x0415a000 nid=0x116c
in Object.wait() [0x074ff000..0x074ffc94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x17b0d850> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:950)
	- locked <0x17b0d850> (a java.lang.Object)

"Versioning long tasks" daemon prio=2 tid=0x04159800 nid=0x147c in Object.wait() [0x06bff000..0x06bffd14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x12bafb68> (a org.netbeans.modules.mobility.editor.J2MEEditorDocument)
	at java.lang.Object.wait(Object.java:485)
	at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1372)
	- locked <0x12bafb68> (a org.netbeans.modules.mobility.editor.J2MEEditorDocument)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1360)
	at org.netbeans.modules.versioning.Utils.getDocumentReader(Utils.java:180)
	at org.netbeans.modules.versioning.diff.DiffSidebar.getDocumentReader(DiffSidebar.java:454)
	at org.netbeans.modules.versioning.diff.DiffSidebar.access$500(DiffSidebar.java:88)
	at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.computeDiff(DiffSidebar.java:682)
	at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.run(DiffSidebar.java:667)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=2 tid=0x05a9fc00 nid=0x7ac in
Object.wait() [0x057cf000..0x057cfd94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x17a71418> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:950)
	- locked <0x17a71418> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:LineStruct Processor/org.openide.text.LineStruct$1]" daemon prio=2 tid=0x05a9d800
nid=0x1dc in Object.wait() [0x055cf000..0x055cfa14]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x17a61e48> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:950)
	- locked <0x17a61e48> (a java.lang.Object)

"Default RequestProcessor" daemon prio=2 tid=0x04023800 nid=0xd18 in Object.wait() [0x0c71f000..0x0c71fd14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x15c3f6d8> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at org.netbeans.modules.tasklist.impl.FileScanningWorker.run(FileScanningWorker.java:204)
	- locked <0x15c3f6d8> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

"GSF Source Worker Thread" prio=6 tid=0x05dbc800 nid=0x1144 waiting on condition [0x0c91f000..0x0c91fd94]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x159edde0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
	at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245)
	at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1290)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)

"org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" prio=6 tid=0x05db8800 nid=0xcbc in Object.wait()
[0x0c31f000..0x0c31fa14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x159edf20> (a java.util.TaskQueue)
	at java.lang.Object.wait(Object.java:485)
	at java.util.TimerThread.mainLoop(Timer.java:483)
	- locked <0x159edf20> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"Java Source Worker Thread" prio=6 tid=0x05d65c00 nid=0x1678 waiting on condition [0x0c11f000..0x0c11fa94]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x15945ad0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
	at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245)
	at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1553)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)

"DestroyJavaVM" prio=6 tid=0x002a8000 nid=0x14d8 waiting on condition [0x00000000..0x00abfd4c]
   java.lang.Thread.State: RUNNABLE

"AWT-EventQueue-1" prio=6 tid=0x03ad3400 nid=0xfb8 runnable [0x07f1e000..0x07f1fc14]
   java.lang.Thread.State: RUNNABLE
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
	at java.util.regex.Pattern$Branch.match(Pattern.java:4114)
	at java.util.regex.Pattern$Start.match(Pattern.java:3055)
	at java.util.regex.Matcher.search(Matcher.java:1105)
	at java.util.regex.Matcher.find(Matcher.java:535)
	at org.netbeans.editor.CustomFoldManager.scanToken(CustomFoldManager.java:439)
	at org.netbeans.editor.CustomFoldManager.getMarkList(CustomFoldManager.java:244)
	at org.netbeans.editor.CustomFoldManager.processTokenList(CustomFoldManager.java:262)
	at org.netbeans.editor.CustomFoldManager.updateFolds(CustomFoldManager.java:320)
	at org.netbeans.editor.CustomFoldManager.removeUpdate(CustomFoldManager.java:113)
	at org.netbeans.modules.editor.fold.FoldOperationImpl.removeUpdate(FoldOperationImpl.java:216)
	at org.netbeans.modules.editor.fold.FoldHierarchyExecution.removeUpdate(FoldHierarchyExecution.java:728)
	at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.removeUpdate(PriorityDocumentListenerList.java:85)
	at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:243)
	at org.netbeans.editor.BaseDocument.fireRemoveUpdate(BaseDocument.java:1615)
	at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:917)
	at org.netbeans.modules.vmd.api.codegen.CodeWriter.commit(CodeWriter.java:123)
	at org.netbeans.modules.vmd.midp.components.sources.EventSourceCD$2.generateMultiGuardedSectionCode(EventSourceCD.java:144)
	at
org.netbeans.modules.vmd.api.codegen.CodeMultiGuardedLevelPresenter.generateMultiGuardedSectionCode(CodeMultiGuardedLevelPresenter.java:61)
	at
org.netbeans.modules.vmd.midp.components.listeners.EventListenerCode$CodeCommandListenerPresenter.resolveSecondLevel(EventListenerCode.java:279)
	at
org.netbeans.modules.vmd.midp.components.listeners.EventListenerCode$CodeCommandListenerPresenter.resolveFirstLevel(EventListenerCode.java:255)
	at
org.netbeans.modules.vmd.midp.components.listeners.EventListenerCode$CodeCommandListenerPresenter.generateClassBodyCode(EventListenerCode.java:233)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator.generateCodeCore(JavaCodeGenerator.java:128)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator.access$100(JavaCodeGenerator.java:60)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator$2.run(JavaCodeGenerator.java:93)
	at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:294)
	at org.openide.text.NbDocument.runAtomic(NbDocument.java:384)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator.generateCode(JavaCodeGenerator.java:91)
	at org.netbeans.modules.vmd.midp.codegen.MidpCodeGenerator.updateCodeFromModel(MidpCodeGenerator.java:80)
	at org.netbeans.modules.vmd.io.CodeResolver$3.run(CodeResolver.java:169)
	at org.openide.util.Mutex.readAccess(Mutex.java:362)
	at org.netbeans.modules.vmd.api.model.TransactionManager$1.run(TransactionManager.java:87)
	at org.openide.util.Mutex.readAccess(Mutex.java:362)
	at org.netbeans.modules.vmd.api.model.DescriptorRegistry$2.run(DescriptorRegistry.java:121)
	at org.openide.util.Mutex.readAccess(Mutex.java:362)
	at org.netbeans.modules.vmd.api.model.GlobalDescriptorRegistry.readAccess(GlobalDescriptorRegistry.java:159)
	at org.netbeans.modules.vmd.api.model.DescriptorRegistry.readAccess(DescriptorRegistry.java:119)
	at org.netbeans.modules.vmd.api.model.TransactionManager.readAccess(TransactionManager.java:85)
	at org.netbeans.modules.vmd.io.CodeResolver.update(CodeResolver.java:166)
	- locked <0x129b62c8> (a org.netbeans.modules.vmd.io.CodeResolver)
	at org.netbeans.modules.vmd.io.CodeResolver.viewActivated(CodeResolver.java:93)
	at org.netbeans.modules.vmd.api.io.providers.IOSupport.notifyDataEditorViewActivated(IOSupport.java:238)
	at org.netbeans.modules.vmd.io.editor.EditorViewElement.componentActivated(EditorViewElement.java:135)
	at org.netbeans.core.multiview.MultiViewPeer$SelectionListener.selectionActivatedByButton(MultiViewPeer.java:709)
	at org.netbeans.core.multiview.MultiViewModel.fireActivateCurrent(MultiViewModel.java:253)
	- locked <0x12b06928> (a java.util.ArrayList)
	at org.netbeans.core.multiview.TabsComponent$ButtonMouseListener.mousePressed(TabsComponent.java:458)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
	at java.awt.Component.processMouseEvent(Component.java:6035)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

"TimerQueue" daemon prio=6 tid=0x05a73c00 nid=0xde4 in Object.wait() [0x0678f000..0x0678fc94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x1282c358> (a javax.swing.TimerQueue)
	at javax.swing.TimerQueue.run(TimerQueue.java:236)
	- locked <0x1282c358> (a javax.swing.TimerQueue)
	at java.lang.Thread.run(Thread.java:619)

"*** JFluid Separate Command Execution Thread" daemon prio=6 tid=0x02e8a800 nid=0x107c in Object.wait()
[0x06f9f000..0x06f9fa14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x12803668> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:101)
	- locked <0x12803668> (a java.lang.Object)

"Thread-4" daemon prio=2 tid=0x03ae2c00 nid=0xfc4 in Object.wait() [0x076ff000..0x076ffb14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x126d1400> (a java.util.LinkedList)
	at java.lang.Object.wait(Object.java:485)
	at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1461)
	- locked <0x126d1400> (a java.util.LinkedList)

"AWT-Windows" daemon prio=6 tid=0x05a22c00 nid=0x1504 runnable [0x0653f000..0x0653fd94]
   java.lang.Thread.State: RUNNABLE
	at sun.awt.windows.WToolkit.eventLoop(Native Method)
	at sun.awt.windows.WToolkit.run(WToolkit.java:290)
	at java.lang.Thread.run(Thread.java:619)

"AWT-Shutdown" prio=6 tid=0x05a22000 nid=0x117c in Object.wait() [0x0633f000..0x0633fa14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11dbd808> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
	- locked <0x11dbd808> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:619)

"Java2D Disposer" daemon prio=10 tid=0x059fec00 nid=0x1528 in Object.wait() [0x0603f000..0x0603fa94]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11dbd8a0> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x11dbd8a0> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
	at sun.java2d.Disposer.run(Disposer.java:125)
	at java.lang.Thread.run(Thread.java:619)

"Active Reference Queue Daemon" daemon prio=2 tid=0x03b7c800 nid=0x1034 in Object.wait() [0x059df000..0x059dfb14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11da2538> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x11da2538> (a java.lang.ref.ReferenceQueue$Lock)
	at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3076)
	at java.lang.Thread.run(Thread.java:619)

"Timer-0" daemon prio=6 tid=0x03b71800 nid=0xdf8 in Object.wait() [0x053cf000..0x053cfc94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11dbdcf0> (a java.util.TaskQueue)
	at java.util.TimerThread.mainLoop(Timer.java:509)
	- locked <0x11dbdcf0> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"CLI Requests Server" daemon prio=6 tid=0x03b71400 nid=0xf78 runnable [0x051cf000..0x051cfd14]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
	- locked <0x11dbdd48> (a java.net.SocksSocketImpl)
	at java.net.ServerSocket.implAccept(ServerSocket.java:453)
	at java.net.ServerSocket.accept(ServerSocket.java:421)
	at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1002)

"Low Memory Detector" daemon prio=6 tid=0x02e3ec00 nid=0x1404 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x02e3a000 nid=0x10cc waiting on condition [0x00000000..0x0374f798]
   java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x02e39000 nid=0x1028 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x02e38000 nid=0x146c runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x02e28c00 nid=0x158 in Object.wait() [0x032ff000..0x032ffc94]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11da2920> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x11da2920> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x02e24800 nid=0xb04 in Object.wait() [0x030ff000..0x030ffd14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11da2560> (a java.lang.ref.Reference$Lock)
	at java.lang.Object.wait(Object.java:485)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
	- locked <0x11da2560> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x02e21400 nid=0x14b8 runnable 

"VM Periodic Task Thread" prio=10 tid=0x02e40400 nid=0x151c waiting on condition 



=================
System Properties
=================

 java.vendor=Sun Microsystems Inc.
 netbeans.user=C:\Documents and Settings\Sam\.netbeans\6.5beta
 sun.java.launcher=SUN_STANDARD
 sun.management.compiler=HotSpot Client Compiler
 os.name=Windows XP
 sun.boot.class.path=C:\Program Files\Java\jdk1.6.0_03\jre\lib\resources.jar;C:\Program
Files\Java\jdk1.6.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.6.0_03\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.6.0_03\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_03\jre\classes
 netbeans.importclass=org.netbeans.upgrade.AutoUpgrade
 rave.version=2.0.0
 sun.desktop=windows
 java.vm.specification.vendor=Sun Microsystems Inc.
 java.runtime.version=1.6.0_03-b05
 netbeans.accept_license_class=org.netbeans.license.AcceptLicense
 user.name=Sam
 rave.build=thresher-fcs
 javax.xml.parsers.SAXParserFactory=org.netbeans.core.startup.SAXFactoryImpl
 user.language=en
 sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_03\jre\bin
 java.version=1.6.0_03
 user.timezone=Africa/Harare
 sun.arch.data.model=32
 http.nonProxyHosts=localhost|127.0.0.1|user-dfcace23d9
 java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0_03\jre\lib\endorsed
 com.sun.aas.installRoot=C:\Program Files\glassfish-v2ur2
 sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
 sun.jnu.encoding=Cp1252
 file.encoding.pkg=sun.io
 file.separator=\
 java.specification.name=Java Platform API Specification
 java.class.version=50.0
 user.country=ZA
 java.home=C:\Program Files\Java\jdk1.6.0_03\jre
 javax.xml.parsers.DocumentBuilderFactory=org.netbeans.core.startup.DOMFactoryImpl
 netbeans.buildnumber=200808111757
 java.vm.info=mixed mode
 org.openide.version=deprecated
 org.openide.TopManager=org.netbeans.core.NonGui
 os.version=5.1
 netbeans.system_http_proxy=DIRECT
 https.nonProxyHosts=localhost|127.0.0.1|user-dfcace23d9
 sun.awt.keepWorkingSetOnMinimize=true
 path.separator=;
 java.vm.version=1.6.0_03-b05
 user.variant=
 netbeans.dynamic.classpath=C:\Program Files\NetBeans 6.5 Beta\platform9\core\core.jar;C:\Program Files\NetBeans 6.5
Beta\platform9\core\org-openide-filesystems.jar;C:\Program Files\NetBeans 6.5
Beta\nb6.5\core\org-netbeans-upgrader.jar;C:\Program Files\NetBeans 6.5 Beta\nb6.5\core\locale\core_nb.jar
 java.awt.printerjob=sun.awt.windows.WPrinterJob
 sun.io.unicode.encoding=UnicodeLittle
 awt.toolkit=sun.awt.windows.WToolkit
 org.openide.major.version=IDE/1
 org.openide.TopManager.GUI=true
 sun.awt.exception.handler=org.netbeans.core.startup.TopLogging$AWTHandler
 user.home=C:\Documents and Settings\Sam
 netbeans.home=C:\Program Files\NetBeans 6.5 Beta\platform9
 java.specification.vendor=Sun Microsystems Inc.
 apple.laf.useScreenMenuBar=true
 org.xml.sax.driver=com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
 java.library.path=C:\Program
Files\Java\jdk1.6.0_03\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;c:\ym20;C:\Program Files\IDM
Computer Solutions\UltraEdit-32;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program
Files\QuickTime\QTSystem\;C:\Mercurial;C:\Program Files\TortoiseHg;C:\Program Files\Java\jre1.6.0_03\bin;C:\Documents
and Settings\Sam\My Documents\Borland Studio Projects\Bpl;c:\ym20
 java.vendor.url=http://java.sun.com/
 java.vm.vendor=Sun Microsystems Inc.
 java.runtime.name=Java(TM) SE Runtime Environment
 java.class.path=C:\Program Files\NetBeans 6.5 Beta\platform9\lib\boot.jar;C:\Program Files\NetBeans 6.5
Beta\platform9\lib\org-openide-modules.jar;C:\Program Files\NetBeans 6.5
Beta\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_03\lib\dt.jar;C:\Program
Files\Java\jdk1.6.0_03\lib\tools.jar
 nb.backup.javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
 sun.java2d.noddraw=true
 jdk.home=C:\Program Files\Java\jdk1.6.0_03
 java.vm.specification.name=Java Virtual Machine Specification
 org.openide.specification.version=6.2
 java.vm.specification.version=1.0
 sun.cpu.endian=little
 sun.os.patch.level=Service Pack 3
 java.io.tmpdir=c:\tmp\
 java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
 netbeans.dirs=C:\Program Files\NetBeans 6.5 Beta\nb6.5;C:\Program Files\NetBeans 6.5 Beta\ide10;C:\Program
Files\NetBeans 6.5 Beta\java2;C:\Program Files\NetBeans 6.5 Beta\xml2;C:\Program Files\NetBeans 6.5
Beta\apisupport1;C:\Program Files\NetBeans 6.5 Beta\webcommon1;C:\Program Files\NetBeans 6.5
Beta\websvccommon1;C:\Program Files\NetBeans 6.5 Beta\enterprise5;C:\Program Files\NetBeans 6.5
Beta\mobility8;C:\Program Files\NetBeans 6.5 Beta\profiler3;C:\Program Files\NetBeans 6.5 Beta\gsf1;C:\Program
Files\NetBeans 6.5 Beta\visualweb2;C:\Program Files\NetBeans 6.5 Beta\identity2;C:\Program Files\NetBeans 6.5
Beta\harness;C:\Program Files\NetBeans 6.5 Beta\groovy1
 org.glassfish.v3.installRoot=C:\Program Files\glassfish-v3-prelude-b15b
 os.arch=x86
 java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
 nb.backup.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
 java.util.logging.config.class=org.netbeans.core.startup.TopLogging
 java.ext.dirs=C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
 user.dir=C:\Program Files\NetBeans 6.5 Beta
 line.separator=

 java.vm.name=Java HotSpot(TM) Client VM
 file.encoding=Cp1252
 netbeans.system_http_non_proxy_hosts=
 java.specification.version=1.6
 netbeans.logger.console=true


============
Command line
============

"C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.exe" "-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade"
"-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense" "-Dorg.glassfish.v3.installRoot=C:\Program
Files\glassfish-v3-prelude-b15b" "-Dcom.sun.aas.installRoot=C:\Program Files\glassfish-v2ur2" "-client" "-Xverify:none"
"-Xss2m" "-Xms32m" "-XX:PermSize=32m" "-XX:MaxPermSize=200m" "-Dnetbeans.logger.console=true" "-ea"
"-Dapple.laf.useScreenMenuBar=true" "-Dsun.java2d.noddraw=true" "-Xmx383m" "-Djdk.home=C:\Program
Files\Java\jdk1.6.0_03" "-Dnetbeans.home=C:\Program Files\NetBeans 6.5 Beta\platform9" "-Dnetbeans.dirs=C:\Program
Files\NetBeans 6.5 Beta\nb6.5;C:\Program Files\NetBeans 6.5 Beta\ide10;C:\Program Files\NetBeans 6.5
Beta\java2;C:\Program Files\NetBeans 6.5 Beta\xml2;C:\Program Files\NetBeans 6.5 Beta\apisupport1;C:\Program
Files\NetBeans 6.5 Beta\webcommon1;C:\Program Files\NetBeans 6.5 Beta\websvccommon1;C:\Program Files\NetBeans 6.5
Beta\enterprise5;C:\Program Files\NetBeans 6.5 Beta\mobility8;C:\Program Files\NetBeans 6.5 Beta\profiler3;C:\Program
Files\NetBeans 6.5 Beta\gsf1;C:\Program Files\NetBeans 6.5 Beta\visualweb2;C:\Program Files\NetBeans 6.5
Beta\identity2;C:\Program Files\NetBeans 6.5 Beta\harness;C:\Program Files\NetBeans 6.5 Beta\groovy1"
"-Dnetbeans.user=C:\Documents and Settings\Sam\.netbeans\6.5beta" "-Dnetbeans.system_http_proxy=DIRECT"
"-Dnetbeans.system_http_non_proxy_hosts=" "-Dsun.awt.keepWorkingSetOnMinimize=true" -cp "C:\Program Files\NetBeans 6.5
Beta\platform9\lib\boot.jar;C:\Program Files\NetBeans 6.5 Beta\platform9\lib\org-openide-modules.jar;C:\Program
Files\NetBeans 6.5 Beta\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_03\lib\dt.jar;C:\Program
Files\Java\jdk1.6.0_03\lib\tools.jar" org/netbeans/Main "--branding" "nb" 


======
Memory
======

Used: 107008000 (~102MB)
Free: 32784384 (~31MB)
Total: 139792384 (~133MB)
Max: 399572992 (~381MB)
[###########################========.................................................................]

Available Processors: 2

================================================================================

1856 java.exe ( SalesMagic - NetBeans IDE 6.5 Beta ) session:0 threads:24 parent:4552
2008-08-21 16:30:33
Full thread dump Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode):

"StackTrace Remote Thread" prio=6 tid=0x04123400 nid=0xe90 runnable [0x00000000..0x068afa60]
   java.lang.Thread.State: RUNNABLE

"Versioning long tasks" daemon prio=2 tid=0x04159800 nid=0x147c in Object.wait() [0x06bff000..0x06bffd14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x12bafb68> (a org.netbeans.modules.mobility.editor.J2MEEditorDocument)
	at java.lang.Object.wait(Object.java:485)
	at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1372)
	- locked <0x12bafb68> (a org.netbeans.modules.mobility.editor.J2MEEditorDocument)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1360)
	at org.netbeans.modules.versioning.Utils.getDocumentReader(Utils.java:180)
	at org.netbeans.modules.versioning.diff.DiffSidebar.getDocumentReader(DiffSidebar.java:454)
	at org.netbeans.modules.versioning.diff.DiffSidebar.access$500(DiffSidebar.java:88)
	at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.computeDiff(DiffSidebar.java:682)
	at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.run(DiffSidebar.java:667)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

"Inactive RequestProcessor thread [Was:LineStruct Processor/org.openide.text.LineStruct$1]" daemon prio=2 tid=0x05a9fc00
nid=0x7ac in Object.wait() [0x057cf000..0x057cfd94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x17a71418> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:950)
	- locked <0x17a71418> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:LineStruct Processor/org.openide.text.LineStruct$2]" daemon prio=2 tid=0x05a9d800
nid=0x1dc in Object.wait() [0x055cf000..0x055cfa14]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x17a61e48> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:950)
	- locked <0x17a61e48> (a java.lang.Object)

"Default RequestProcessor" daemon prio=2 tid=0x04023800 nid=0xd18 in Object.wait() [0x0c71f000..0x0c71fd14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x15c3f6d8> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at org.netbeans.modules.tasklist.impl.FileScanningWorker.run(FileScanningWorker.java:204)
	- locked <0x15c3f6d8> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

"GSF Source Worker Thread" prio=6 tid=0x05dbc800 nid=0x1144 waiting on condition [0x0c91f000..0x0c91fd94]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x159edde0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
	at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245)
	at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1290)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)

"org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" prio=6 tid=0x05db8800 nid=0xcbc in Object.wait()
[0x0c31f000..0x0c31fa14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x159edf20> (a java.util.TaskQueue)
	at java.lang.Object.wait(Object.java:485)
	at java.util.TimerThread.mainLoop(Timer.java:483)
	- locked <0x159edf20> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"Java Source Worker Thread" prio=6 tid=0x05d65c00 nid=0x1678 waiting on condition [0x0c11f000..0x0c11fa94]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x15945ad0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
	at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245)
	at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1553)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)

"DestroyJavaVM" prio=6 tid=0x002a8000 nid=0x14d8 waiting on condition [0x00000000..0x00abfd4c]
   java.lang.Thread.State: RUNNABLE

"AWT-EventQueue-1" prio=6 tid=0x03ad3400 nid=0xfb8 waiting for monitor entry [0x07f1e000..0x07f1fc14]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at javax.swing.event.EventListenerList.add(EventListenerList.java:161)
	- waiting to lock <0x148379e0> (a javax.swing.event.EventListenerList)
	at org.openide.util.lookup.ProxyLookup$R.addLookupListener(ProxyLookup.java:473)
	at org.netbeans.editor.CollapsedView.getColoring(CollapsedView.java:121)
	at org.netbeans.editor.CollapsedView.getCollapsedFoldStringWidth(CollapsedView.java:181)
	at org.netbeans.editor.CollapsedView.getPreferredSpan(CollapsedView.java:173)
	at org.netbeans.lib.editor.view.SimpleViewLayoutState.doUpdateLayout(SimpleViewLayoutState.java:197)
	at org.netbeans.lib.editor.view.SimpleViewLayoutState.updateLayout(SimpleViewLayoutState.java:171)
	at org.netbeans.lib.editor.view.GapBoxViewChildren.childrenUpdateLayout(GapBoxViewChildren.java:900)
	at org.netbeans.lib.editor.view.GapBoxViewChildren.childrenUpdateLayout(GapBoxViewChildren.java:905)
	at org.netbeans.lib.editor.view.GapBoxView.updateLayout(GapBoxView.java:750)
	at org.netbeans.lib.editor.view.GapBoxViewChildren.childrenUpdateLayout(GapBoxViewChildren.java:900)
	at org.netbeans.lib.editor.view.GapBoxViewChildren.childrenUpdateLayout(GapBoxViewChildren.java:905)
	at org.netbeans.lib.editor.view.GapBoxView.updateLayout(GapBoxView.java:750)
	at org.netbeans.editor.DrawEngineDocView.foldHierarchyChanged(DrawEngineDocView.java:317)
	at org.netbeans.modules.editor.fold.FoldHierarchyExecution.fireFoldHierarchyListener(FoldHierarchyExecution.java:330)
	at org.netbeans.modules.editor.fold.FoldHierarchyExecution.createAndFireFoldHierarchyEvent(FoldHierarchyExecution.java:556)
	at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.commit(FoldHierarchyTransactionImpl.java:235)
	at org.netbeans.modules.editor.fold.FoldHierarchyExecution.insertUpdate(FoldHierarchyExecution.java:712)
	at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:70)
	at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185)
	at org.netbeans.editor.BaseDocument.fireInsertUpdate(BaseDocument.java:1612)
	at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:770)
	at org.netbeans.modules.vmd.api.codegen.CodeWriter.commit(CodeWriter.java:124)
	at
org.netbeans.modules.vmd.midp.components.general.ClassCode$CodeLazyInitPresenter.generateClassBodyCode(ClassCode.java:129)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator.generateCodeCore(JavaCodeGenerator.java:128)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator.access$100(JavaCodeGenerator.java:60)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator$2.run(JavaCodeGenerator.java:93)
	at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:294)
	at org.openide.text.NbDocument.runAtomic(NbDocument.java:384)
	at org.netbeans.modules.vmd.api.codegen.JavaCodeGenerator.generateCode(JavaCodeGenerator.java:91)
	at org.netbeans.modules.vmd.midp.codegen.MidpCodeGenerator.updateCodeFromModel(MidpCodeGenerator.java:80)
	at org.netbeans.modules.vmd.io.CodeResolver$3.run(CodeResolver.java:169)
	at org.openide.util.Mutex.readAccess(Mutex.java:362)
	at org.netbeans.modules.vmd.api.model.TransactionManager$1.run(TransactionManager.java:87)
	at org.openide.util.Mutex.readAccess(Mutex.java:362)
	at org.netbeans.modules.vmd.api.model.DescriptorRegistry$2.run(DescriptorRegistry.java:121)
	at org.openide.util.Mutex.readAccess(Mutex.java:362)
	at org.netbeans.modules.vmd.api.model.GlobalDescriptorRegistry.readAccess(GlobalDescriptorRegistry.java:159)
	at org.netbeans.modules.vmd.api.model.DescriptorRegistry.readAccess(DescriptorRegistry.java:119)
	at org.netbeans.modules.vmd.api.model.TransactionManager.readAccess(TransactionManager.java:85)
	at org.netbeans.modules.vmd.io.CodeResolver.update(CodeResolver.java:166)
	- locked <0x129b62c8> (a org.netbeans.modules.vmd.io.CodeResolver)
	at org.netbeans.modules.vmd.io.CodeResolver.viewActivated(CodeResolver.java:93)
	at org.netbeans.modules.vmd.api.io.providers.IOSupport.notifyDataEditorViewActivated(IOSupport.java:238)
	at org.netbeans.modules.vmd.io.editor.EditorViewElement.componentActivated(EditorViewElement.java:135)
	at org.netbeans.core.multiview.MultiViewPeer$SelectionListener.selectionActivatedByButton(MultiViewPeer.java:709)
	at org.netbeans.core.multiview.MultiViewModel.fireActivateCurrent(MultiViewModel.java:253)
	- locked <0x12b06928> (a java.util.ArrayList)
	at org.netbeans.core.multiview.TabsComponent$ButtonMouseListener.mousePressed(TabsComponent.java:458)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
	at java.awt.Component.processMouseEvent(Component.java:6035)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

"TimerQueue" daemon prio=6 tid=0x05a73c00 nid=0xde4 in Object.wait() [0x0678f000..0x0678fc94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x1282c358> (a javax.swing.TimerQueue)
	at javax.swing.TimerQueue.run(TimerQueue.java:236)
	- locked <0x1282c358> (a javax.swing.TimerQueue)
	at java.lang.Thread.run(Thread.java:619)

"*** JFluid Separate Command Execution Thread" daemon prio=6 tid=0x02e8a800 nid=0x107c in Object.wait()
[0x06f9f000..0x06f9fa14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x12803668> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:101)
	- locked <0x12803668> (a java.lang.Object)

"Thread-4" daemon prio=2 tid=0x03ae2c00 nid=0xfc4 in Object.wait() [0x076ff000..0x076ffb14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x126d1400> (a java.util.LinkedList)
	at java.lang.Object.wait(Object.java:485)
	at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1461)
	- locked <0x126d1400> (a java.util.LinkedList)

"AWT-Windows" daemon prio=6 tid=0x05a22c00 nid=0x1504 runnable [0x0653f000..0x0653fd94]
   java.lang.Thread.State: RUNNABLE
	at sun.awt.windows.WToolkit.eventLoop(Native Method)
	at sun.awt.windows.WToolkit.run(WToolkit.java:290)
	at java.lang.Thread.run(Thread.java:619)

"AWT-Shutdown" prio=6 tid=0x05a22000 nid=0x117c in Object.wait() [0x0633f000..0x0633fa14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11dbd808> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
	- locked <0x11dbd808> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:619)

"Java2D Disposer" daemon prio=10 tid=0x059fec00 nid=0x1528 in Object.wait() [0x0603f000..0x0603fa94]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11dbd8a0> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x11dbd8a0> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
	at sun.java2d.Disposer.run(Disposer.java:125)
	at java.lang.Thread.run(Thread.java:619)

"Active Reference Queue Daemon" daemon prio=2 tid=0x03b7c800 nid=0x1034 runnable [0x059df000..0x059dfb14]
   java.lang.Thread.State: RUNNABLE
	at sun.reflect.Reflection.getClassAccessFlags(Native Method)
	at sun.reflect.Reflection.quickCheckMemberAccess(Reflection.java:51)
	at java.lang.reflect.Method.invoke(Method.java:576)
	at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:440)
	at $Proxy2.equals(Unknown Source)
	at javax.swing.event.EventListenerList.remove(EventListenerList.java:207)
	- locked <0x148379e0> (a javax.swing.event.EventListenerList)
	at org.openide.util.lookup.ProxyLookup$R.removeLookupListener(ProxyLookup.java:480)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:584)
	at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3097)
	at java.lang.Thread.run(Thread.java:619)

"Timer-0" daemon prio=6 tid=0x03b71800 nid=0xdf8 in Object.wait() [0x053cf000..0x053cfc94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11dbdcf0> (a java.util.TaskQueue)
	at java.util.TimerThread.mainLoop(Timer.java:509)
	- locked <0x11dbdcf0> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"CLI Requests Server" daemon prio=6 tid=0x03b71400 nid=0xf78 runnable [0x051cf000..0x051cfd14]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
	- locked <0x11dbdd48> (a java.net.SocksSocketImpl)
	at java.net.ServerSocket.implAccept(ServerSocket.java:453)
	at java.net.ServerSocket.accept(ServerSocket.java:421)
	at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1002)

"Low Memory Detector" daemon prio=6 tid=0x02e3ec00 nid=0x1404 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x02e3a000 nid=0x10cc waiting on condition [0x00000000..0x0374f798]
   java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x02e39000 nid=0x1028 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x02e38000 nid=0x146c runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x02e28c00 nid=0x158 in Object.wait() [0x032ff000..0x032ffc94]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11da2920> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x11da2920> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x02e24800 nid=0xb04 in Object.wait() [0x030ff000..0x030ffd14]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x11da2560> (a java.lang.ref.Reference$Lock)
	at java.lang.Object.wait(Object.java:485)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
	- locked <0x11da2560> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x02e21400 nid=0x14b8 runnable 

"VM Periodic Task Thread" prio=10 tid=0x02e40400 nid=0x151c waiting on condition 



=================
System Properties
=================

 java.vendor=Sun Microsystems Inc.
 netbeans.user=C:\Documents and Settings\Sam\.netbeans\6.5beta
 sun.java.launcher=SUN_STANDARD
 sun.management.compiler=HotSpot Client Compiler
 os.name=Windows XP
 sun.boot.class.path=C:\Program Files\Java\jdk1.6.0_03\jre\lib\resources.jar;C:\Program
Files\Java\jdk1.6.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.6.0_03\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.6.0_03\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_03\jre\classes
 netbeans.importclass=org.netbeans.upgrade.AutoUpgrade
 rave.version=2.0.0
 sun.desktop=windows
 java.vm.specification.vendor=Sun Microsystems Inc.
 java.runtime.version=1.6.0_03-b05
 netbeans.accept_license_class=org.netbeans.license.AcceptLicense
 user.name=Sam
 rave.build=thresher-fcs
 javax.xml.parsers.SAXParserFactory=org.netbeans.core.startup.SAXFactoryImpl
 user.language=en
 sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_03\jre\bin
 java.version=1.6.0_03
 user.timezone=Africa/Harare
 sun.arch.data.model=32
 http.nonProxyHosts=localhost|127.0.0.1|user-dfcace23d9
 java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0_03\jre\lib\endorsed
 com.sun.aas.installRoot=C:\Program Files\glassfish-v2ur2
 sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
 sun.jnu.encoding=Cp1252
 file.encoding.pkg=sun.io
 file.separator=\
 java.specification.name=Java Platform API Specification
 java.class.version=50.0
 user.country=ZA
 java.home=C:\Program Files\Java\jdk1.6.0_03\jre
 javax.xml.parsers.DocumentBuilderFactory=org.netbeans.core.startup.DOMFactoryImpl
 netbeans.buildnumber=200808111757
 java.vm.info=mixed mode
 org.openide.version=deprecated
 org.openide.TopManager=org.netbeans.core.NonGui
 os.version=5.1
 netbeans.system_http_proxy=DIRECT
 https.nonProxyHosts=localhost|127.0.0.1|user-dfcace23d9
 sun.awt.keepWorkingSetOnMinimize=true
 path.separator=;
 java.vm.version=1.6.0_03-b05
 user.variant=
 netbeans.dynamic.classpath=C:\Program Files\NetBeans 6.5 Beta\platform9\core\core.jar;C:\Program Files\NetBeans 6.5
Beta\platform9\core\org-openide-filesystems.jar;C:\Program Files\NetBeans 6.5
Beta\nb6.5\core\org-netbeans-upgrader.jar;C:\Program Files\NetBeans 6.5 Beta\nb6.5\core\locale\core_nb.jar
 java.awt.printerjob=sun.awt.windows.WPrinterJob
 sun.io.unicode.encoding=UnicodeLittle
 awt.toolkit=sun.awt.windows.WToolkit
 org.openide.major.version=IDE/1
 org.openide.TopManager.GUI=true
 sun.awt.exception.handler=org.netbeans.core.startup.TopLogging$AWTHandler
 user.home=C:\Documents and Settings\Sam
 netbeans.home=C:\Program Files\NetBeans 6.5 Beta\platform9
 java.specification.vendor=Sun Microsystems Inc.
 apple.laf.useScreenMenuBar=true
 org.xml.sax.driver=com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
 java.library.path=C:\Program
Files\Java\jdk1.6.0_03\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;c:\ym20;C:\Program Files\IDM
Computer Solutions\UltraEdit-32;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program
Files\QuickTime\QTSystem\;C:\Mercurial;C:\Program Files\TortoiseHg;C:\Program Files\Java\jre1.6.0_03\bin;C:\Documents
and Settings\Sam\My Documents\Borland Studio Projects\Bpl;c:\ym20
 java.vendor.url=http://java.sun.com/
 java.vm.vendor=Sun Microsystems Inc.
 java.runtime.name=Java(TM) SE Runtime Environment
 java.class.path=C:\Program Files\NetBeans 6.5 Beta\platform9\lib\boot.jar;C:\Program Files\NetBeans 6.5
Beta\platform9\lib\org-openide-modules.jar;C:\Program Files\NetBeans 6.5
Beta\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_03\lib\dt.jar;C:\Program
Files\Java\jdk1.6.0_03\lib\tools.jar
 nb.backup.javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
 sun.java2d.noddraw=true
 jdk.home=C:\Program Files\Java\jdk1.6.0_03
 java.vm.specification.name=Java Virtual Machine Specification
 org.openide.specification.version=6.2
 java.vm.specification.version=1.0
 sun.cpu.endian=little
 sun.os.patch.level=Service Pack 3
 java.io.tmpdir=c:\tmp\
 java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
 netbeans.dirs=C:\Program Files\NetBeans 6.5 Beta\nb6.5;C:\Program Files\NetBeans 6.5 Beta\ide10;C:\Program
Files\NetBeans 6.5 Beta\java2;C:\Program Files\NetBeans 6.5 Beta\xml2;C:\Program Files\NetBeans 6.5
Beta\apisupport1;C:\Program Files\NetBeans 6.5 Beta\webcommon1;C:\Program Files\NetBeans 6.5
Beta\websvccommon1;C:\Program Files\NetBeans 6.5 Beta\enterprise5;C:\Program Files\NetBeans 6.5
Beta\mobility8;C:\Program Files\NetBeans 6.5 Beta\profiler3;C:\Program Files\NetBeans 6.5 Beta\gsf1;C:\Program
Files\NetBeans 6.5 Beta\visualweb2;C:\Program Files\NetBeans 6.5 Beta\identity2;C:\Program Files\NetBeans 6.5
Beta\harness;C:\Program Files\NetBeans 6.5 Beta\groovy1
 org.glassfish.v3.installRoot=C:\Program Files\glassfish-v3-prelude-b15b
 os.arch=x86
 java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
 nb.backup.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
 java.util.logging.config.class=org.netbeans.core.startup.TopLogging
 java.ext.dirs=C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
 user.dir=C:\Program Files\NetBeans 6.5 Beta
 line.separator=

 java.vm.name=Java HotSpot(TM) Client VM
 file.encoding=Cp1252
 netbeans.system_http_non_proxy_hosts=
 java.specification.version=1.6
 netbeans.logger.console=true


============
Command line
============

"C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.exe" "-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade"
"-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense" "-Dorg.glassfish.v3.installRoot=C:\Program
Files\glassfish-v3-prelude-b15b" "-Dcom.sun.aas.installRoot=C:\Program Files\glassfish-v2ur2" "-client" "-Xverify:none"
"-Xss2m" "-Xms32m" "-XX:PermSize=32m" "-XX:MaxPermSize=200m" "-Dnetbeans.logger.console=true" "-ea"
"-Dapple.laf.useScreenMenuBar=true" "-Dsun.java2d.noddraw=true" "-Xmx383m" "-Djdk.home=C:\Program
Files\Java\jdk1.6.0_03" "-Dnetbeans.home=C:\Program Files\NetBeans 6.5 Beta\platform9" "-Dnetbeans.dirs=C:\Program
Files\NetBeans 6.5 Beta\nb6.5;C:\Program Files\NetBeans 6.5 Beta\ide10;C:\Program Files\NetBeans 6.5
Beta\java2;C:\Program Files\NetBeans 6.5 Beta\xml2;C:\Program Files\NetBeans 6.5 Beta\apisupport1;C:\Program
Files\NetBeans 6.5 Beta\webcommon1;C:\Program Files\NetBeans 6.5 Beta\websvccommon1;C:\Program Files\NetBeans 6.5
Beta\enterprise5;C:\Program Files\NetBeans 6.5 Beta\mobility8;C:\Program Files\NetBeans 6.5 Beta\profiler3;C:\Program
Files\NetBeans 6.5 Beta\gsf1;C:\Program Files\NetBeans 6.5 Beta\visualweb2;C:\Program Files\NetBeans 6.5
Beta\identity2;C:\Program Files\NetBeans 6.5 Beta\harness;C:\Program Files\NetBeans 6.5 Beta\groovy1"
"-Dnetbeans.user=C:\Documents and Settings\Sam\.netbeans\6.5beta" "-Dnetbeans.system_http_proxy=DIRECT"
"-Dnetbeans.system_http_non_proxy_hosts=" "-Dsun.awt.keepWorkingSetOnMinimize=true" -cp "C:\Program Files\NetBeans 6.5
Beta\platform9\lib\boot.jar;C:\Program Files\NetBeans 6.5 Beta\platform9\lib\org-openide-modules.jar;C:\Program
Files\NetBeans 6.5 Beta\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_03\lib\dt.jar;C:\Program
Files\Java\jdk1.6.0_03\lib\tools.jar" org/netbeans/Main "--branding" "nb" 


======
Memory
======

Used: 117402608 (~112MB)
Free: 22389776 (~21MB)
Total: 139792384 (~133MB)
Max: 399572992 (~381MB)
[#############################======.................................................................]

Available Processors: 2
Comment 4 sampretorius 2008-08-21 15:40:30 UTC
My apologies lhasik, you asked me to attach & I pasted it..

Sam
Comment 5 sampretorius 2008-08-27 09:35:36 UTC
Is there anything else you guys need? Any update on this? Have you been able to duplicate this behavior?

Thanks
Sam
Comment 6 Karol Harezlak 2008-08-27 10:43:17 UTC
So far I did not have time to evaluate it, so you need to wait for few days. 
Comment 7 Karol Harezlak 2008-09-09 17:06:39 UTC
Product Version: NetBeans IDE Dev (Build 080908)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-b02
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/karolharezlak/trunk/main/nbbuild/testuserdir

I've crated project with about 45 different components and dozens of transitions/commands/elements. Source code
generated by this components was about to 2000 lines long. Code generation took about 3-4 seconds. My machine is MacBook
Pro 2GHz dual core. Code generation dose not take advantage of multiprocessing so it does not matter if you have more
then one CPU. I guess in your case it could take longer because generation of 4k lines of code may take some time.
Source code is regenerated every time user makes changes in the Visaul Midlet so thats why you observe observe UI
freezes every time you make a change and switch to the Source code. I would suggest you to split this project into two
or three smaller Midlets it'd help to maintain project and help with slow code generation. There is one exception form
this rule component SVGForm during the code generation parsing XML files and speed of the code generation depends on
size of the SVG Image XML. In future releases we'd like improve Model and source generation to make it smarter so it'd
be no need for regeneration  of the whole source code just components marked as changed. Unfortunatly it requires deep
changes inside of the model. 
Comment 8 Karol Harezlak 2009-01-13 13:07:27 UTC
*** Issue 156667 has been marked as a duplicate of this issue. ***
Comment 9 Karol Harezlak 2009-03-11 10:42:29 UTC
*** Issue 159226 has been marked as a duplicate of this issue. ***
Comment 10 Karol Harezlak 2009-09-03 08:40:36 UTC
*** Issue 170428 has been marked as a duplicate of this issue. ***
Comment 11 Karol Harezlak 2010-04-01 07:36:40 UTC
*** Bug 178956 has been marked as a duplicate of this bug. ***
Comment 12 janario 2010-06-25 18:05:23 UTC
Created attachment 100425 [details]
nps snapshot
Comment 13 Adam Sotona 2010-09-13 13:16:34 UTC
Attached NPS snapshot shows some very intensive external Ant activities with one CPU consumed by the log copy into NetBeans output window.
The rest CPU consumption is not related with Visual Designer.

Manual measurement did not confirm the case.

Please re-open when this happen again with corresponding NPS snapshot.
Comment 15 Vladimir Voskresensky 2010-10-21 07:39:37 UTC
reassigning to java, because I don't use mobility and snapshots are marked with
com.sun.tools.javac.parser.JavacParser.term3
Comment 16 Dusan Balek 2010-10-21 08:47:17 UTC
The last snapshot added by Vladimir Voskresensky obviously belongs to another issue - reassigning back.
Comment 17 Vladimir Voskresensky 2010-10-21 09:24:21 UTC
Hi Dusan,

my snapshot was attached to 
http://statistics.netbeans.org/analytics/detail.do?id=155971
which is associated with this issue
4 other snapshots before mine have the same problems.
May be something is wrong with exception reporter?
Comment 18 Adam Sotona 2010-10-21 09:56:35 UTC
Dusan is right, the attached snapshot displays AWT thread beeing blocked by JUnit TestMethodAction.enable()

If you have a snapshot related to "NB freezes when deleting a Flow item & then clicking on Source", please attach it here. 
If you found another case, please create a new isssue.
Comment 19 Vladimir Voskresensky 2010-10-21 10:39:02 UTC
Adam, I do not control this...
IDE generates slowness report, I agree to report it => IDE says it is attached to 
http://statistics.netbeans.org/analytics/detail.do?id=155971

155971 says, that *this* issue tracks problems of that kind of slowness which is obviously incorrect.

So, someone should fix attaching com.sun.tools.javac.parser.JavacParser.term3 issues to http://statistics.netbeans.org/analytics/detail.do?id=155971
and move all corresponding snapshots to another bug.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo