[jboss-jira] [JBoss JIRA] Closed: (JBAS-3838) ServerInfo does not check response from getThreadInfo for null

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Wed Feb 14 10:26:30 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-3838?page=all ]

Dimitris Andreadis closed JBAS-3838.
------------------------------------

    Fix Version/s: JBossAS-5.0.0.Beta2
       Resolution: Done
         Assignee: Dimitris Andreadis  (was: Darran Lofthouse)

Fixed.

> ServerInfo does not check response from getThreadInfo for null
> --------------------------------------------------------------
>
>                 Key: JBAS-3838
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3838
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: MicroContainer bus
>    Affects Versions: JBossAS-4.0.5.GA
>            Reporter: Darran Lofthouse
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-5.0.0.Beta2, JBossAS-4.2.0.CR1
>
>
> The ServerInfo MBean does not check the response from getThreadInfo for null.  If getThreadInfo is called for a thread that no longer exists it returns null.  Currently it is possible for the following NullPointerException to be logged: -
> java.lang.NullPointerException
> 	at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.jboss.system.server.ServerInfo.getThreadCpuUtilization(ServerInfo.java:557)
> 	at org.jboss.system.server.ServerInfo.listThreadCpuUtilization(ServerInfo.java:510)
> 	at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list