java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error Key properties cannot be empty
    via Stack Overflow by user1677183
    ,
  • I'm not 100% sure I have the correct "Fix Version". The version tag of the server is "JBoss 4.3.0.GA_CP01_SOA" ==Software Versions== I believe this to be the latest released version of the SOA-P. Java: Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode) (not tried any other) OS: Ubuntu 8.10 ==Configuration Changes== This issue happens out of the box, without any configuration changes. ==Why I think it's a bug== The bug causes a stacktrace to appear on the JMX-Console and "enableMessageCounters" to NOT be enabled. I believe it to be a bug, because enabling the "enableMessageCounters" property does not enable message counters. Also, if it is something I have done wrong, then I'd claim it was a bug because there is no human readable error message, just a stacktrace. ==Workaround== invoke "enableMessageCounters()" on the same JMX interface. ==Reproduction Steps== 1. goto jmx-console 2. select "service=ServerPeer" from "jboss.messaging" catagory 3. set "EnableMessageCounters" radio button to true 4. click "Apply changes" 5. Observe: org.jboss.util.NestedRuntimeException: Key properties cannot be empty; - nested throwable: (javax.management.MalformedObjectNameException: Key properties cannot be empty) org.jboss.mx.util.propertyeditor.ObjectNameEditor.getValue(ObjectNameEditor.java:52) org.jboss.util.propertyeditor.PropertyEditors.convertValue(PropertyEditors.java:261) org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:190) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:250) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:98) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause javax.management.MalformedObjectNameException: Key properties cannot be empty javax.management.ObjectName.construct(ObjectName.java:467) javax.management.ObjectName.<init>(ObjectName.java:1403) org.jboss.mx.util.propertyeditor.ObjectNameEditor.getValue(ObjectNameEditor.java:49) org.jboss.util.propertyeditor.PropertyEditors.convertValue(PropertyEditors.java:261) org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:190) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:250) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:98) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    via by Paul Robinson,
  • Error in Deploying EJB 3.0 session bean
    via by Devendra Thomare,
    • java.lang.IllegalArgumentException: Invalid object name WebSphere:Application=perfServletApp,J2EEApplication=perfServletApp,J2EEName=perfServletApp#perfServletApp.war,J2EEServer=perfdata,Server=perfdata,cell=ubuntu64Cell01,j2eeType=WebModule,mbeanIdentifier=null,name=perfServletApp.war,node=ubuntu64Node01,platform=dynamicproxy,process=perfdata,spec=1.0,type=WebModule,version=6.1.0.23: Key properties cannot be empty at org.cpan.jmx4perl.JmxRequest.<init>(Unknown Source) at org.cpan.jmx4perl.AgentServlet.handle(Unknown Source) at org.cpan.jmx4perl.AgentServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Caused by: javax.management.MalformedObjectNameException: Key properties cannot be empty at javax.management.ObjectName.construct(ObjectName.java:408) at javax.management.ObjectName.<init>(ObjectName.java:1312) ... 22 more

    Users with the same issue

    HandemelindoHandemelindo
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Andreas HäberAndreas Häber
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    11 more bugmates