Very odd exception running seam tests
mrsmith Oct 23, 2008 9:22 PMI keep seeing this exception when trying to do a test:
[testng] Caused by: java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data found r annotation element public abstract int org.hibernate.validator.Max.value() (Found data of type class j a.lang.Long[99999]) [testng] at sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy.generateException(Annotatio ypeMismatchExceptionProxy.java:38) [testng] at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.j a:56) [testng] at $Proxy91.value(Unknown Source) [testng] at org.hibernate.validator.MaxValidator.initialize(MaxValidator.java:22) [testng] at org.hibernate.validator.MaxValidator.initialize(MaxValidator.java:17) [testng] at org.hibernate.validator.ClassValidator.createValidator(ClassValidator.java:282) [testng] ... 71 more [testng] FAILED CONFIGURATION: @BeforeClass init [testng] org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE EVIOUS ERRORS FOR DETAILS): [testng] [testng] *** CONTEXTS IN ERROR: Name -> Error [testng] [testng] persistence.units:jar=test-build.jar,unitName=eventsPersistenceUnit -> java.lang.annotation.An tationTypeMismatchException: Incorrectly typed data found for annotation element public abstract int org ibernate.validator.Max.value() (Found data of type class java.lang.Long[99999]) [testng] [testng] persistence.units:jar=test-build.jar,unitName=management-tool -> java.lang.annotation.An tationTypeMismatchException: Incorrectly typed data found for annotation element public abstract int org ibernate.validator.Max.value() (Found data of type class java.lang.Long[99999]) [testng] [testng] [testng] at org.jboss.embedded.DeploymentGroup.checkIncomplete(DeploymentGroup.java:151) [testng] at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:129) [testng] at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:307) [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:14 [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006) [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931) [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) [testng] ... Removed 22 stack frames
Anyone else see something like this before?