[jboss-jira] [JBoss JIRA] Created: (JBCACHE-862) PojoCache tutorial broken

Rajesh Rajasekaran (JIRA) jira-events at jboss.com
Fri Nov 17 16:17:41 EST 2006


PojoCache tutorial broken
-------------------------

                 Key: JBCACHE-862
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-862
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.0.0.ALPHA1
            Reporter: Rajesh Rajasekaran
         Assigned To: Manik Surtani
             Fix For: 2.0.0.ALPHA1


bsh % sourceRelative("pojocache.bsh");
<org.jboss.cache.pojo.impl.PojoCacheImpl at 893969>
<name=null, age=0, hobbies=, address=null, skills=null, languages=null>
<street=null, city=null, zip=0>
// Error: // Uncaught Exception: Method Invocation this.interpreter.source : at Line: 19 : in file: /bsh/commands/sourceRelative.bsh : this .interpreter .source ( path , this .caller .namespace ) 

Called from method: sourceRelative : at Line: 1 : in file: <unknown file> : sourceRelative ( "pojocache.bsh" ) 
Target exception: Sourced file: C:\Documents and Settings\rrajasekaran\Desktop\cache-release-2.0\JBossCache-pojo-2.0.0.ALPHA1\pojocache.bsh : Method Invocation cache.attach : at Line: 27 : in file: C:\Documents and Settings\rrajasekaran\Desktop\cache-release-2.0\JBossCache-pojo-2.0.0.ALPHA1\pojocache.bsh : cache .attach ( "pojo/joe" , joe ) 

Target exception: org.jboss.cache.pojo.PojoCacheException: PojoTreeCache: org.jboss.cache.ReplicationException: java.lang.Exception: Don't know how to marshall object of type class org.jboss.cache.pojo.test.Person


org.jboss.cache.pojo.PojoCacheException: PojoTreeCache: org.jboss.cache.ReplicationException: java.lang.Exception: Don't know how to marshall object of type class org.jboss.cache.pojo.test.Person
	at org.jboss.cache.pojo.impl.PojoCacheImpl.org$jboss$cache$pojo$impl$PojoCacheImpl$attach$aop(PojoCacheImpl.java:122)
	at org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplAdvisor.attach3085019539260813833(PojoCacheImpl$PojoCacheImplAdvisor.java)
	at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java)
	at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:109)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at bsh.Reflect.invokeMethod(Unknown Source)
	at bsh.Reflect.invokeObjectMethod(Unknown Source)
	at bsh.Name.invokeMethod(Unknown Source)
	at bsh.BSHMethodInvocation.eval(Unknown Source)
	at bsh.BSHPrimaryExpression.eval(Unknown Source)
	at bsh.BSHPrimaryExpression.eval(Unknown Source)
	at bsh.Interpreter.eval(Unknown Source)
	at bsh.Interpreter.source(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at bsh.Reflect.invokeMethod(Unknown Source)
	at bsh.Reflect.invokeObjectMethod(Unknown Source)
	at bsh.Name.invokeMethod(Unknown Source)
	at bsh.BSHMethodInvocation.eval(Unknown Source)
	at bsh.BSHPrimaryExpression.eval(Unknown Source)
	at bsh.BSHPrimaryExpression.eval(Unknown Source)
	at bsh.BSHReturnStatement.eval(Unknown Source)
	at bsh.BSHBlock.evalBlock(Unknown Source)
	at bsh.BSHBlock.eval(Unknown Source)
	at bsh.BshMethod.invokeImpl(Unknown Source)
	at bsh.BshMetbsh % hod.invoke(Unknown Source)
	at bsh.BshMethod.invoke(Unknown Source)
	at bsh.Name.invokeLocalMethod(Unknown Source)
	at bsh.Name.invokeMethod(Unknown Source)
	at bsh.BSHMethodInvocation.eval(Unknown Source)
	at bsh.BSHPrimaryExpression.eval(Unknown Source)
	at bsh.BSHPrimaryExpression.eval(Unknown Source)
	at bsh.Interpreter.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:595)


-- 
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