You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the logger isn't initialised till after this function runs.
I may have misunderstood what's going on here, but this seems like a simple oversight in the ordering. Happy to submit a PR to fix if you agree on the cause, but not sure how best to set up a test case.
The text was updated successfully, but these errors were encountered:
Previously, `initialiseInstanceAddress()` was called before `LOG` and `DEFAULT_INSTANCE_ADDRESS` were initialised, but relied on both of them, so threw an NPE instead of correctly assigning the default and starting up.
Fixesthelastpickle#654
When
AppContext
initialises, it has some exception handling if it's unable to determine a host address.cassandra-reaper/src/server/src/main/java/io/cassandrareaper/AppContext.java
Lines 53 to 62 in d7d045f
I'm getting a NullPointerException on Line 58, which I think is because, above...
cassandra-reaper/src/server/src/main/java/io/cassandrareaper/AppContext.java
Lines 40 to 43 in d7d045f
the logger isn't initialised till after this function runs.
I may have misunderstood what's going on here, but this seems like a simple oversight in the ordering. Happy to submit a PR to fix if you agree on the cause, but not sure how best to set up a test case.
The text was updated successfully, but these errors were encountered: