[jboss-jira] [JBoss JIRA] (JGRP-1684) NPE in UNICAST2.up()

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Tue Aug 27 10:11:26 EDT 2013


    [ https://issues.jboss.org/browse/JGRP-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799562#comment-12799562 ] 

Radoslav Husar commented on JGRP-1684:
--------------------------------------

                    case Unicast2Header.ACK:
                        SenderEntry entry=send_table.get(msg.getSrc());

Hm, I assumed msg.getSrc can never be null and if it's null, it is set by transport protocol.
                
> NPE in UNICAST2.up()
> --------------------
>
>                 Key: JGRP-1684
>                 URL: https://issues.jboss.org/browse/JGRP-1684
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.2.10
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>
> {noformat}
> 11:53:25,993 ERROR [org.jgroups.protocols.UDP] (OOB-13,shared=udp) failed handling incoming message: java.lang.NullPointerException
> 	at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768) [rt.jar:1.6.0_45]
> 	at org.jgroups.protocols.UNICAST2.up(UNICAST2.java:432)
> 	at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:645)
> 	at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
> 	at org.jgroups.protocols.FD.up(FD.java:253)
> 	at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:288)
> 	at org.jgroups.protocols.MERGE3.up(MERGE3.java:290)
> 	at org.jgroups.protocols.Discovery.up(Discovery.java:359)
> 	at org.jgroups.protocols.TP$ProtocolAdapter.up(TP.java:2610)
> 	at org.jgroups.protocols.TP.passMessageUp(TP.java:1263)
> 	at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1825)
> 	at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1798)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]
> 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list