[ 
https://issues.apache.org/jira/browse/GEODE-8767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17274537#comment-17274537
 ] 

ASF subversion and git services commented on GEODE-8767:
--------------------------------------------------------

Commit f3f07a006c30f54fd4ae84309c4c4ede4af22f36 in geode's branch 
refs/heads/develop from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=f3f07a0 ]

GEODE-8767: NullPointerException in TCPConduit.getBufferPool due to conTable 
being null (#5962)

A NPE was being thrown in TCPConduit.getBufferPool() because the conTable 
instance
variable is nulled out when the TCPConduit is stopped.  This commit
moves the buffer pool from TCPConduit's conTable object up to the enclosing
DirectChannel object.  This removes the need for DirectChannel to ask
TCPConduit for the buffer pool.

> NullPointerException in TCPConduit.getBufferPool due to conTable being null 
> on Windows
> --------------------------------------------------------------------------------------
>
>                 Key: GEODE-8767
>                 URL: https://issues.apache.org/jira/browse/GEODE-8767
>             Project: Geode
>          Issue Type: Bug
>          Components: membership, messaging
>    Affects Versions: 1.14.0
>            Reporter: Donal Evans
>            Priority: Major
>              Labels: pull-request-available
>
> This failure was seen in the WindowsGfshDistributedTestOpenJDK11 CI pipeline 
> job:
> {noformat}
> org.apache.geode.management.MemberMXBeanDistributedTest > classMethod FAILED
>     java.lang.AssertionError: Suspicious strings were written to the log 
> during this run.
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>     -----------------------------------------------------------------------
>     Found suspect string in 'dunit_suspect-vm1.log' at line 8350
>     [fatal 2020/12/03 20:00:40.000 GMT <Timer-3> tid=630] While pushing 
> message <partitioned.PRSanityCheckMessage(prid=3 processorId=0 
> regionName=#testCreateRegion2 ,distTx=false)> to recipients: 
> <10.0.0.75(server-2:2444)<v2>:41002, 10.0.0.75(server-3:4716)<v3>:41003, 
> 10.0.0.75(server-4:6184)<v4>:41004>
>     java.lang.NullPointerException
>       at 
> org.apache.geode.internal.tcp.TCPConduit.getBufferPool(TCPConduit.java:949)
>       at 
> org.apache.geode.distributed.internal.direct.DirectChannel.sendToMany(DirectChannel.java:298)
>       at 
> org.apache.geode.distributed.internal.direct.DirectChannel.send(DirectChannel.java:513)
>       at 
> org.apache.geode.distributed.internal.DistributionImpl.directChannelSend(DistributionImpl.java:346)
>       at 
> org.apache.geode.distributed.internal.DistributionImpl.send(DistributionImpl.java:291)
>       at 
> org.apache.geode.distributed.internal.ClusterDistributionManager.sendViaMembershipManager(ClusterDistributionManager.java:2053)
>       at 
> org.apache.geode.distributed.internal.ClusterDistributionManager.sendOutgoing(ClusterDistributionManager.java:1981)
>       at 
> org.apache.geode.distributed.internal.ClusterDistributionManager.sendMessage(ClusterDistributionManager.java:2018)
>       at 
> org.apache.geode.distributed.internal.ClusterDistributionManager.putOutgoing(ClusterDistributionManager.java:1083)
>       at 
> org.apache.geode.internal.cache.partitioned.PRSanityCheckMessage$1.run2(PRSanityCheckMessage.java:133)
>       at 
> org.apache.geode.internal.SystemTimer$SystemTimerTask.run(SystemTimer.java:334)
>       at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
>       at java.base/java.util.TimerThread.run(Timer.java:506)
> 3 tests completed, 1 failed
> {noformat}
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-= Test Results URI 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  
> [http://files.apachegeode-ci.info/builds/apache-develop-main/1.14.0-build.0532/test-results/distributedTest/1607032539/]
>  
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Test report artifacts from this job are available at:
> [http://files.apachegeode-ci.info/builds/apache-develop-main/1.14.0-build.0532/test-artifacts/1607032539/windows-gfshdistributedtest-OpenJDK11-1.14.0-build.0532.tgz]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to