-
Notifications
You must be signed in to change notification settings - Fork 1.1k
NPE printed out when loading client properties #1909
Copy link
Copy link
Closed
Description
Running tests, I get these stack traces:
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:434)
at java.util.Properties.load0(Properties.java:353)
at java.util.Properties.load(Properties.java:341)
at com.google.api.gax.core.PropertiesProvider.loadProperty(PropertiesProvider.java:69)
at com.google.cloud.errorreporting.spi.v1beta1.ReportErrorsServiceSettings.getGapicVersion(ReportErrorsServiceSettings.java:124)
at com.google.cloud.errorreporting.spi.v1beta1.ReportErrorsServiceSettings.defaultChannelProviderBuilder(ReportErrorsServiceSettings.java:117)
at com.google.cloud.errorreporting.spi.v1beta1.ReportErrorsServiceSettings$Builder.<init>(ReportErrorsServiceSettings.java:193)
at com.google.cloud.errorreporting.spi.v1beta1.ReportErrorsServiceSettings$Builder.createDefault(ReportErrorsServiceSettings.java:203)
at com.google.cloud.errorreporting.spi.v1beta1.ReportErrorsServiceSettings$Builder.access$000(ReportErrorsServiceSettings.java:153)
at com.google.cloud.errorreporting.spi.v1beta1.ReportErrorsServiceSettings.defaultBuilder(ReportErrorsServiceSettings.java:133)
at com.google.cloud.errorreporting.spi.v1beta1.ReportErrorsServiceClientTest.setUp(ReportErrorsServiceClientTest.java:68)
Somehow, tests are still passing. I'm assinging @shinfan to this since I think Shin was working on property loading a few weeks ago. Could you help diagnose?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels