-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Java VerifyError occurs when using com.google.cloud libraries-bom > 26.31.0 #10698
Comments
Hi @rnaval, thanks for reporting this. Would you mind sharing the tag of the docker image you are using? Has this occurred when running your java application on your host machine? Thanks! |
It looks like protobuf-java-util may be involved (thanks @suztomo). |
@rnaval our libraries are not using protobuf 4.26 just yet. Would you mind trying to modify your dependency on java-protobuf-util to From https://github.com/googleapis/java-cloud-bom/releases/tag/v26.37.0 |
Thanks for the response. Tried it out with the recommended protobuf library, issue still occurs.
Docker image is based on CentOS 7:
Here's a look at the dependency tree:
|
@rnaval Do you observe the problem only happens in the CentOS docker container? |
cc: @suztomo I could run the main function without any issues in IntelliJ. +1 to @suztomo asking if the problem occurs in your host machine as well. |
Sorry for the late response. Based on testing results, we have verified that it works on:
We also tried it on a Centos 7 VM - same error was encountered. |
@diegomarquezp @suztomo Also tried it out with Ubuntu 22.04 docker, seems to work. |
What's the image tag of this CentOS image? Are you using a dockerfile with this image as base or are you running your code directly on it? If no dockerfile is involved, then we should look at the jdk versions in each environment you tested, or more generally the differences in each execution environment. |
I have the exact same issue after doing 3.25.1 --> 3.25.3. |
The circleCI used to generate the docs for our project is failing due to this issue as well although the dependency is from Google's Beam SDK :
|
same for me, from 3.23.4 to 3.25.4 |
Not sure if this is what is happening in |
Environment details
CloudFilestoreManagerClient.create()
,SubscriptionAdminClient.create()
Code example
Stack trace
Another one:
Any additional information below
Issue only occurs when we use 26.32.0 onwards. 26.31.0 works fine.
Unit tests seem to be working fine for all versions, but not sure what is happening in the docker image.
The text was updated successfully, but these errors were encountered: