[ https://issues.apache.org/jira/browse/GEODE-8890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279224#comment-17279224 ]
ASF subversion and git services commented on GEODE-8890: -------------------------------------------------------- Commit 27d0f5b3c97b7e118bb45797145d4ae924eff437 in geode's branch refs/heads/support/1.13 from Donal Evans [ https://gitbox.apache.org/repos/asf?p=geode.git;h=27d0f5b ] GEODE-8890: Catch ClassCastException in LocatorDiscovery.java (#6000) - Handle ClassCastException the same way as ClassNotFoundException - Added unit tests for LocatorDiscovery - Modify log messages to be clearer - Clean up LocatorDiscovery static analyzer warnings Authored-by: Donal Evans <doev...@vmware.com> (cherry picked from commit f4423bb0649ca1d7c4b38bb4915ad69fe461dd01) > ClassCastException in LocatorDiscovery.exchangeRemoteLocators > ------------------------------------------------------------- > > Key: GEODE-8890 > URL: https://issues.apache.org/jira/browse/GEODE-8890 > Project: Geode > Issue Type: Bug > Components: wan > Affects Versions: 1.10.0, 1.11.0, 1.12.0, 1.13.1, 1.14.0 > Reporter: Donal Evans > Assignee: Donal Evans > Priority: Major > Labels: blocks-1.14.0, pull-request-available > Fix For: 1.12.1, 1.13.2, 1.14.0 > > > {noformat} > org.apache.geode.internal.cache.wan.serial.WANHostNameVerificationDistributedTest > > enableHostNameValidationAcrossAllComponents 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 log4j at line 682 > [fatal 2020/12/25 05:33:28.218 GMT <WAN Locator Discovery Thread1> > tid=82] Uncaught exception in thread Thread[WAN Locator Discovery > Thread1,5,RMI Runtime] > java.lang.ClassCastException: java.lang.Class cannot be cast to > org.apache.geode.cache.client.internal.locator.wan.RemoteLocatorPingResponse > at > org.apache.geode.cache.client.internal.locator.wan.LocatorDiscovery.exchangeRemoteLocators(LocatorDiscovery.java:191) > at > org.apache.geode.cache.client.internal.locator.wan.LocatorDiscovery$RemoteLocatorDiscovery.run(LocatorDiscovery.java:121) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)