[jboss-jira] [JBoss JIRA] (JGRP-1678) null pointer exception in UNICAST2 [line 847]

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Aug 14 05:12:26 EDT 2013


     [ https://issues.jboss.org/browse/JGRP-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-1678:
---------------------------

    Fix Version/s: 3.3

    
> null pointer exception in UNICAST2 [line 847]
> ---------------------------------------------
>
>                 Key: JGRP-1678
>                 URL: https://issues.jboss.org/browse/JGRP-1678
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.3
>         Environment: Linux
>            Reporter: Ioana Oltean
>            Assignee: Bela Ban
>             Fix For: 3.3, 3.4
>
>
> java.lang.NullPointerException: null
>         at org.jgroups.protocols.UNICAST2.handleBatchReceived(UNICAST2.java:847) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.protocols.UNICAST2.up(UNICAST2.java:481) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:675) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.stack.Protocol.up(Protocol.java:406) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.protocols.FD.up(FD.java:274) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.stack.Protocol.up(Protocol.java:406) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.stack.Protocol.up(Protocol.java:406) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.protocols.DAISYCHAIN.up(DAISYCHAIN.java:183) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.stack.Protocol.up(Protocol.java:406) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.protocols.TP.passBatchUp(TP.java:1383) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at org.jgroups.protocols.TP$BatchHandler.run(TP.java:1519) ~[jgroups-3.3.0.Final.jar:3.3.0.Final]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) ~[na:1.6.0_26]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) ~[na:1.6.0_26]
>         at java.lang.Thread.run(Thread.java:662) ~[na:1.6.0_26]
> *** line 847 from UNICAST2:
> if(added && total_len > 0 && entry.incrementStable(total_len) && win != null)
> should be replaced with:
> if(added && total_len > 0 && entry!=null && entry.incrementStable(total_len) && win != null) 

--
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