Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tomwhite
, 1 year ago
A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder. at shaded.cloud-nio.com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder. at shaded.cloud-nio.com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) at com.google.cloud.ServiceOptions.<init>(ServiceOptions.java:208) at com.google.cloud.HttpServiceOptions.<init>(HttpServiceOptions.java:153) at com.google.cloud.storage.StorageOptions.<init>(StorageOptions.java:69) at com.google.cloud.storage.StorageOptions.<init>(StorageOptions.java:27) at com.google.cloud.storage.StorageOptions$Builder.build(StorageOptions.java:64) at com.google.cloud.storage.StorageOptions.defaultInstance(StorageOptions.java:91) at com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider.<init>(CloudStorageFileSystemProvider.java:141) at com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider.<init>(CloudStorageFileSystemProvider.java:136) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:438) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)