You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "David Botterill (JIRA)" <ji...@apache.org> on 2019/02/19 00:53:00 UTC

[jira] [Created] (NETBEANS-2139) Code completion exception causing code completion to fail.

David Botterill created NETBEANS-2139:
-----------------------------------------

             Summary: Code completion exception causing code completion to fail.
                 Key: NETBEANS-2139
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2139
             Project: NetBeans
          Issue Type: Bug
            Reporter: David Botterill


java.lang.AssertionError
    at com.sun.tools.javac.util.Assert.error(Assert.java:155)
    at com.sun.tools.javac.util.Assert.check(Assert.java:46)
    at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
    at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
    at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:479)
    at com.sun.tools.javadoc.main.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:84)
    at org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:92)
    at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
    at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1184)
    at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673)
    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:749)
    at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:773)
    at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1350)
    at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:73)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673)
    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:749)
    at org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:880)
    at org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:810)
    at org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:716)
    at org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.instanceOf(JavaCodeTemplateProcessor.java:548)
    at org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:397)
    at org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:143)
    at org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
    at org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
    at org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
    at org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
    at org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
    at org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
    at org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
    at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
    at java.awt.Component.processKeyEvent(Component.java:6491)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
    at java.awt.Component.processEvent(Component.java:6310)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
    at java.awt.Component.dispatchEventImpl(Component.java:4760)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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