[jboss-jira] [JBoss JIRA] Commented: (JBAS-9392) Deploying EAR (JSF 1.2, EJB 3) - java.lang.ArrayStoreException
Ales Justin (JIRA)
jira-events at lists.jboss.org
Thu May 26 10:08:01 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604648#comment-12604648 ]
Ales Justin commented on JBAS-9392:
-----------------------------------
I can add the java.lang.ArrayStoreException to suppressed exceptions.
But it's probably good to know what's the real reason for this error.
Since the usage looks OK.
And hopefully suppressing won't completely ignore it afterwards in the deployment's metadata model.
> Deploying EAR (JSF 1.2, EJB 3) - java.lang.ArrayStoreException
> --------------------------------------------------------------
>
> Key: JBAS-9392
> URL: https://issues.jboss.org/browse/JBAS-9392
> Project: Legacy JBoss Application Server 6
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Integration
> Affects Versions: 6.0.0.Final
> Environment: Win 7 Prof, Java 6 64 Bit
> Reporter: Arndt Schönberg
> Assignee: Ales Justin
>
> I try to deplay a running JEE Projhect (EJB3, JSF 1.2, Facelets) on JBoss6. On Jboss 4.2.3 all works fine. I added
> <context-param>
> <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name>
> <param-value>Mojarra-1.2</param-value>
> </context-param>
> to web.xml.
> At sartup I get errors
> 14:51:40,062 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
> 14:51:45,555 WARNUNG [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
> 14:51:48,304 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///C:/JBoss/jboss-6.0.0.Final/server/default/deploy/DOPS.ear state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/JBoss/jboss-6.0.0.Final/server/default/deploy/DOPS.ear/DOPSEjb.jar/
> at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]
> at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.GA]
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
> ....
> Caused by: java.lang.Error: Error visiting "/C:/JBoss/jboss-6.0.0.Final/server/default/deploy/DOPS.ear/DOPSEjb.jar/tntOpsControlling/bo/hr/EmploMasterdataImport.class"
> at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.GA]
> at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:408) [jboss-vfs.jar:3.0.0.GA]
> at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA]
> at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA]
> at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA]
> at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:396) [jboss-vfs.jar:3.0.0.GA]
> at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:102) [jboss-classloading-vfs.jar:2.2.0.GA]
> at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:181) [:2.2.0.GA]
> at org.jboss.scanning.plugins.DeploymentUnitScanner.scan(DeploymentUnitScanner.java:111) [:1.0.0.GA]
> at org.jboss.scanning.spi.helpers.UrlScanner.scan(UrlScanner.java:96) [:1.0.0.GA]
> ....
> Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ tntOpsControlling/bo/hr/EmploMasterdataImport.class / BaseClassLoader at 286d41c0{vfs:///C:/JBoss/jboss-6.0.0.Final/server/default/deploy/DOPS.ear}, visitor: org.jboss.scanning.hibernate.SingleAnnotationVisitor at 176075b3
> at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56) [:1.0.0.GA]
> at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91) [:1.0.0.GA]
> at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.GA]
> at org.jboss.scanning.hibernate.HibernateScanningPlugin.visit(HibernateScanningPlugin.java:103) [:1.0.0.GA]
> at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [:1.0.0.GA]
> at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.GA]
> at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar:2.2.0.GA]
> ... 55 more
> Caused by: java.lang.ArrayStoreException: $Proxy92
> at sun.reflect.annotation.AnnotationParser.parseAnnotationArray(AnnotationParser.java:694) [:1.6.0_25]
> at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:466) [:1.6.0_25]
> at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286) [:1.6.0_25]
> at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222) [:1.6.0_25]
> at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) [:1.6.0_25]
> at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) [:1.6.0_25]
> at java.lang.Class.initAnnotationsIfNecessary(Class.java:3070) [:1.6.0_25]
> at java.lang.Class.getAnnotations(Class.java:3050) [:1.6.0_25]
> at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.readAnnotations(IntrospectionTypeInfoFactoryImpl.java:610) [jboss-reflect.jar:2.2.0.GA]
> at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getAnnotations(IntrospectionTypeInfoFactoryImpl.java:126) [jboss-reflect.jar:2.2.0.GA]
> at org.jboss.reflect.plugins.InheritableAnnotationHolder.isDeclaredAnnotationPresent(InheritableAnnotationHolder.java:122) [jboss-reflect.jar:2.2.0.GA]
> at org.jboss.reflect.plugins.ClassInfoImpl.isAnnotationPresent(ClassInfoImpl.java:193) [jboss-reflect.jar:2.2.0.GA]
> at org.jboss.reflect.plugins.AbstractAnnotatedInfo.isAnnotationPresent(AbstractAnnotatedInfo.java:76) [jboss-reflect.jar:2.2.0.GA]
> at org.jboss.scanning.hibernate.SingleAnnotationVisitor.doVisit(SingleAnnotationVisitor.java:68) [:1.0.0.GA]
> at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:86) [:1.0.0.GA]
> ... 60 more
> The class EmploMasterdataImport does not have any "unnormal" annotation (only @NamedQuery, @EmbeddedId, ...)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list