You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bill Burcham (Jira)" <ji...@apache.org> on 2020/06/16 23:31:00 UTC

[jira] [Created] (GEODE-8265) :geode-wan:test on Windows always shows NPEs in the logs (but doesn't fail)

Bill Burcham created GEODE-8265:
-----------------------------------

             Summary: :geode-wan:test on Windows always shows NPEs in the logs (but doesn't fail)
                 Key: GEODE-8265
                 URL: https://issues.apache.org/jira/browse/GEODE-8265
             Project: Geode
          Issue Type: Bug
          Components: tests
            Reporter: Bill Burcham


WindowsUnitTestOpenJDK8 passing:

https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/WindowsUnitTestOpenJDK11/builds/258

and failing: 

https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/WindowsUnitTestOpenJDK11/builds/259

Both have these NPEs in the logs:

{code}
Exception in thread "BatchRemovalThread for GatewaySender_sender_4" > Task :geode-wan:test

java.lang.NullPointerException

	at org.apache.geode.internal.cache.wan.parallel.ParallelGatewaySenderQueue$BatchRemovalThread.checkCancelled(ParallelGatewaySenderQueue.java:1780)

	at org.apache.geode.internal.cache.wan.parallel.ParallelGatewaySenderQueue$BatchRemovalThread.run(ParallelGatewaySenderQueue.java:1879)

{code}

It appears that in {{ParallelGatewaySenderQueue.BatchRemovalThread.checkCancelled()}} in the expression on this line:

{code}
      if (cache.getCancelCriterion().isCancelInProgress()) {
{code}

Somehow either {{cache}} is null or {{cache.getCancelCriterion()}} is null. The latter seems impossible since that cancel criterion is a {{final}} reference initialized at the point of declaration.




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