Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
NB-12.1, jdk-14, no nb-javac, Win7, no userdir/cachedir,
startup do not import settings
Description
To reproduce (create/open fxml file)
- NewProject > JavaWithMaven > FXML JavaFX Maven Archetype (Gluon)
- Open primary.fxml, in "other sources" "source/main/resources" <package>
- put cursor within xml, for example after "<children>"
- Enter Ctrl-Space to bring up code completion
Observe:
- Typically have to go through a couple web certification dialogs
- Typically repeat Ctrl-Space and there's a "downloading..." that never finishes
Note: Works OK when running on and using jdk1.8 with nb-javac.
Fails with JDK assertion: Assert.checkNonNull(allModules)
(full message log attached)
java.lang.AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155) at jdk.compiler/com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62) at jdk.compiler/com.sun.tools.javac.comp.Modules.allModules(Modules.java:1205) at jdk.compiler/com.sun.tools.javac.model.JavacElements.getAllModuleElements(JavacElements.java:126) at org.netbeans.modules.java.source.ElementUtils.getTypeElementByBinaryName(ElementUtils.java:49) at org.netbeans.api.java.source.ElementHandle.getTypeElementByBinaryName(ElementHandle.java:666) at org.netbeans.api.java.source.ElementHandle.resolveImpl(ElementHandle.java:163) at org.netbeans.api.java.source.ElementHandle.resolve(ElementHandle.java:132) at org.netbeans.modules.javafx2.editor.completion.impl.InstanceCompleter.<init>(InstanceCompleter.java:54)
Attachments
Attachments
Issue Links
- links to