Bugs item #670453, was opened at 2003-01-18 16:22
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=670453&group_id=22866

Category: JBossMX
Group: None
Status: Open
Resolution: None
Priority: 7
Submitted By: Matthew Munz (mattmunz)
Assigned to: Nobody/Anonymous (nobody)
Summary: JMX Console - Array Attribute Support broken

Initial Comment:
Hi,

JBoss version 4.0.

Array attributes (in this case, with a null value) are 
rendered to the following HTML. 

<input type="text" name="StringArray" value="void" 
readonly>

This is all well and good, except that selection of 
the "Apply Changes" button results in the following error 
(listed below).

My assumption is that the adaptor is trying to insert the 
string "void" into the MBean.  The desired behavior is to  
either ignore the value on post, or, preferably, to provide 
a full-featured array editor (this shouldn't be hard).

If more details are required, please let me know.  If this 
bug is already fixed in 3.2, please port it forward ASAP :)

- Matt Munz
  [EMAIL PROTECTED]

java.lang.NullPointerException
        at 
org.jboss.jmx.adaptor.control.Server.setAttributes
(Server.java:202)
        at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAtt
ributes(HtmlAdaptorServlet.java:146)
        at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processR
equest(HtmlAdaptorServlet.java:76)
        at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost
(HtmlAdaptorServlet.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:366)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatc
h(WebApplicationHandler.java:293)
        at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:581)
        at org.mortbay.http.HttpContext.handle
(HttpContext.java:1687)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:544)
        at org.mortbay.http.HttpContext.handle
(HttpContext.java:1637)
        at org.mortbay.http.HttpServer.service
(HttpServer.java:875)
        at org.jboss.jetty.Jetty.service(Jetty.java:543)
        at org.mortbay.http.HttpConnection.service
(HttpConnection.java:806)
        at org.mortbay.http.HttpConnection.handleNext
(HttpConnection.java:956)
        at org.mortbay.http.HttpConnection.handle
(HttpConnection.java:823)
        at 
org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:203)
        at org.mortbay.util.ThreadedServer.handle
(ThreadedServer.java:290)
        at org.mortbay.util.ThreadPool$JobRunner.run
(ThreadPool.java:743)
        at java.lang.Thread.run(Thread.java:536)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=670453&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to