On 8/30/2020 5:20 PM, Glenn Holmer wrote:
On 8/30/20 10:28 AM, Glenn Holmer wrote:
After casting my vote for 12.1 vc1, I encountered 4696 again (on vc1). I added another thread dump:

https://issues.apache.org/jira/browse/NETBEANS-4696

This is starting to worry me. I just saw the same thing when upgrading one of my laptops to 12.1-vc1. This is on first start. The only thing I did that might have been naughty was to rename the beta4 user and cache dirs to 12.1.

I was able to close NetBeans normally. Took another thread dump first and put it to JIRA.

Here's the deadlock, note that parsing.api.ParserManager.parse is one at a time
(full thread dumps in issue report)

A task that's parsing is waiting for projects to finish opening.
Project opener is waiting to parse.

The maven stuff from ProjectOpener looks pretty suspicious, but IDK?????

If it only happens with the html stuff, then maybe the rule is that
a parser isn't supposed to wait for the ProjectOpener.


=== a parsing task
    Some Random Task does parsing, invokes
        at org.netbeans.modules.parsing.api.ParserManager.parse
            (ParserManager.java:81)
    and then does
        at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.root
            (HtmlParserResult.java:119)
    which ends up doing
        at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.get
            (OpenProjectList.java:576)
    and this OpenProjectList$LoadOpenProjects.get() wait for opening to complete


=== "Load Open Projects"
        at org.netbeans.spi.java.project.support.CompilerOptionsQueryMerger
$CompilerOptionsQueryImpl$ResultImpl.lambda$checkProviders$4
            (CompilerOptionsQueryMerger.java:184)
    goes into some maven specific code
        at org.netbeans.modules.maven.queries.UnitTestsCompilerOptionsQueryImpl
            $ResultImpl.getArguments
            (UnitTestsCompilerOptionsQueryImpl.java:155)
    which ends up at
        at org.netbeans.modules.maven.queries.UnitTestsCompilerOptionsQueryImpl
            $ResultImpl.getModuleName
            (UnitTestsCompilerOptionsQueryImpl.java:289)
    and then
        at org.netbeans.modules.parsing.api.ParserManager.parse
            (ParserManager.java:81)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to