Sherab Pereira Arias created NETBEANS-4161:
----------------------------------------------

             Summary: Auto complete not working while editing FXML
                 Key: NETBEANS-4161
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4161
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.3
         Environment: Ubuntu 19.10, Amazon corretto JDK 11, working with a 
project JavaFX 11.02
            Reporter: Sherab Pereira Arias


I'm having issues every time I type into a FXML file, looks like the program is 
trying to download something or display alternatives for the autocomplete but 
fails to do it.

 

 

java.lang.AssertionError
 at com.sun.tools.javac.util.Assert.error(Assert.java:155)
 at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
 at com.sun.tools.javac.comp.Modules.allModules(Modules.java:1265)
 at 
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)
 at 
org.netbeans.modules.javafx2.editor.completion.impl.PropertyCompleter.<init>(PropertyCompleter.java:57)
 at 
org.netbeans.modules.javafx2.editor.completion.impl.PropertyCompleter.createCompleter(PropertyCompleter.java:232)
 at 
org.netbeans.modules.javafx2.editor.completion.impl.InstanceCompleter.createCompleter(InstanceCompleter.java:89)
 at 
org.netbeans.modules.javafx2.editor.completion.impl.PropertyCompleter.createCompleter(PropertyCompleter.java:46)
 at 
org.netbeans.modules.javafx2.editor.FXMLCompletion2$Q$Task.run(FXMLCompletion2.java:185)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
 at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:357)
 at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:340)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
 at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
 at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
 at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
 at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
 at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:311)
 at 
org.netbeans.modules.javafx2.editor.FXMLCompletion2$Q$Task.run(FXMLCompletion2.java:159)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
 at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
 at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
 at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
 at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
 at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
 at 
org.netbeans.modules.javafx2.editor.FXMLCompletion2$Q.query(FXMLCompletion2.java:106)
 at 
org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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

Reply via email to