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

java.lang.ClassFormatError: Invalid Constant Pool entry Type 19 in build-impl.xml

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0
    • Fix Version/s: 9.0
    • Component/s: projects - Ant Project
    • Environment:

      Description

      When i build a project (target jar) with do.depend=true (in project.properties or private.properties) for a second time after clean, the following is thrown:

      java.lang.ClassFormatError: Invalid Constant Pool entry Type 19
          at org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.readEntry(ConstantPoolEntry.java:180)

      This is in the depend macro:

                      <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
                          <classpath>
                              <path path="@{classpath}"/>
                          </classpath>
                      </depend>

       

      project properties:

      javac.source=10
      javac.target=10
      platform.active=JDK_10

      The exception is thrown direct after opening build/classes/module-info.class

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              aekk1932 Aekkachai
              Reporter:
              simijskes Simon IJskes

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment