bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BVAL-134) Cannot initiate validator due to IncompatibleClassChangeError incompatible InnerClasses attribute between "org.apache.bval.jsr.ClassValidator$JsrValidationCallback" and "org.apache.bval.jsr.ClassValidator"
Date Fri, 17 Oct 2014 12:44:34 GMT

    [ https://issues.apache.org/jira/browse/BVAL-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175018#comment-14175018
] 

Romain Manni-Bucau commented on BVAL-134:
-----------------------------------------

Hi

are you able to share a sample showing it? can't t be an WAS issue?

> Cannot initiate validator due to IncompatibleClassChangeError incompatible InnerClasses
attribute between "org.apache.bval.jsr.ClassValidator$JsrValidationCallback" and "org.apache.bval.jsr.ClassValidator"
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BVAL-134
>                 URL: https://issues.apache.org/jira/browse/BVAL-134
>             Project: BVal
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 1.1.0-alpha
>         Environment: IBM WebSphere Application Server V8.5
> java version "1.7.0"
> Java(TM) SE Runtime Environment (build pwa6470sr7fp1-20140712_01(SR7 FP1))
> IBM J9 VM (build 2.6, JRE 1.7.0 Windows 7 amd64-64 Compressed References 20140627_204598
(JIT enabled, AOT enabled)
> J9VM - R26_Java726_SR7_20140627_0924_B204598
> JIT  - r11.b06_20140409_61252.04
> GC   - R26_Java726_SR7_20140627_0924_B204598_CMPRSS
> J9CL - 20140627_204598)
> JCL - 20140707_01 based on Oracle 7u65-b16
>            Reporter: Melan Nimesh
>
> Cannot initiate validator due to IncompatibleClassChangeError incompatible InnerClasses
attribute between "org.apache.bval.jsr.ClassValidator$JsrValidationCallback" and "org.apache.bval.jsr.ClassValidator"
> this is only occurs in IBM J9 VM, moving JsrValidationCallback inner class into new class
resolve this issue  
> error log as follows 
> [10/17/14 16:30:40:923 IST] 00000098 SystemErr     R Caused by: java.lang.IncompatibleClassChangeError:
incompatible InnerClasses attribute between "org.apache.bval.jsr.ClassValidator$JsrValidationCallback"
and "org.apache.bval.jsr.ClassValidator"
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at java.lang.Class.getDeclaringClass(Class.java:827)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at java.lang.Class.isMemberClass(Class.java:2387)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.util.ClassUtil.isInnerClazz(ClassUtil.java:312)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.util.WebBeansUtil.isManagedBeanClass(WebBeansUtil.java:381)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.config.ManagedBeanConfigurator.isManagedBean(ManagedBeanConfigurator.java:98)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.config.BeansDeployer.defineManagedBean(BeansDeployer.java:818)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.config.BeansDeployer.deploySingleAnnotatedType(BeansDeployer.java:542)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.config.BeansDeployer.deployFromClassPath(BeansDeployer.java:488)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:171)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:124)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:78)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at com.ibm.ws.webbeans.common.CommonLifeCycle.startApplication(CommonLifeCycle.java:106)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at com.ibm.ws.webbeans.services.JCDIServletContainerInitializer.onStartup(JCDIServletContainerInitializer.java:85)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:613)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
> [10/17/14 16:30:40:939 IST] 00000098 SystemErr     R 	... 105 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message