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 192478

Summary: Hang in AbstractModel.startTransaction
Product: projects Reporter: dao <dao>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jglick
Priority: P3 Keywords: THREAD
Version: 7.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Netbeans ThreadDump

Description dao 2010-11-25 15:17:50 UTC
Created attachment 103330 [details]
Netbeans ThreadDump

1- Created a JavaEE6 maven project.
2- Open project properties "Framework tab".
3- Select "Java Server Faces" and components lib "primefaces"
4- Save project properties.
The dialog windows "writing project properties" hanged and never closed till I've kill the process.
Comment 1 Jesse Glick 2010-11-29 20:14:14 UTC
I think dupe of some open issue.
Comment 2 Milos Kleint 2012-03-20 15:57:43 UTC
the relevant code is no longer present in the current codebase:
"AWT-EventQueue-1" prio=6 tid=0x0a994000 nid=0x1c64 waiting for monitor entry [0x0b98d000]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at org.netbeans.modules.xml.xam.AbstractModel.rollbackTransaction(AbstractModel.java:434)
	- waiting to lock <0x1e1a80b0> (a org.netbeans.modules.maven.model.pom.impl.POMModelImpl)
	at org.netbeans.modules.maven.customizer.CustomizerProviderImpl$OptionListener$1.run(CustomizerProviderImpl.java:285)

The pom file is now saved in non-awt thread and avoids a lengthy xam transaction (and doesn't need to be rollbacked now).
Comment 3 Jesse Glick 2012-03-26 23:06:36 UTC

*** This bug has been marked as a duplicate of bug 207463 ***