Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1702

[Artemis Testsuite] ReplicatedLargeMessageWithDelayFailoverTest#testFailThenReceiveMoreMessagesAfterFailover2 NullPointerException occurs on server side

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 7.0.0.DR12
    • ActiveMQ
    • None

      Server side
      05:16:21,395 WARN  [org.apache.activemq.artemis.core.server] AMQ222086: error handling packet PACKET(ReplicationDeleteMessage)[type=93, channelID=2, packetObject=ReplicationDeleteMessage] for replication: java.lang.NullPointerException
      	at org.apache.activemq.artemis.core.io.buffer.TimedBuffer.checkSize(TimedBuffer.java:216) [artemis-journal-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.io.AbstractSequentialFile.fits(AbstractSequentialFile.java:185) [artemis-journal-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.journal.impl.JournalImpl.switchFileIfNecessary(JournalImpl.java:2721) [artemis-journal-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.journal.impl.FileWrapperJournal.writeRecord(FileWrapperJournal.java:112) [artemis-journal-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.journal.impl.FileWrapperJournal.appendDeleteRecord(FileWrapperJournal.java:130) [artemis-journal-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.journal.impl.JournalBase.appendDeleteRecord(JournalBase.java:183) [artemis-journal-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.journal.impl.FileWrapperJournal.appendDeleteRecord(FileWrapperJournal.java:51) [artemis-journal-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handleAppendDelete(ReplicationEndpoint.java:638) [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handlePacket(ReplicationEndpoint.java:173) [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.tests.integration.cluster.util.BackupSyncDelay$ReplicationChannelHandler.handlePacket(BackupSyncDelay.java:186) [:]
      	at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:565) [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:349) [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:331) [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1123) [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:163) [artemis-server-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:94) [artemis-core-client-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_51]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_51]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]
      
      Client side
      org.apache.activemq.artemis.api.core.ActiveMQConnectionTimedOutException: AMQ119014: Timed out after waiting 30,000 ms for response when sending packet 41
      	at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:356)
      	at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext.sendACK(ActiveMQSessionContext.java:410)
      	at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.acknowledge(ClientSessionImpl.java:678)
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.doAck(ClientConsumerImpl.java:1035)
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.acknowledge(ClientConsumerImpl.java:702)
      	at org.apache.activemq.artemis.core.client.impl.ClientMessageImpl.acknowledge(ClientMessageImpl.java:96)
      	at org.apache.activemq.artemis.core.client.impl.ClientMessageImpl.acknowledge(ClientMessageImpl.java:38)
      	at org.apache.activemq.artemis.tests.util.ActiveMQTestBase.receiveMessages(ActiveMQTestBase.java:1610)
      	at org.apache.activemq.artemis.tests.integration.cluster.failover.FailoverTest.receiveMessages(FailoverTest.java:1609)
      	at org.apache.activemq.artemis.tests.integration.cluster.failover.FailoverTest.testFailThenReceiveMoreMessagesAfterFailover2(FailoverTest.java:1596)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      

              rh-ee-ataylor Andy Taylor
              eduda_jira Erich Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: