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

NullPointerException at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTaskWhenScanFinished

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Mac OS X Catalina

      Description

      Crash report whilst running NetBeans.

       

      java.lang.NullPointerException
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:156)
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$ClassIndexListenerImpl.runInJavacContext(AnnotationModelHelper.java:433)
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$ClassIndexListenerImpl.rootsChanged(AnnotationModelHelper.java:413)
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$ClassIndexListenerImpl.rootsRemoved(AnnotationModelHelper.java:408)
      at org.netbeans.api.java.source.ClassIndex$SPIListener$1.run(ClassIndex.java:1107)
      at org.netbeans.modules.parsing.impl.TaskProcessor$5.run(TaskProcessor.java:458)
      at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
      [catch] at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:725)
      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)

       

      and again:

       

      java.lang.NullPointerException
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:156)
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$ClassIndexListenerImpl.runInJavacContext(AnnotationModelHelper.java:433)
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$ClassIndexListenerImpl.rootsChanged(AnnotationModelHelper.java:413)
      at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$ClassIndexListenerImpl.rootsRemoved(AnnotationModelHelper.java:408)
      at org.netbeans.api.java.source.ClassIndex$SPIListener$1.run(ClassIndex.java:1107)
      at org.netbeans.modules.parsing.impl.TaskProcessor$5.run(TaskProcessor.java:458)
      at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
      [catch] at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:725)
      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

        1. messages.log
          126 kB
          David Gradwell
        2. messages.log
          108 kB
          David Gradwell

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              david@gradwell.com David Gradwell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: