2 Replies Latest reply on Nov 14, 2007 9:59 AM by Adrian Brock

    Great error message!

    Adrian Brock Master

      I got this error message:

      Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
       at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
       at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
       at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
       at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
       at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
       at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
       at java.lang.Class.initAnnotationsIfNecessary(Class.java:3031)
       at java.lang.Class.getAnnotation(Class.java:2989)
       at org.jboss.aop.annotation.AnnotationElement$AnnotationElementAction$1.getVisibleAnnotation(AnnotationElement.java:264)
       at org.jboss.aop.annotation.AnnotationElement.getVisibleAnnotation(AnnotationElement.java:114)
       at org.jboss.aop.Advisor.resolveAnnotation(Advisor.java:356)
       at org.jboss.ejb3.Ejb3AnnotationHandler.validateMDBTransactionAttribute(Ejb3AnnotationHandler.java:179)
       at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:155)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:499)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:459)
       at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:441)
       at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:407)
       at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:349)
       at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:133)
       ... 62 more
      22:43:23,548 WARN [MainDeployer] Failed to deploy: file:/home/ejort/jboss-head/ejb3/output/test-lib/quartzmdb.jar
      


      It was actually trying to tell me that my interceptor class wasn't deployed. :-)
      It's referenced in an annotation.