2 Replies Latest reply on Feb 11, 2011 5:31 PM by l.visconti

    Problem in HA_JNDI list.

    l.visconti

      Hi all,

         using jboss-AS 6.0.0.Final "Neo", with ALL configuration, I'm unable to list jndi tree.

      I start a clean jboss, just downloaded, with ./run.sh -b 0.0.0.0 -c all

      I browse to http://localhost:8080/jmx-console/ , go to service=JNDIView, click on the last operation "list" and I get a 500 "An error has occurred." ( Terrible error message ;-)

      On the console I obtain the following Exception.:

       

      10:12:20,083 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console].[HtmlAdaptor]] Servlet.service() for servlet HtmlAdaptor threw exception: java.lang.NullPointerException: Null keys are not supported!

           at org.infinispan.util.AbstractMap.assertKeyNotNull(AbstractMap.java:33) [:4.2.0.FINAL]

           at org.infinispan.util.FastCopyHashMap.containsKey(FastCopyHashMap.java:177) [:4.2.0.FINAL]

           at org.infinispan.atomic.AtomicHashMap.containsKey(AtomicHashMap.java:107) [:4.2.0.FINAL]

           at org.infinispan.atomic.AtomicHashMapProxy.containsKey(AtomicHashMapProxy.java:143) [:4.2.0.FINAL]

           at org.infinispan.tree.NodeImpl.hasChild(NodeImpl.java:383) [:4.2.0.FINAL]

           at org.infinispan.tree.NodeImpl.hasChild(NodeImpl.java:373) [:4.2.0.FINAL]

           at org.jboss.ha.jndi.ispn.DistributedTreeManager.list(DistributedTreeManager.java:348) [:1.0.0.Final]

           at org.jboss.ha.jndi.HAJNDI.list(HAJNDI.java:151) [:6.0.0.Final]

      ...

       

      I miss something or it's a bug and I have to report Issue Tracker ?

       

      Direct lookup via code ( like ctx.list("queue"); ) woks fine.