linkedin / ambry

Distributed object store
https://github.com/linkedin/ambry/wiki
Apache License 2.0
1.75k stars 276 forks source link

[vcr-2.0] Fix nullptr in helix path #2873

Closed snalli closed 3 months ago

snalli commented 3 months ago
java.lang.reflect.InvocationTargetException: null
        at jdk.internal.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.apache.helix.messaging.handling.HelixStateTransitionHandler.invoke(HelixStateTransitionHandler.java:350) ~[org.apache.helix.helix-core-1.1.0.0.jar:1.1.0.0]
        at org.apache.helix.messaging.handling.HelixStateTransitionHandler.handleMessage(HelixStateTransitionHandler.java:278) [org.apache.helix.helix-core-1.1.0.0.jar:1.1.0.0]
        at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:97) [org.apache.helix.helix-core-1.1.0.0.jar:1.1.0.0]
        at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:49) [org.apache.helix.helix-core-1.1.0.0.jar:1.1.0.0]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NullPointerException
        at com.github.ambry.cloud.VcrReplicationManager$1.onPartitionAdded(VcrReplicationManager.java:304) ~[com.github.ambry.ambry-cloud-0.4.452.jar:?]