I run these two objects within the stand-alone applications.  
Here are the codes from class B:

CacheFactory factory = new DefaultCacheFactory();
Cache cache = factory.createCache("com/test/etc/cache-configuration.xml",true);
Fqn myObj = Fqn.fromString("/com/test/MyObject");                       
Node node = cache.getNode(myObj);               

System.out.println(node.getKeys());

Always return a NullPointerException...

                                


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161870#4161870

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161870
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to