1 Reply Latest reply on Oct 28, 2008 11:43 AM by Jason Greene

    java.lang.RuntimeException: Error generating joinpoint class

    Jonas Tegman Newbie

      I'm kind of new to jboss cache so maybe this is something simple. Im using the pojo cache 2.1.0-GA on vista x64, and java 1.6/Tomcat6. Cache works fine mostly but when I start accessing it with other threads (not at same time) i get this error (see below). Seems like I suddenly can't even access a field on my pojo (for toString etc). The cache object has @Replicable on it, and aop compilation seems to work fine. There are no other computers working on the same cache, just my dev computer.

      Anyone else with same problem, I would be greatful for some help.

      /Jonas


      java.lang.RuntimeException: Error generating joinpoint class
      for joinpoint Field Read[field=private java.lang.String se.kojak.web.session.WebSession.uniqueId]][
      org.jboss.aop.instrument.JoinPointGenerator.doGenerateJoinPointClass(JoinPointGenerator.java:321)
      org.jboss.aop.instrument.JoinPointGenerator.access$100(JoinPointGenerator.java:77)
      org.jboss.aop.instrument.JoinPointGenerator$GenerateJoinPointClassAction$2.generateJoinPointClass(JoinPointGenerator.java:1672)
      org.jboss.aop.instrument.JoinPointGenerator.generateJoinPointClass(JoinPointGenerator.java:251)
      org.jboss.aop.GeneratedClassAdvisor.generateJoinPointClass(GeneratedClassAdvisor.java:1031)
      se.kojak.web.session.WebSession$WebSessionAdvisor.WebSession$WebSessionAdvisor$uniqueId_r_$aop(WebSession$WebSessionAdvisor.java)
      se.kojak.web.session.WebSession$WebSessionInstanceAdvisor.WebSession$WebSessionAdvisor$uniqueId_r_$aop(WebSession$WebSessionInstanceAdvisor.java)
      se.kojak.web.session.WebSession.uniqueId_r_$aop(WebSession.java)
      se.kojak.web.session.WebSession.toString(WebSession.java:130)
      java.lang.String.valueOf(Unknown Source)
      java.lang.StringBuilder.append(Unknown Source)