Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2131

CCE: JDK11, Goto type 'WebView'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: java - Navigation
    • Labels:
      None

      Description

      Running the NetBeans 11 VC1 on JDK11 with an empty dir. Created "Java with Maven/Java Frontend App". Then I tried Ctrl-O and jump to `WebView`. Nothing happens and this is the text on the console:

       

      Even though the source level of  is set to: 11, java.util.zip.CRC32C cannot be found on the system module path:
      Changing source level to 1.8
      SEVERE [global]
      java.lang.ClassCastException: class com.sun.tools.javac.jvm.ClassReader$1 cannot be cast to class com.sun.tools.javac.code.Type$ErrorType (com.sun.tools.javac.jvm.ClassReader$1 and com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @49d43819)
              at org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:858)
              at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1107)
              at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitVariable(CodeGenerator.java:520)
              at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitVariable(CodeGenerator.java:285)
              at com.sun.tools.javac.code.Symbol$VarSymbol.accept(Symbol.java:1606)
              at javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106)
              at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:367)
              at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285)
              at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473)
              at javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106)
              at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:367)
              at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285)
              at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473)
              at javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106)
              at org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275)
              at org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232)
              at org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152)
              at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672)
              at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662)
              at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
              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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
              at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
              at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683)
              at org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
              at org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44)
              at org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118)
              at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99)
              at org.netbeans.modules.java.source.ui.JavaTypeDescription.open(JavaTypeDescription.java:121)
              at org.netbeans.modules.jumpto.type.GoToTypeAction.actionPerformed(GoToTypeAction.java:153)
              at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151)
              at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962)
              at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
              at org.openide.explorer.view.TreeView$ExplorerTree.processKeyEvent(TreeView.java:1870)
              at java.desktop/java.awt.Component.processEvent(Component.java:6409)
              at java.desktop/java.awt.Container.processEvent(Container.java:2263)
              at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
              at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
              at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
              at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
              at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:871)
              at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1140)
              at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1010)
              at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:836)
              at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
              at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
              at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
              at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
              at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
              at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
              at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
              at java.base/java.security.AccessController.doPrivileged(Native Method)
              at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
              at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
              at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
              at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
              at java.base/java.security.AccessController.doPrivileged(Native Method)
              at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
              at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
              at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
      [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
              at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
              at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
              at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
              at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
              at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rtaneja Reema Taneja
                Reporter:
                jtulach Jaroslav Tulach
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: