Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-724

NPE thrown by RemoteTransaction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • 4.2.0.ALPHA4
    • None
    • None
    • None

      Using the current snapshot build in our product I got a lot of NPE.

      I'm not able to reproduce it in unit test, but from the stack trace, I can see it may related with fix to ISPN-711.

      2010-10-22 02:55:25,875 ERROR [org.infinispan.remoting.rpc.RpcManagerImpl](pool-110-thread-1) unexpected error while replicating
      java.lang.NullPointerException
      at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
      at java.util.Arrays.asList(Arrays.java:3343)
      at org.infinispan.transaction.xa.RemoteTransaction.<init>(RemoteTransaction.java:35)
      at org.infinispan.transaction.xa.TransactionTable.createRemoteTransaction(TransactionTable.java:163)
      at org.infinispan.commands.tx.PrepareCommand.perform(PrepareCommand.java:91)
      at org.infinispan.remoting.InboundInvocationHandlerImpl.handle(InboundInvocationHandlerImpl.java:94)
      at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommand(CommandAwareRpcDispatcher.java:176)
      at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:148)
      at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:575)
      at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:486)
      at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:362)
      at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:771)
      at org.jgroups.JChannel.up(JChannel.java:1453)
      at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:887)
      at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:435)
      at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.up(STREAMING_STATE_TRANSFER.java:265)
      at org.jgroups.protocols.FRAG2.up(FRAG2.java:188)
      at org.jgroups.protocols.FC.up(FC.java:494)
      at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
      at org.jgroups.protocols.pbcast.GMS.up(GMS.java:888)
      at org.jgroups.protocols.UNICAST.handleDataReceived(UNICAST.java:576)
      at org.jgroups.protocols.UNICAST.up(UNICAST.java:294)
      at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:707)
      at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:132)
      at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:177)
      at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:270)
      at org.jgroups.protocols.MERGE2.up(MERGE2.java:210)
      at org.jgroups.protocols.Discovery.up(Discovery.java:281)
      at org.jgroups.protocols.PING.up(PING.java:67)
      at org.jgroups.protocols.TP.passMessageUp(TP.java:1009)
      at org.jgroups.protocols.TP.access$100(TP.java:56)
      at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1549)
      at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1531)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

            manik_jira Manik Surtani (Inactive)
            changgeng Changgeng Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: