4 Replies Latest reply on Feb 16, 2004 8:48 AM by dastultz

    NullPointerException  /jmx-console/HtmlAdaptor

    damski Newbie

      /jmx-console/HtmlAdaptor
      java.lang.NullPointerException

      Hi,

      Anyone know what might cause the above when I try to make any changes to the nukes beans - it still seems to update regardless.

      thanks,

      damski

        • 1. Re: NullPointerException  /jmx-console/HtmlAdaptor
          Eddie Newbie

          I am having the same problem, but all of the fields are not updating. Most of the fields that I test still update but the SiteName property will not update. A trace of the exception that is being thrown is attached below. Has anyone else encountered this problem? I just installed the jboss-3.2.1_nukes-1.0.0alpha bundle on Windows XP Home and haven't made any significant modifications thus far. Any help would be greatly appreciated.

          Thanks,
          Eddie

          19:41:46,751 WARN [jbossweb] WARNING: Exception for /jmx-console/HtmlAdaptor
          java.lang.NullPointerException
          at org.jboss.mx.server.MBeanInvoker.setAttribute(MBeanInvoker.java:134)
          at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java
          :503)
          at org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:184)
          at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAd
          aptorServlet.java:146)
          at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
          torServlet.java:76)
          at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
          et.java:60)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
          )
          at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
          onHandler.java:294)
          at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
          58)
          at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
          at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
          Context.java:507)
          at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
          at org.mortbay.http.HttpServer.service(HttpServer.java:863)
          at org.jboss.jetty.Jetty.service(Jetty.java:460)
          at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
          at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
          at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
          201)
          at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
          at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

          I already tried to change the attributes that were initially set to null to some dummy values but that didn't seem to work either. I'll keep hacking away at it though.

          • 2. Re: NullPointerException  /jmx-console/HtmlAdaptor
            quindio Newbie

            I am gettting the same problem:
            "WARNING: Exception for /jmx-console/HtmlAdaptor
            java.lang.NullPointerException"

            Any solution?

            • 3. Re: NullPointerException  /jmx-console/HtmlAdaptor
              damski Newbie

              I haven't had time to really look at this. My guess, since it doesn't appear to be OS dependant, is that it must have something to do with permissions on the SQL db - not sure, maybe a developer might drop a hint.....

              damski

              • 4. Re: NullPointerException  /jmx-console/HtmlAdaptor
                dastultz Newbie

                I have the same problem with jboss-3.2.1_nukes-1.0.0alpha running on Mandrake 9.2.

                -Daryl