Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2611

"truncated class" error sometimes during incremental builds

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0uimaFIT
    • Component/s: uimaFIT-Maven-Plugin
    • Labels:
      None

      Description

      Sometimes during incremental builds, a "truncated class" error is generated in Eclipse. Possibly a multi-threading issue.

      Execution default of goal org.apache.uima:uimafit-maven-plugin:2.0.0-SNAPSHOT:enhance failed: An API incompatibility was encountered while executing org.apache.uima:uimafit-maven-plugin:2.0.0-SNAPSHOT:enhance: java.lang.ClassFormatError: Truncated class file
      -----------------------------------------------------
      realm =    plugin>org.apache.uima:uimafit-maven-plugin:2.0.0-SNAPSHOT
      strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      urls[0] = ...Maven/repository/org/apache/uima/uimafit-maven-plugin/2.0.0-SNAPSHOT/uimafit-maven-plugin-2.0.0-SNAPSHOT.jar
      urls[1] = ...Maven/repository/org/apache/uima/uimafit-legacy-support/2.0.0-SNAPSHOT/uimafit-legacy-support-2.0.0-SNAPSHOT.jar
      urls[2] = ...Maven/repository/org/apache/uima/uimaj-core/2.4.0/uimaj-core-2.4.0.jar
      urls[3] = ...Maven/repository/org/uimafit/uimafit/1.4.0/uimafit-1.4.0.jar
      urls[4] = ...Maven/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
      urls[5] = ...Maven/repository/org/apache/uima/uimaj-tools/2.4.0/uimaj-tools-2.4.0.jar
      urls[6] = ...Maven/repository/org/apache/uima/uimaj-cpe/2.4.0/uimaj-cpe-2.4.0.jar
      urls[7] = ...Maven/repository/org/apache/uima/uimaj-adapter-vinci/2.4.0/uimaj-adapter-vinci-2.4.0.jar
      urls[8] = ...Maven/repository/org/apache/uima/jVinci/2.4.0/jVinci-2.4.0.jar
      urls[9] = ...Maven/repository/org/apache/uima/uimaj-document-annotation/2.4.0/uimaj-document-annotation-2.4.0.jar
      urls[10] = ...Maven/repository/org/springframework/spring-core/3.1.2.RELEASE/spring-core-3.1.2.RELEASE.jar
      urls[11] = ...Maven/repository/org/springframework/spring-asm/3.1.2.RELEASE/spring-asm-3.1.2.RELEASE.jar
      urls[12] = ...Maven/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
      urls[13] = ...Maven/repository/org/springframework/spring-context/3.1.2.RELEASE/spring-context-3.1.2.RELEASE.jar
      urls[14] = ...Maven/repository/org/springframework/spring-aop/3.1.2.RELEASE/spring-aop-3.1.2.RELEASE.jar
      urls[15] = ...Maven/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
      urls[16] = ...Maven/repository/org/springframework/spring-beans/3.1.2.RELEASE/spring-beans-3.1.2.RELEASE.jar
      urls[17] = ...Maven/repository/org/springframework/spring-expression/3.1.2.RELEASE/spring-expression-3.1.2.RELEASE.jar
      urls[18] = ...Maven/repository/commons-io/commons-io/2.2/commons-io-2.2.jar
      urls[19] = ...Maven/repository/org/apache/uima/uimafit/2.0.0-SNAPSHOT/uimafit-2.0.0-SNAPSHOT.jar
      urls[20] = ...Maven/repository/org/javassist/javassist/3.16.1-GA/javassist-3.16.1-GA.jar
      urls[21] = ...Maven/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
      urls[22] = ...Maven/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
      urls[23] = ...Maven/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
      urls[24] = ...Maven/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar
      urls[25] = ...Maven/repository/org/sonatype/sisu/inject/guice-bean-containers/2.3.0/guice-bean-containers-2.3.0.jar
      urls[26] = ...Maven/repository/org/sonatype/sisu/inject/guice-bean-inject/2.3.0/guice-bean-inject-2.3.0.jar
      urls[27] = ...Maven/repository/org/sonatype/sisu/inject/guice-plexus-shim/2.3.0/guice-plexus-shim-2.3.0.jar
      urls[28] = ...Maven/repository/javax/inject/javax.inject/1/javax.inject-1.jar
      urls[29] = ...Maven/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0.jar
      urls[30] = ...Maven/repository/org/sonatype/sisu/inject/guice-bean-reflect/2.3.0/guice-bean-reflect-2.3.0.jar
      urls[31] = ...Maven/repository/org/sonatype/sisu/inject/guice-bean-locators/2.3.0/guice-bean-locators-2.3.0.jar
      urls[32] = ...Maven/repository/org/sonatype/sisu/inject/guice-bean-binders/2.3.0/guice-bean-binders-2.3.0.jar
      urls[33] = ...Maven/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
      urls[34] = ...Maven/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
      urls[35] = ...Maven/repository/org/sonatype/sisu/inject/guice-bean-scanners/2.3.0/guice-bean-scanners-2.3.0.jar
      urls[36] = ...Maven/repository/org/sonatype/sisu/inject/guice-bean-converters/2.3.0/guice-bean-converters-2.3.0.jar
      urls[37] = ...Maven/repository/org/sonatype/sisu/inject/guice-plexus-metadata/2.3.0/guice-plexus-metadata-2.3.0.jar
      urls[38] = ...Maven/repository/org/sonatype/sisu/inject/guice-plexus-converters/2.3.0/guice-plexus-converters-2.3.0.jar
      urls[39] = ...Maven/repository/org/sonatype/sisu/inject/guice-plexus-locators/2.3.0/guice-plexus-locators-2.3.0.jar
      urls[40] = ...Maven/repository/org/sonatype/sisu/inject/guice-plexus-binders/2.3.0/guice-plexus-binders-2.3.0.jar
      urls[41] = ...Maven/repository/org/sonatype/sisu/inject/guice-plexus-scanners/2.3.0/guice-plexus-scanners-2.3.0.jar
      urls[42] = ...Maven/repository/org/sonatype/sisu/inject/guice-plexus-lifecycles/2.3.0/guice-plexus-lifecycles-2.3.0.jar
      urls[43] = ...Maven/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
      urls[44] = ...Maven/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
      urls[45] = ...Maven/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
      urls[46] = ...Maven/repository/junit/junit/4.10/junit-4.10.jar
      urls[47] = ...Maven/repository/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar
      urls[48] = ...Maven/repository/org/eclipse/jdt/core/3.3.0-v_771/core-3.3.0-v_771.jar
      urls[49] = ...Maven/repository/org/eclipse/core/runtime/3.7.0/runtime-3.7.0.jar
      urls[50] = ...Maven/repository/org/eclipse/osgi/3.7.2/osgi-3.7.2.jar
      urls[51] = ...Maven/repository/org/eclipse/equinox/preferences/3.4.2/preferences-3.4.2.jar
      urls[52] = ...Maven/repository/org/eclipse/core/contenttype/3.4.100/contenttype-3.4.100.jar
      urls[53] = ...Maven/repository/org/eclipse/core/filesystem/1.3.100/filesystem-1.3.100.jar
      urls[54] = ...Maven/repository/org/eclipse/text/3.5.101/text-3.5.101.jar
      urls[55] = ...Maven/repository/org/eclipse/core/commands/3.6.0/commands-3.6.0.jar
      urls[56] = ...Maven/repository/org/eclipse/core/jobs/3.3.0-v20070423/jobs-3.3.0-v20070423.jar
      urls[57] = ...Maven/repository/org/eclipse/equinox/common/3.6.0/common-3.6.0.jar
      urls[58] = ...Maven/repository/org/eclipse/equinox/app/1.0.0-v20070606/app-1.0.0-v20070606.jar
      urls[59] = ...Maven/repository/org/eclipse/equinox/registry/3.5.101/registry-3.5.101.jar
      urls[60] = ...Maven/repository/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar
      urls[61] = ...Maven/repository/org/eclipse/core/expressions/3.4.300/expressions-3.4.300.jar
      Number of foreign imports: 4
      import: Entry[import org.sonatype.plexus.build.incremental from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.util.Scanner from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.util.AbstractScanner from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import  from realm ClassRealm[project>de.tudarmstadt.ukp.dkpro.core:de.tudarmstadt.ukp.dkpro.core-asl:1.5.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
      
      -----------------------------------------------------
       (org.apache.uima:uimafit-maven-plugin:2.0.0-SNAPSHOT:enhance:default:process-resources)
      

        Attachments

          Activity

            People

            • Assignee:
              rec Richard Eckart de Castilho
              Reporter:
              rec Richard Eckart de Castilho
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: