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
We're using this library on Android and that tooling has been updated to enable R8's full optimization mode by default. This is causing a runtime failure when trying to use the SDK:
java.lang.ExceptionInInitializerError
at com.google.api.gax.grpc.GaxGrpcProperties.getGrpcTokenName(Unknown Source:0)
at com.google.photos.library.v1.internal.stub.PhotosLibraryStubSettings.defaultApiClientHeaderProviderBuilder(SourceFile:17)
at com.google.photos.library.v1.internal.stub.PhotosLibraryStubSettings$Builder.createDefault(SourceFile:25)
at com.google.photos.library.v1.internal.stub.PhotosLibraryStubSettings$Builder.access$400(Unknown Source:0)
at com.google.photos.library.v1.internal.stub.PhotosLibraryStubSettings.newBuilder(SourceFile:1)
at com.google.photos.library.v1.PhotosLibrarySettings$Builder.createDefault(Unknown Source:2)
at com.google.photos.library.v1.PhotosLibrarySettings.newBuilder(Unknown Source:0)
[... elided ...]
at kotlinx.coroutines.scheduling.CoroutineScheduler$c.run(Unknown Source:0)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [cn5{Cancelling}@59d8b6f, Dispatchers.IO]
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Package.getImplementationVersion()' on a null object reference
at com.google.api.gax.core.GaxProperties.getLibraryVersion(SourceFile:1)
at com.google.api.gax.core.GaxProperties.getLibraryVersion(SourceFile:3)
at com.google.api.gax.grpc.GaxGrpcProperties.<clinit>(SourceFile:15)
... 31 more
The class loader isn't finding the package for com.google.photos.api.grpc.GaxGrpcProperties and there's a null-pointer exception in GaxProperties.getLibraryVersion(). I've confirmed that our app contains both of those classes so I'm at a loss as to why the class loader can't find it.
Any ideas or pointers would be very much appreciated if this isn't a bug in this library. I'm at a loss as to how to proceed.
The text was updated successfully, but these errors were encountered:
We're using this library on Android and that tooling has been updated to enable R8's full optimization mode by default. This is causing a runtime failure when trying to use the SDK:
The class loader isn't finding the package for
com.google.photos.api.grpc.GaxGrpcProperties
and there's a null-pointer exception inGaxProperties.getLibraryVersion()
. I've confirmed that our app contains both of those classes so I'm at a loss as to why the class loader can't find it.Any ideas or pointers would be very much appreciated if this isn't a bug in this library. I'm at a loss as to how to proceed.
The text was updated successfully, but these errors were encountered: