-
1. Re: POJO Cache failing on weblogic 11g managed servers
pb2012 Mar 10, 2012 1:53 AM (in response to pb2012)Further to my above question, I checked into the weblogic managed server log file, and found the following detailed error:
I downloaded the latest version of jboss-aop.jar and re-instrumented the classes,
now I am getting another exception only on the managed weblogic server instances.
I find no issues with the same application deployed on weblogic Admin Server running on the same domain.This is really confusing to me, can anyone please help.
Caused By: java.lang.NullPointerException
at org.jboss.aop.instrument.JoinPointGenerator.findAdvisedField(JoinPointGenerator.java:500)
at org.jboss.aop.instrument.JoinPointGenerator.<init>(JoinPointGenerator.java:188)
at org.jboss.aop.instrument.FieldJoinPointGenerator.<init>(FieldJoinPointGenerator.java:86)
at org.jboss.aop.GeneratedClassAdvisor$ClassAdvisorStrategy.getJoinPointGenerator(GeneratedClassAdvisor.java:1332)
at org.jboss.aop.GeneratedClassAdvisor.getJoinPointGenerator(GeneratedClassAdvisor.java:786)
at org.jboss.aop.GeneratedClassAdvisor.fullWorkFinalizeFieldChain(GeneratedClassAdvisor.java:706)
at org.jboss.aop.GeneratedClassAdvisor.finalizeFieldReadChain(GeneratedClassAdvisor.java:665)
at org.jboss.aop.GeneratedClassAdvisor.finalizeChains(GeneratedClassAdvisor.java:581)
at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:609)
at org.jboss.aop.GeneratedClassAdvisor.access$201(GeneratedClassAdvisor.java:65)
at org.jboss.aop.GeneratedClassAdvisor$ClassAdvisorStrategy.createInterceptorChains(GeneratedClassAdvisor.java:1306)
at org.jboss.aop.GeneratedClassAdvisor.createInterceptorChains(GeneratedClassAdvisor.java:410)
at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:306)
at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:276)
at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:748)
at org.jboss.aop.GeneratedClassAdvisor$ClassAdvisorStrategy.initialise(GeneratedClassAdvisor.java:1294)
at org.jboss.aop.GeneratedClassAdvisor.initialise(GeneratedClassAdvisor.java:146)
at com.hp.ws.business.session.WsSession$WsSessionAdvisor.initialise(WsSession$WsSessionAdvisor.java)
at com.hp.ws.business.session.WsSession$WsSessionAdvisor.<init>(WsSession$WsSessionAdvisor.java)
at com.hp.ws.business.session.WsSession.<clinit>(WsSession.java)
-
2. Re: POJO Cache failing on weblogic 11g managed servers
edmund.geesken Feb 8, 2013 12:30 PM (in response to pb2012)Hello,
has anyone solved this problem?
I have the same error message at exactly the same line.
I am using jboss-aop.2.1.8.GA.
I am using the jboss-pojo-cache and reinstrumented all my classes using the new jboss-aop.
There is no other aop package in my classpath and i have included all of the jars included in the distribution into my ear APP-INF/lib directory.
I am trying to upgrade my application from WebLogic 10.3.0 to WebLogic 10.3.6.
The application is productive for more than 3 years.
My environment is WebLogic 10.3.6, JDK 1.6_29
The Pojo-Cache ist the 3.0.0.GA, latest release.
Has anyone a solution for this?
Regards
Edmund
-
3. Re: POJO Cache failing on weblogic 11g managed servers
edmund.geesken Mar 13, 2013 12:15 PM (in response to edmund.geesken)I have found the reason for this exception by myself.
The Exception is fired because the JRockit 1.6_29 returns a null of the method invocation clazz.getDeclaringClass() in JoinPointGenerator.findAdvisedField(......);
After I changed to the Sun JDK 1.6_29 everything works fine and clazz.getDeclaringClass() returns a non null value.
Regards
Edmund