You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "John Neffenger (JIRA)" <ji...@apache.org> on 2019/03/22 15:33:00 UTC

[jira] [Updated] (NETBEANS-2290) OnePassCompileWorker AssertionError followed by MultiPassCompileWorker NullPointerException

     [ https://issues.apache.org/jira/browse/NETBEANS-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Neffenger updated NETBEANS-2290:
-------------------------------------
    Environment: 
Product = Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319)
Java = OpenJDK 64-Bit Server VM 12+33
Operating System = Linux version 4.15.0-46-generic running on amd64


  was:
Product Version = Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319)
Operating System = Linux version 4.15.0-46-generic running on amd64
Java; VM; Vendor = 12; OpenJDK 64-Bit Server VM 12+33; Oracle Corporation
Runtime = OpenJDK Runtime Environment 12+33
Java Home = /home/john/opt/jdk-12
System Locale; Encoding = en_US (nb); UTF-8



> OnePassCompileWorker AssertionError followed by MultiPassCompileWorker NullPointerException
> -------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-2290
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2290
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Compiler
>    Affects Versions: 11.0
>         Environment: Product = Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319)
> Java = OpenJDK 64-Bit Server VM 12+33
> Operating System = Linux version 4.15.0-46-generic running on amd64
>            Reporter: John Neffenger
>            Priority: Major
>         Attachments: netbeans-exceptions.txt
>
>
> In NetBeans 9.0, 10.0, and 11.0, I get the following two errors every time I open the NetBeans project containing the OpenJFX graphics module (javafx.graphics) the first time after clearing the cache. If I click through the classes that failed to compile when opening the project, I can eventually get NetBean to compile all of them successfully.
> The errors are:
> {code:java}
> java.lang.AssertionError: Analyzer error when processing:
>     private LinkedList<RunLoopControl> activeRunLoops
>         = new LinkedList<RunLoopControl>()
>     at com.sun.tools.javac.util.Assert.error(Assert.java:162)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
>     OnePassCompileWorker.compile(OnePassCompileWorker.java:257) 
> {code}
> immediately followed by:
> {code:java}
> java.lang.NullPointerException at com.sun.tools.javac.comp.
>     Modules.setCompilationUnitModules(Modules.java:421)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
>     MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
> {code}
> The full text of the error and exception are attached below as the file _netbeans-exceptions.txt_.
> This might be the same problem reported for NetBeans 9.0 in [NETBEANS-1142: Exception when scanning projects|https://issues.apache.org/jira/browse/NETBEANS-1142].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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