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

java.util.NoSuchElementException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.2
    • None
    • None
    • W10, JDK 8

    Description

      This exception invalidate completely the IDE, it happens all the time for many reasons: renaming methods, creating overloads, removing files. Even after restarting the IDE, it seems that it keeps trying to reach some "references".
      I know that it is a problem related to nb-javac, but it is extremely annoying! I had been told in SEP/19 that would be fixed soon (N)

      java.util.NoSuchElementException
      at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)
      at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:742)
      at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.capCache(ParameterNameProviderImpl.java:196)
      at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:181)
      at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:90)
      at com.sun.proxy.$Proxy56.getParameterName(Unknown Source)
      at com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63)
      at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1746)
      at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1731)
      at org.netbeans.modules.java.navigation.ElementScanningTask.createHtmlHeader(ElementScanningTask.java:497)
      at org.netbeans.modules.java.navigation.ElementScanningTask.element2description(ElementScanningTask.java:359)
      at org.netbeans.modules.java.navigation.ElementScanningTask.addMembers(ElementScanningTask.java:309)
      at org.netbeans.modules.java.navigation.ElementScanningTask.runImpl(ElementScanningTask.java:157)
      at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:96)
      at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:77)
      [catch] at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
      at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
      at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
      at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
      at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      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)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              FiruzzZ jose luis romero
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m