srbhbajaj1411 [http://community.jboss.org/people/srbhbajaj1411] created the discussion
"JBoss AOP using JDK7" To view the discussion, visit: http://community.jboss.org/message/617610#617610 -------------------------------------------------------------- Hi, I am trying to use JDK 7 with JBoss AOP. I am using precompiled instrumentation approach. My code is getting compiled with JBoss AOP jars without any error but while running the server I am getting java.lang.VerifyError java.lang.VerifyError: StackMapTable error: bad offset in method com.test.DAO.ejb.TestBean.com$test$DAO$ejb$TestBean$modifyGroups$aop(Ljava/util/ Vector;)Ljava/util/Hashtable; at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.privateGetPublicMethods(Class.java:2562) at java.lang.Class.getMethods(Class.java:1427) at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:686) at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:848) at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:78) at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:181) at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) But if I compile my code without AOP precompilation and run its working fine. Also its working fine with the JDK 6 compilation. I think there is some compatibility issue here with the JDK7 or I might have to get the JBoss AOP libraries compiled with JDK7 Can you please suggest me whats going wrong here. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/617610#617610] Start a new discussion in JBoss AOP at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
