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

InvalidFileException while editing a class with a .form file

    XMLWordPrintableJSON

    Details

      Description

      This happens while Netbeans is trying to parse the source of a class that has a form designer editor thingy.

      Annotation: An error occurred during parsing of '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'. Please report a bug against java/source and attach dump file '/Users/astephens/Library/Application Support/NetBeans/dev/var/log/<redacted>_4.dump'.
      Annotation: An error occurred during parsing of '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'. Please report a bug against java/source and attach dump file '/Users/astephens/Library/Application Support/NetBeans/dev/var/log/<redacted>_4.dump'.
      Annotation: An error occurred during parsing of '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'. Please report a bug against java/source and attach dump file '/Users/astephens/Library/Application Support/NetBeans/dev/var/log/<redacted>_4.dump'.
      Annotation: An error occurred during parsing of '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'. Please report a bug against java/source and attach dump file '/Users/astephens/Library/Application Support/NetBeans/dev/var/log/<redacted>_4.dump'.
      An error occurred during parsing of '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'. Please report a bug against java/source and attach dump file '/Users/astephens/Library/Application Support/NetBeans/dev/var/log/<redacted>_4.dump'.
      An error occurred during parsing of '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'. Please report a bug against java/source and attach dump file '/Users/astephens/Library/Application Support/NetBeans/dev/var/log/<redacted>_4.dump'.
      Caused: org.netbeans.modules.java.source.parsing.FileObjects$InvalidFileException: Invalid or deleted file: /var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java
          at org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:354)
          at org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:334)
      Caused: java.lang.IllegalArgumentException
          at org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:337)
          at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:730)
          at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:374)
      [catch] at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:580)
          at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
          at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
          at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:443)
          at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:440)
          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.modules.java.JavaNode$IconTask$SourceIcon.computeIcon(JavaNode.java:440)
          at org.netbeans.modules.java.JavaNode$IconTask.run(JavaNode.java:402)
          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)
      Caused: org.openide.util.RequestProcessor$FastItem: task failed due to
      

        Attachments

        1. AccessibilityBugKiller.zip
          51 kB
          Austin Stephens

          Issue Links

            Activity

              People

              • Assignee:
                jlahoda Jan Lahoda
                Reporter:
                Sir Intellegence Austin Stephens
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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