1 Reply Latest reply on Aug 12, 2004 11:28 PM by Bela Ban

    NullPointerException at at org.jboss.cache.TreeCache.invokeM

    rogeradams Newbie

      I have been using TreeCache in a current development (JBoss 3.2.3 + JBossCache 1.02) with no problem. Having upgraded to jJBoss 4.0.0RC1 then I get a NullPointerException with every put operation.

      This is repeatable with the code:

      new TreeCache().put("test/location", new String("xxxx"), new Integer(1));

      The rsulting stack is:

      org.jboss.util.NestedRuntimeException: - nested throwable: (java.lang.NullPointerException)
      at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3083)
      at org.jboss.cache.TreeCache.put(TreeCache.java:1649)
      at org.jboss.cache.TreeCache.put(TreeCache.java:1632)

      Am I doing something wrong or is there a problem here?