Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9392

Deploying EAR (JSF 1.2, EJB 3) - java.lang.ArrayStoreException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.0.0.Final
    • Integration
    • None

      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@286d41c0

      {vfs:///C:/JBoss/jboss-6.0.0.Final/server/default/deploy/DOPS.ear}

      , visitor: org.jboss.scanning.hibernate.SingleAnnotationVisitor@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, ...)

              ajustin@redhat.com Ales Justin
              schoeso Arndt Schönberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: