0 Replies Latest reply on Jun 7, 2003 9:20 AM by vardaru

    IllegalArgumentException: No getter or setters found

    vardaru

      Hello,

      I am trying to run JBoss-3.2.1 on my machine (winxp pro, jdk1.4.1_02 + turkish locale). I got the following error. When I change the locale to english It just disapears.

      Any comments? Is it a bug?

      Umit VARDAR

      ps. I gues there are some case conversion in the code. Usually this leads to such problems when the developer meant to make case conversion in Locale.US but didn't mention it in the methods like String.toUpperCase() etc.

      ps. In turkish locale "i".toUpperCase different than the "I" .

      ...
      2003-06-07 15:46:12,076 WARN [org.jboss.jbossweb] WARNING:
      java.lang.IllegalArgumentException: No getter or setters found for idleThreads
      at org.mortbay.util.jmx.ModelMBeanImpl.defineAttribute(ModelMBeanImpl.java:398)
      at org.mortbay.util.jmx.ModelMBeanImpl.defineAttribute(ModelMBeanImpl.java:310)
      at org.mortbay.util.jmx.ThreadPoolMBean.defineManagedResource(ThreadPoolMBean.java:42)
      at org.mortbay.util.jmx.ThreadedServerMBean.defineManagedResource(ThreadedServerMBean.java:36)
      at org.mortbay.http.jmx.HttpListenerMBean.defineManagedResource(HttpListenerMBean.java:31)
      at org.mortbay.http.jmx.SocketListenerMBean.defineManagedResource(SocketListenerMBean.java:32)
      at org.mortbay.util.jmx.ModelMBeanImpl.setManagedResource(ModelMBeanImpl.java:273)
      at org.mortbay.util.jmx.ModelMBeanImpl.mbeanFor(ModelMBeanImpl.java:155)
      at org.mortbay.http.jmx.HttpServerMBean.addComponent(HttpServerMBean.java:125)
      at org.mortbay.http.HttpServer.addComponent(HttpServer.java:1248)
      at org.mortbay.http.HttpServer.addListener(HttpServer.java:250)
      ...