[infinispan-issues] [JBoss JIRA] (ISPN-4579) SingleNodeJdbcStoreIT.cleanup NPE after test failure

Dan Berindei (JIRA) issues at jboss.org
Mon Jul 28 09:17:30 EDT 2014


Dan Berindei created ISPN-4579:
----------------------------------

             Summary: SingleNodeJdbcStoreIT.cleanup NPE after test failure
                 Key: ISPN-4579
                 URL: https://issues.jboss.org/browse/ISPN-4579
             Project: Infinispan
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Test Suite - Server
    Affects Versions: 7.0.0.Alpha5
            Reporter: Dan Berindei
            Assignee: Galder Zamarreño
             Fix For: 7.0.0.Beta1


After a failure in {{SingleNodeJdbcStoreIT.testForcedShutdown}}), it seems not all the test stores are properly initialized, and cleanup fails with a NullPointerException:

{noformat}
[00:57:07] :				 [testForcedShutdown] java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.junit.Assert.assertNotNull(Assert.java:631)
	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testRestartStringStoreBefore(SingleNodeJdbcStoreIT.java:223)
	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testForcedShutdown(SingleNodeJdbcStoreIT.java:163)
...
[00:57:07]W:		 [org.infinispan.server:test-suite] java.lang.NullPointerException
	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.cleanup(SingleNodeJdbcStoreIT.java:82)
{noformat}

This bug is only about the NPE, the test failure is agent-specific (probably caused by the low open files/user processes limits). 



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the infinispan-issues mailing list