When I was developing web application using maven, netbeans was deadlocked.
My environment is following:
OS: Mac OS X 10.6.2
I attach relevant thread dump.
Created attachment 93408 [details]
*** Bug 179997 has been marked as a duplicate of this bug. ***
Reassigning to default owner.
Can you check this? Looks like a bug in XAM/XDM to me, but not sure. Looks a bit different from bug #191796.
- locked <0x0000000115457338> (a org.netbeans.modules.xml.xdm.XDMModel)
the code in XDMAccess is called under a XAM transaction.
Since we support both poms with a namespace declaration and without it, POMComponentFactoryImpl.getQName() needs to query the namespace of the current file.
the POMModelVisitor.visit(Project) method checks in the beginning if synchronization is required, however only that piece of code is part of a transaction, the following reading operations that are performed in that method are not. And during the execution of the method the underlying model is created/updated..
reassigning to xml/xam, please advice what is the appropriate threading model with regard to model synchronization..
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.