java.lang.TypeNotPresentException: Type ActorMessage not present

Apache's JIRA Issue Tracker | Hans Dockter | 7 years ago
  1. 0

    [GROOVY-3732] Groovyc throws exception in code using ASTTransformations - ASF JIRA

    apache.org | 1 year ago
    java.lang.TypeNotPresentException: Type ActorMessage not present
  2. 0

    For the GParallelizer build the tests are not compilable. Neither with Gradle nor with an Ant build. The following ant build: {code:xml} <?xml version="1.0"?> <project name="sample" default="resolve">    <target name="clean">        <delete dir="antbuild/classes"/>    </target>    <taskdef name="groovyc"             classname="org.codehaus.groovy.ant.Groovyc">        <classpath>            <pathelement path="/Users/hans/checkouts/gparallelizer-read-only/libs/groovy-all-1.6.4.jar"/>        </classpath>    </taskdef>    <target name="compile">        <mkdir dir="antbuild/classes"/>        <groovyc srcdir="${basedir}/src/main/groovy" destdir="${basedir}/antbuild/classes">            <classpath>                <pathelement path="/Users/hans/checkouts/gparallelizer-read-only/libs/groovy-all-1.6.4.jar"/>                <pathelement path="/Users/hans/checkouts/gparallelizer-read-only/libs/jsr166y-070108.jar"/>            </classpath>            <javac source="1.5" target="1.5" debug="on"/>        </groovyc>    </target>    <target name="compileTests" depends="compile">        <mkdir dir="antbuild/test-classes"/>        <groovyc srcdir="${basedir}/src/test/groovy" destdir="${basedir}/antbuild/test-classes">            <classpath>                <pathelement path="${basedir}/build/classes"/>                <pathelement path="/Users/hans/checkouts/gparallelizer-read-only/libs/junit-4.7.jar"/>                <pathelement path="/Users/hans/checkouts/gparallelizer-read-only/libs/groovy-all-1.6.4.jar"/>                <pathelement path="/Users/hans/checkouts/gparallelizer-read-only/libs/jsr166y-070108.jar"/>            </classpath>            <javac source="1.5" target="1.5" debug="on"/>        </groovyc>    </target> </project> {code} throws an exception when executing {{ant compileTests}}. Below is a snippet from the stacktrace. I have attached the full stacktrace of the ant execution. The revision of GParallelizer where we hit this problem is 559. {code} compileTests:  [groovyc] Compiling 158 source files to /Users/hans/checkouts/gparallelizer-read-only/antbuild/test-classes  [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, General error during semantic analysis: Type ActorMessage not present  [groovyc]  [groovyc] java.lang.TypeNotPresentException: Type ActorMessage not present  [groovyc]     at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)  [groovyc]     at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)  [groovyc]     at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)  [groovyc]     at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:50)  [groovyc]     at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:120)  [groovyc]     at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)  [groovyc]     at sun.reflect.generics.repository.FieldRepository.getGenericType(FieldRepository.java:67)  [groovyc]     at java.lang.reflect.Field.getGenericType(Field.java:223) {code}

    Apache's JIRA Issue Tracker | 7 years ago | Hans Dockter
    java.lang.TypeNotPresentException: Type ActorMessage not present
  3. 0

    Developers - JUnits fail to start [Eclipse - Run As JUnit Test]

    openmrs.org | 3 months ago
    java.lang.TypeNotPresentException: Type [unknown] not present
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ActiveMQ JMS Development list

    gmane.org | 1 year ago
    java.lang.TypeNotPresentException: Type javax.annotation.PreDestroy not present
  6. 0

    build failed under OS X

    GitHub | 2 years ago | apocarteres
    java.lang.TypeNotPresentException: Type com.samaxes.maven.minify.plugin.MinifyMojo not present

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.TypeNotPresentException

      Type ActorMessage not present

      at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType()
    2. Java RT
      Field.getGenericType
      1. sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)
      2. sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
      3. sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
      4. sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:50)
      5. sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:120)
      6. sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
      7. sun.reflect.generics.repository.FieldRepository.getGenericType(FieldRepository.java:67)
      8. java.lang.reflect.Field.getGenericType(Field.java:223)
      8 frames