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 178754 - AWT thread blocked for 30484 ms.
Summary: AWT thread blocked for 30484 ms.
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-12-16 14:04 UTC by emcmanus
Modified: 2010-05-19 13:14 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163706


Attachments
nps snapshot (256.00 KB, application/nps)
2009-12-16 14:04 UTC, emcmanus
Details
nps snapshot (256.00 KB, application/nps)
2009-12-29 20:48 UTC, Exceptions Reporter
Details
nps snapshot (256.00 KB, application/nps)
2010-01-11 17:36 UTC, Exceptions Reporter
Details
nps snapshot (256.00 KB, application/nps)
2010-01-11 17:53 UTC, Exceptions Reporter
Details
nps snapshot (256.00 KB, application/nps)
2010-02-03 05:33 UTC, Alexandr Scherbatiy
Details
nps snapshot (256.00 KB, application/nps)
2010-02-03 05:42 UTC, Alexandr Scherbatiy
Details
IDE Thread Dump (16.53 KB, text/plain)
2010-04-21 10:50 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emcmanus 2009-12-16 14:04:33 UTC
This bug was originally marked as duplicate of bug 171969, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X, 10.6.2, x86_64

User Comments:
emcmanus: Changing to another project group.


Maximum slowness yet reported was 30484 ms, average is 30484
Comment 1 emcmanus 2009-12-16 14:04:39 UTC
Created attachment 92685 [details]
nps snapshot
Comment 2 Exceptions Reporter 2009-12-29 20:48:10 UTC
Created attachment 92995 [details]
nps snapshot
Comment 3 Exceptions Reporter 2010-01-11 17:36:20 UTC
Created attachment 93198 [details]
nps snapshot

project string search
Comment 4 Exceptions Reporter 2010-01-11 17:53:21 UTC
Created attachment 93199 [details]
nps snapshot

When listing an unexpanded packet, sometimes it responses so slowly.
Comment 5 Alexandr Scherbatiy 2010-02-03 05:33:46 UTC
Created attachment 93795 [details]
nps snapshot

I downloaded the JavaFX Runtime, opened the javafx-ui-control  project and used Go To Source action
Comment 6 Alexandr Scherbatiy 2010-02-03 05:42:48 UTC
Created attachment 93796 [details]
nps snapshot

I downloaded the JavaFX SDK Runtime and opened the javafx-ui-controls, created a JavaFX class and tried to rename the class name.
Comment 7 Anton Chechel 2010-03-10 09:37:07 UTC
refactoring - yardus
Comment 8 J Bachorik 2010-03-11 03:10:02 UTC
Was addressed by http://hg.netbeans.org/javafx/rev/85a382840aaf
Comment 9 Alexandr Scherbatiy 2010-03-29 10:24:23 UTC
unable to reproduce in build NetBeans-JavaFX-Soma: #200
Comment 10 Winston Prakash 2010-04-16 00:10:18 UTC
Is this really fixed?. I see this all the time while I'm working using JavaFX (6.9 beta).
When I click on the explorer node to bring up the context menu it takes up to 5 secs to popup. A little window at the bottom always asks me to report it. I'm keep reporting it.

This is very counter productive.
Comment 11 Winston Prakash 2010-04-16 00:16:34 UTC
Some steps to reproduce

- Open a large JavaFX project (Note, my project has about 80 JavaFX classes)
- Open a particular JavaFX file
- Do some modification and Save
- Immediately right click on the same file node in the project explorer

Notice the context menuu takes several seconds to open. The delay is really prominent if you see "scanning the project.." at the status bar.
Comment 12 J Bachorik 2010-04-19 10:26:59 UTC
Winston, I think you are really talking about #178754. It has just been fixed, FYI.
Comment 13 J Bachorik 2010-04-19 10:28:39 UTC
Please, ignore the issue number in the last comment. Bugzilla is playing tricks with me. The number I was to mention was #183968
Comment 14 Alexandr Scherbatiy 2010-04-21 10:49:02 UTC
I tried to play with it and my IDE hangs for some time. 
The Thread Dump is attached.

It is different form the issue 183968.

But probably it could be another known issue.
Comment 15 Alexandr Scherbatiy 2010-04-21 10:50:05 UTC
Created attachment 97780 [details]
IDE Thread Dump
Comment 16 Alexandr Scherbatiy 2010-04-21 10:50:35 UTC
"AWT-EventQueue-1" prio=6 tid=0x03f4b400 nid=0x7c8 runnable [0x0566e000]
   java.lang.Thread.State: RUNNABLE
	at java.util.zip.Deflater.deflateBytes(Native Method)
	at java.util.zip.Deflater.deflate(Deflater.java:290)
	- locked <0x15e7c2e0> (a java.util.zip.Deflater)
	at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:159)
	at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118)
	at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72)
	- locked <0x15e8c318> (a java.util.zip.GZIPOutputStream)
	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838)
	at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1747)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
	at java.util.TreeMap.writeObject(TreeMap.java:2252)
	at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
Comment 17 J Bachorik 2010-04-21 11:28:20 UTC
The last stacktrace just shows the self-sampler engine going astray. AFAIK, it is a known problem in NB and it is being worked on right now.
Comment 18 Alexandr Scherbatiy 2010-04-21 11:36:05 UTC
I got the issue in the latest build NetBeans-JavaFX-Soma: #228 (Apr 21, 2010 12:01:48 AM)
Comment 19 Alexandr Scherbatiy 2010-05-19 13:14:12 UTC
verified in netbeans-trunk-nightly-201005182201-javafx-windows.exe