-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception thrown on bucket create with Smart Flank feature #443
Comments
@audkar interesting. Worst case scenario, you can send a PR and ci will take care of running the tests. |
Some of tests fails, because similar exceptions to this Click to expand
|
@audkar how are you running the tests? |
./gradlew test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
When gc bucket doesn't exists and Flank tries to create new one - crash happens
Click to expand Stacktrace
Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:882) at com.google.cloud.storage.BucketInfo$BuilderImpl.build(BucketInfo.java:649) at ftl.args.ArgsHelper.createGcsBucket(ArgsHelper.kt:128) at ftl.args.ArgsHelper.createJunitBucket(ArgsHelper.kt:103) at ftl.args.AndroidArgs.(AndroidArgs.kt:87) at ftl.args.AndroidArgs$Companion.load(AndroidArgs.kt:180) at ftl.args.AndroidArgs$Companion.load(AndroidArgs.kt:173) at ftl.cli.firebase.test.android.AndroidRunCommand.run(AndroidRunCommand.kt:33) at picocli.CommandLine.execute(CommandLine.java:1043) ... 9 moreCause
Seems that regression after SmartFlank commit in file ArgsHelper.kt.
targetBucket
is alwaysnull
here. Should bebucket
P.S. I wanted to to contrib fix myself, but tests doesn't work by default after repo clone 😿
The text was updated successfully, but these errors were encountered: