-
Notifications
You must be signed in to change notification settings - Fork 323
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.lang.reflect.InaccessibleObjectException: Unable to make field private static final long java.util.concurrent.atomic.AtomicBoolean.serialVersionUID accessible #905
Comments
I think this was just caused by weird plugin versions. |
Thought I was past this but I'm not. Sorry - long night already. I installed the 1.2.10 snapshot and it's behaving the same way as 1.2.3 for me at the moment. |
jdk17 issue |
While it is true that there is a So, while I can see that there's a problem in this scenario, I don't think that it would be correct to change the docker-plugin code - if you're seeing this issue here then there's probably a lot of other things that won't be working either, and the "proper fix" would be to fix the If you're desperate for a workaround to tide you over until that wider issue is fixed then by all means submit a PR ... but unless it's dead simple and "obviously OK" it's unlikely to be merged into the official release (as I don't want to pollute this codebase with workarounds for bugs elsewhere). |
Well said and I agree. This was occurring in a rather unhealthy environment last night. I thought I closed it with my jdk17 comment tbh |
I'm running into what I think is the same issue; what is the long term fix for this? Jenkins Core project doesn't have an issue tracker in the GH project and I don't see anything in the Jenkins Jira. The closest I see is https://issues.jenkins.io/browse/JENKINS-68071, but while the error is the same it's a completely different functionality. |
I opened x-stream/xstream#308 to discuss the long-term fix with the X-Stream developers. |
A month later, my pull request to XStream remains unacknowledged, so I integrated jenkinsci/jenkins#7270 toward 2.375. This will provide support for serializing |
See jenkinsci/workflow-cps-plugin#515 for example. |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 20
Reproduction steps
Start a build which utilizes docker-plugin
Expected Results
A docker container is created, connected to, and job run on it
Actual Results
The job hangs forever. Looking at the Jenkins System log, I see the following over and over again:
Anything else?
No response
The text was updated successfully, but these errors were encountered: