On Thu, Nov 19, 2009 at 10:29 AM, Alex Parvulescu <[email protected]> wrote: > You only need to start and stop the server a couple of times. Always > the second test fails with a NPE.
Right, calling stop() is the same thing as destroying the server and thus, you can not restart a stopped server. That being said, I think we should make two improvements: * This fact should be documented in Javadoc for stop() * We should not throw an NPE, instead we should throw a more descriptive exception. So, I opened a JIRA issue for this and have committed fixes to trunk and the 1.0.x branch so it should be included in the next release. Thanks for reminding us that this needed fixing! /niklas
