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