You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Brian Baynes (JIRA)" <ji...@apache.org> on 2018/02/26 17:24:00 UTC

[jira] [Resolved] (GEODE-4322) Locator fails to start with NPE during join to the distributed system

     [ https://issues.apache.org/jira/browse/GEODE-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Baynes resolved GEODE-4322.
---------------------------------
    Resolution: Won't Fix

Following the procedure to delete the .dat files is the best bet until you can upgrade to at least 1.3 (though 1.4 would be recommended because of the additional fix). It would be non-trivial to backport all of the related change from 1.3.0/1.4.0. Closing as "won't fix" for 1.2.0.

> Locator fails to start with NPE during join to the distributed system
> ---------------------------------------------------------------------
>
>                 Key: GEODE-4322
>                 URL: https://issues.apache.org/jira/browse/GEODE-4322
>             Project: Geode
>          Issue Type: Bug
>          Components: membership
>    Affects Versions: 1.2.0
>            Reporter: Vahram Aharonyan
>            Assignee: Brian Baynes
>            Priority: Major
>
> Found out that after setting security-udp-dhalgo=AES:128 in prorperties files sometimes  locator is failing to come online with the following Exception:
> [severe 2018/01/19 04:22:12.194 PST <locator request thread[20]> tid=0x45] Exception in processing request from 10.144.248.41
> java.lang.RuntimeException: Not found public key for member 16nodedata6(d4b4f5d4-47d2-44b1-a07c-6a7f5755e52d:11493)<ec><v2>:10002
>  at org.apache.geode.distributed.internal.membership.gms.messenger.GMSEncrypt.getPublicKey(GMSEncrypt.java:177)
>  at org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger.getPublicKey(JGroupsMessenger.java:1365)
>  at org.apache.geode.distributed.internal.membership.gms.locator.GMSLocator.processRequest(GMSLocator.java:271)
>  at org.apache.geode.distributed.internal.InternalLocator$PrimaryHandler.processRequest(InternalLocator.java:1256)
>  at org.apache.geode.distributed.internal.tcpserver.TcpServer.lambda$processRequest$0(TcpServer.java:401)
>  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)
> Caused by: java.lang.NullPointerException
>  at org.apache.geode.distributed.internal.membership.gms.messenger.GMSEncrypt.getPeerEncryptor(GMSEncrypt.java:258)
>  at org.apache.geode.distributed.internal.membership.gms.messenger.GMSEncrypt.getPublicKey(GMSEncrypt.java:175)
>  ... 7 more
>  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)
> Caused by: java.lang.NullPointerException
>  at org.apache.geode.distributed.internal.membership.gms.messenger.GMSEncrypt.getPeerEncryptor(GMSEncrypt.java:258)
>  at org.apache.geode.distributed.internal.membership.gms.messenger.GMSEncrypt.getPublicKey(GMSEncrypt.java:175)
>  ... 7 more
> Please note, that generally this issue is hit after cluster restart. This is important, as during poweroff locator can go offline first and one of other members will become coordinator and update view file accordingly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)