[jboss-jira] [JBoss JIRA] Created: (JBBOOT-119) MCServerImpl.getKernel() can return an NPE

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Sun Jan 17 18:45:47 EST 2010


MCServerImpl.getKernel() can return an NPE
------------------------------------------

                 Key: JBBOOT-119
                 URL: https://jira.jboss.org/jira/browse/JBBOOT-119
             Project: JBoss Bootstrap
          Issue Type: Bug
          Components: api-mc, impl-mc
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger
             Fix For: 2.1.0-alpha-1


If the server's not yet been initialized, a call to request the Kernel from the MCServer will result in NPE.

Either:

1) Work around this such that the kernel is accessible from all server states
2) Document in the API that the kernel may only be obtained if initialized or started, with proper IllegalStateExceptions otherwise

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

        



More information about the jboss-jira mailing list