[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1161) PojoCache loadtime example failure

Jason T. Greene (JIRA) jira-events at lists.jboss.org
Tue Aug 7 14:34:49 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-1161?page=all ]

Jason T. Greene resolved JBCACHE-1161.
--------------------------------------

    Resolution: Done

fixed, retaged

> PojoCache loadtime example failure
> ----------------------------------
>
>                 Key: JBCACHE-1161
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1161
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.GA
>            Reporter: Rajesh Rajasekaran
>         Assigned To: Jason T. Greene
>
> The following exceptions occurs when running the example under JBossCache-pojo-2.0.0.GA\examples\PojoCache\loadtime
> "build.bat compile" &  "build.bat run.loadtime.example"
>      [java] Exception in thread "main" java.lang.IllegalArgumentException: PojoCache.putObject(): Object type is neither  aspectized nor Serializable nor an array of prim
> itives. Object class name is examples.Student
>      [java]     at org.jboss.cache.pojo.util.AopUtil.checkObjectType(AopUtil.java:125)
>      [java]     at org.jboss.cache.pojo.interceptors.CheckNonSerializableInterceptor.invoke(CheckNonSerializableInterceptor.java:36)
>      [java]     at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
>      [java]     at org.jboss.cache.pojo.impl.PojoCacheImpl$attach_3085019539260813833.invokeNext(PojoCacheImpl$attach_3085019539260813833.java)
>      [java]     at org.jboss.cache.pojo.interceptors.CheckIdInterceptor.invoke(CheckIdInterceptor.java:33)
>      [java]     at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
>      [java]     at org.jboss.cache.pojo.impl.PojoCacheImpl$attach_3085019539260813833.invokeNext(PojoCacheImpl$attach_3085019539260813833.java)
>      [java]     at org.jboss.cache.pojo.interceptors.PojoBeginInterceptor.invoke(PojoBeginInterceptor.java:36)
>      [java]     at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
>      [java]     at org.jboss.cache.pojo.impl.PojoCacheImpl$attach_3085019539260813833.invokeNext(PojoCacheImpl$attach_3085019539260813833.java)
>      [java]     at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java)
>      [java]     at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:93)
>      [java]     at test.examples.StudentMaintTest.testPropagation(StudentMaintTest.java:99)
>      [java]     at test.examples.StudentMaintTest.main(StudentMaintTest.java:145)
>      [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list