Hi, Thomas; this code below reproduces the problem faithfully on my MacBook
Pro using Java 6:
Am I doing anything obviously wrong below?
package ljnelson.h2npe;
import org.h2.tools.Server;
import org.junit.Test;
import static org.junit.Assert.assertNotNull;
public class TestCaseNullPointerExceptionOnStop {
@Test
public void testNullPointerExceptionOnStop() throws Exception {
final Server server = Server.createTcpServer("-basedir",
System.getProperty("user.home"), "-trace", "-tcp", "-tcpPort", "9092");
assertNotNull(server);
server.start();
server.stop(); // kaboom
}
}
I will wrap it up and attach it shortly.
Best,
Laird
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/h2-database/-/e81NXV9RHAMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.