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 114875 - NetBeans hangs
Summary: NetBeans hangs
Status: RESOLVED DUPLICATE of bug 110082
Alias: None
Product: obsolete
Classification: Unclassified
Component: Facelets 1.1.x (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-06 13:04 UTC by vieiro
Modified: 2013-02-13 10:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (kill -3 of the JVM). Note AWT thread hung. (22.10 KB, text/plain)
2007-09-06 13:05 UTC, vieiro
Details
messages.log (excerpt) (84.65 KB, text/plain)
2007-09-06 13:08 UTC, vieiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vieiro 2007-09-06 13:04:45 UTC
NetBeans (5.5.1) hangs when an XHTML file is open in the editor.

I have an XHTML file open in the editor. I close NetBeans. I re-open NetBeans and it just hangs (after showing the main
window, which is grey). I re-open NetBeans again and it just hangs (on the "Starting NetBeans IDE" window).

The window remains completely gray, indicating that the AWT thread is hung.

I'm attaching in a minute a thread-dump of the JVM (kill -3) and the latest log.
Comment 1 vieiro 2007-09-06 13:05:52 UTC
Created attachment 48255 [details]
Thread dump (kill -3 of the JVM). Note AWT thread hung.
Comment 2 vieiro 2007-09-06 13:08:54 UTC
Created attachment 48256 [details]
messages.log (excerpt)
Comment 3 Marek Fukala 2007-09-06 13:20:53 UTC
the threadlock is caused by the facelets support

org.netbeans.modules.web.frameworks.facelets.editor.FaceletsContextInfoImpl.getJSPColoringData(FaceletsContextInfoImpl.java:67)

causing that a document writelock is requested under document's readlock.

There has already been such report, reassigning to owner of the module for further resolution.

BTW, the module is no longer in netbeans 6.0, the workaround is to disable the facelets support module.
Comment 4 vieiro 2007-09-06 14:39:33 UTC
Upps. Sorry by that!!

So I assume it can be closed now?

Thanks indeed,
Antonio
Comment 5 Petr Jiricka 2007-09-06 16:30:59 UTC
I am reassigning to facelets module, Petr Pisl (who is the owner of Facelets) can verify and close next week when he
comes from vacation.
Comment 6 Petr Pisl 2007-09-11 13:00:34 UTC
I'm going to fix it asap. I will provide new version of the Fecelets support module for NetBeans 5.5 and 5.5.1. Version
for NetBeans 6.0 should be available soon. 
Comment 7 Petr Pisl 2007-09-14 08:44:49 UTC
This is duplication of issue #110082. I attached there a jar file with possible fix. You can try it and let me know,
whether it helps. 

Thanks

*** This issue has been marked as a duplicate of 110082 ***