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

Unexpected Exception reading java file: NPE with no detail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • None
    • None
    • w10, jdk 1.8

    Description

      Installed 12.2, opened a few projects and every time I try to make the IDE read the file attached, it throws the NPE with no detail (Notifications tab), the file can't be read so I have exceptions in all files related to this

      PD: I removed everything, imports, methods, declarations, class extends and no way, I can't even create an empty constructor with no args, just pressing shift+ins to create a constr throws the error but this time with

      java.lang.NullPointerException
      Caused: org.netbeans.modules.parsing.spi.ParseException
      	at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186)
      	at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
      [catch] at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193)
      	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)
      	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      
      
      package migracion.xeilon;
      
      public class Afiliados  {
      
      }
      

      Attachments

        1. messages.log
          547 kB
          jose luis romero
        2. Afiliados.java
          110 kB
          jose luis romero

        Activity

          People

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

            Dates

              Created:
              Updated: