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

"Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202), OpenJDK 64-Bit Server VM 9.0.4.1+11, Mac OS X version 10.9.5

      Description

      While editing Java sources in a maven-based multi-module NetBeans Platform application on NetBeans 9.0 beta, the following IDE exception happens at irregular intervals, while editing unrelated files in a different module:

      ALL [null]: An error occurred during parsing of '/var/folders/38/g_r_gdts0wx49_kbz5sjfj300000gn/T/vcs-1518825448194/vcs-1519673427266/FilterPanel.java'. Please report a bug against java/source and attach dump file '/Users/ebakke/Library/Application Support/NetBeans/dev/var/log/FilterPanel_8.dump'.
      

      See the attached text file for the complete log dump and stack trace (can't attach the ".dump" file as it contains source code). The source file in question, FilterPanel.java, is generated in part by the Matisse GUI builder (so there's also a FilterPanel.form file). I've also got maven Compile-on-Save enabled.

      At other times, occasionally when running the same NetBeans Platform-based application, the application itself throws the following exception, mentioning the same file:

      java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/somepackage/project/filter/FilterPanel$2
      

      See again the attached text file for the complete log dump and stack trace.

       

        Attachments

        1. Class Files causing Trouble.zip
          9 kB
          Eirik Bakke
        2. parseerror.txt
          11 kB
          Eirik Bakke

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ebakke Eirik Bakke
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: