[
https://issues.apache.org/jira/browse/GEODE-8265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213211#comment-17213211
]
Geode Integration commented on GEODE-8265:
------------------------------------------
Seen in [WindowsUnitTestOpenJDK11
#493|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/WindowsUnitTestOpenJDK11/builds/493]
... see [test
results|http://files.apachegeode-ci.info/builds/apache-develop-main/1.14.0-build.0411/test-results/test/1602583401/]
or download
[artifacts|http://files.apachegeode-ci.info/builds/apache-develop-main/1.14.0-build.0411/test-artifacts/1602583401/windows-unittestfiles-OpenJDK11-1.14.0-build.0411.tgz].
> :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, wan
> Reporter: Bill Burcham
> Assignee: Anilkumar Gingade
> Priority: Major
>
> WindowsUnitTestOpenJDK8 passing here:
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/WindowsUnitTestOpenJDK11/builds/258
> Has NPEs like this 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)