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 71001 - [JDK 6.0]Unexpected delay when creating new file in Web wizard
Summary: [JDK 6.0]Unexpected delay when creating new file in Web wizard
Status: CLOSED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: JDK_SPECIFIC, PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-01-04 15:53 UTC by Dan Kolar
Modified: 2011-06-09 09:51 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump in and after delay (52.95 KB, text/plain)
2006-01-04 17:16 UTC, Dan Kolar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kolar 2006-01-04 15:53:05 UTC
Build 200601022030

1) Have a WebApp
2) Right click on WebApp -> New -> Servlet/Java class/Java package/Web service
3) From this panel use "Back" button
4) Wizard shows 'please wait' and it takes about 2mins to show appropriate
"Choose File Type" panel and its contents. This happens, when mouse pointer is
located over NB window, moving it to Windows Program bar results in drawing of
panel in a sec. Same happens after switching active program via Alt + Tab.

With other files types in "New" (JSP, HTML, Web service client) is "Choose File
Type" shown in a sec, as well as after "Back" -> "Next" -> "Back".
Comment 1 Marek Fukala 2006-01-04 16:15:33 UTC
Please attach some threaddumps got during the delay...
Comment 2 Dan Kolar 2006-01-04 17:16:54 UTC
Created attachment 28186 [details]
Thread dump in and after delay
Comment 3 Radko Najman 2006-01-06 15:48:15 UTC
Cannot reproduce on Linux and I haven't seen this problem on Windows as well.

I don't think this is a web wizard problem because "Choose File Type" panel is
not provided by web module and there is no reference to the web module code in
the attached stack trace as well.

Reassigning to openide to evaluate.
Comment 4 Radko Najman 2006-01-06 15:54:50 UTC
Maybe one more question to Milan before bothering the openide team - Milane, is
there anything in the web service wizard which could cause this delay?
Comment 5 Milan Kuchtiak 2006-01-06 16:06:32 UTC
I think, primarily this should be resolved for simple java class.
Comment 6 Jiri Rechtacek 2006-01-12 16:02:31 UTC
Easy reproducible with my recent build:
  Product Version         = NetBeans IDE Dev (Build 060105)
  Operating System        = Linux version 2.6.12 running on i386
  Java; VM; Vendor; Home  = 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b66;
Sun Microsystems Inc.; /space/shared/java/jdk1.6.0/jre

The problem may be in project/ui/TemplatesPanelGUI, the method doFinished is not
called till the wizard's window re-displayed, looks as the WarmUpJob is not
correctly attached in this case.
Comment 7 Marian Mirilovic 2006-01-12 16:40:26 UTC
I am not able to reproduce it in NB5.0-RC1 ;( 
Comment 8 Marian Mirilovic 2006-01-12 16:54:37 UTC
Reproducible only with JDK 6.0, by the way it's annoying, you have to initialize
the dialog once again to get it work ;(
Comment 9 _ rkubacki 2006-01-16 08:33:11 UTC
Honzo: is the AsyncGUIJob support broken on Mustang?
Comment 10 Jan Lahoda 2006-01-16 09:47:24 UTC
I think so, but I have not done any testing yet.
Comment 11 Milan Kubec 2007-09-13 09:38:38 UTC
I'm not able to reproduce any difference between JDK 1.5 and JDK 1.6 and also there is no delay as described. Closing.
Comment 12 Marian Mirilovic 2011-06-09 09:51:47 UTC
v/c