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 41391 - IDe hangs when creating new java file from the custom template
Summary: IDe hangs when creating new java file from the custom template
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 09:07 UTC by Estehin
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the custom template for Java Class (959 bytes, text/plain)
2004-03-26 09:09 UTC, Estehin
Details
the file that is created when IDE hangs (971 bytes, text/plain)
2004-03-26 09:11 UTC, Estehin
Details
The thread dump obtained when IDE was hanged (18.94 KB, text/plain)
2004-05-24 15:05 UTC, olegestekhin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Estehin 2004-03-26 09:07:46 UTC
I can not reproduce this behaviour purposely, it 
just happens from time to time.

1) create new file from the package context menu: 
RMC on package > New > Java Class
2) Enter the file name and press "finish"

After that IDE may hang - it will not respond to 
any command (except to minimise and maximise) and 
it will not redraw its window so it will be 
uniform gray if some other window will overlap 
it. Actualy it will start from not redrawing the 
part of its window that was obscured by the "New 
Wizard - Java Class" dialog.

The only way to do something to it is to end the 
process from the task manager.

But the file with the specified name is created 
and all macroses inside it are resolved to 
appropriate strings except the name of the 
constructor that remains the same as it was in 
the template.
Comment 1 Estehin 2004-03-26 09:09:33 UTC
Created attachment 14164 [details]
the custom template for Java Class
Comment 2 Estehin 2004-03-26 09:11:56 UTC
Created attachment 14165 [details]
the file that is created when IDE hangs
Comment 3 Milan Kubec 2004-04-05 09:21:24 UTC
Reassigning for evaluation.
Comment 4 Jan Pokorsky 2004-04-05 09:56:50 UTC
Please run the ide in console and take the thread dump when ide hangs.
Comment 5 olegestekhin 2004-05-24 15:05:13 UTC
Created attachment 15095 [details]
The thread dump obtained when IDE was hanged
Comment 6 Martin Matula 2004-07-17 11:45:50 UTC
The thread-dump was provided -> removing INCOMPLETE keyword. Looks
like a deadlock. Honzo, please check whether it is still relevant.
Comment 7 Jan Pokorsky 2004-07-19 09:22:05 UTC
It is no more relevant for promo-D. Code involved in this deadlock was
removed. Closing as wontfix.