[jboss-dev-forums] [Design of EJB 3.0] - Great error message!

adrian@jboss.org do-not-reply at jboss.com
Tue Nov 13 16:56:07 EST 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104321#4104321

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104321



More information about the jboss-dev-forums mailing list