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
{{ message }}
This repository has been archived by the owner on May 18, 2021. It is now read-only.
An NPE occurs if the settings file doesn't have a <server> entry with a matching <id>. The result of settings.getServer(...) needs to be checked for null with an appropriate user error thrown.
Exception in thread "main" java.lang.NullPointerException
at io.airlift.airship.configbundler.Maven.makeRemoteRepository(Maven.java:102)
at io.airlift.airship.configbundler.Maven.<init>(Maven.java:90)
at io.airlift.airship.configbundler.SnapshotCommand.call(SnapshotCommand.java:60)
at io.airlift.airship.configbundler.SnapshotCommand.call(SnapshotCommand.java:21)
at io.airlift.airship.configbundler.ConfigBundler.main(ConfigBundler.java:31)
Additionally, the constructor for that class has the repository info parameters as @Nullable when they should not be. The validateRepositoryMetadata method should validate them as not null.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
An NPE occurs if the settings file doesn't have a
<server>
entry with a matching<id>
. The result ofsettings.getServer(...)
needs to be checked for null with an appropriate user error thrown.Additionally, the constructor for that class has the repository info parameters as
@Nullable
when they should not be. ThevalidateRepositoryMetadata
method should validate them as not null.The text was updated successfully, but these errors were encountered: