[ 
https://issues.apache.org/jira/browse/CASSANDRA-16689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17359078#comment-17359078
 ] 

Berenguer Blasi edited comment on CASSANDRA-16689 at 6/8/21, 6:54 AM:
----------------------------------------------------------------------

You're looking at the wrong code. If you check the SHA of the test failure 
you'll see the NPE comes from [pulling endpoint 
states|https://github.com/bereng/cassandra/blob/f7cd1c1f2508a9faf36c9ac2023f65841bb4628d/src/java/org/apache/cassandra/service/StorageService.java#L2418]
 not from config loading iiuc #collaborating


was (Author: bereng):
You're looking at the wrong code. If you check the SHA of the test failure 
you'll see the NPE comes from [pulling endpoint 
states|https://github.com/bereng/cassandra/blob/f7cd1c1f2508a9faf36c9ac2023f65841bb4628d/src/java/org/apache/cassandra/service/StorageService.java]
 not from config loading iiuc #collaborating

> Flaky LeaveAndBootstrapTest
> ---------------------------
>
>                 Key: CASSANDRA-16689
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16689
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0-rc2, 4.0, 4.x
>
>
> Failing in a circle run 
> [here|https://app.circleci.com/pipelines/github/bereng/cassandra/309/workflows/a645b956-dcd7-431e-b109-7857af3c523f/jobs/2937]
> {noformat}
> Testcase: 
> testStateJumpToNormal(org.apache.cassandra.service.LeaveAndBootstrapTest):  
> Caused an ERROR
> [junit-timeout] null
> [junit-timeout] java.lang.NullPointerException
> [junit-timeout]       at 
> org.apache.cassandra.service.StorageService.updatePeerInfo(StorageService.java:2418)
> [junit-timeout]       at 
> org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:2756)
> [junit-timeout]       at 
> org.apache.cassandra.service.StorageService.onChange(StorageService.java:2299)
> [junit-timeout]       at 
> org.apache.cassandra.Util.createInitialRing(Util.java:236)
> [junit-timeout]       at 
> org.apache.cassandra.service.LeaveAndBootstrapTest.testStateJumpToNormal(LeaveAndBootstrapTest.java:550)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to