java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32

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 Jenkins JIRA by Rob Starkey, 1 year ago
Could not initialize class hudson.util.jna.Kernel32
via jenkins-ci.org by Unknown author, 2 years ago
via Jenkins JIRA by Rob Starkey, 1 year ago
Could not initialize class hudson.util.jna.Kernel32
via Google Groups by Iain Walsh, 2 years ago
Could not initialize class hudson.util.jna.Kernel32
via Google Groups by Takayuki Kondou, 7 months ago
via Jenkins JIRA by Thomas Fields, 1 year ago
Could not initialize class hudson.util.jna.Kernel32
java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32
at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:62)
at hudson.Util.isSymlink(Util.java:322)
at hudson.Util.deleteRecursive(Util.java:283)
at hudson.FilePath$11.invoke(FilePath.java:982)
at hudson.FilePath$11.invoke(FilePath.java:980)
at hudson.FilePath.act(FilePath.java:851)
at hudson.FilePath.act(FilePath.java:824)
at hudson.FilePath.deleteRecursive(FilePath.java:980)
at org.jenkinsci.plugins.xunit.XUnitPublisher.processDeletion(XUnitPublisher.java:374)
at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124)
at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729)
at hudson.model.Run.execute(Run.java:1541)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.