Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core
Created: 10/Oct/12 3:34 PM
Description:

Hi,
We are periodically getting issues with the hudson.util.jna.Kernel32 class not being found when plugins are calling the isSymlink method.

[xUnit] [INFO] - [UnitTest-1.4 (default)] - 1 test report file(s) were found with the pattern 'tests.xml' relative to 'C:\Jenkins\jobs\NetworkTeam Test\workspace' for the testing framework 'UnitTest-1.4 (default)'.
FATAL: 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)

The class file seems to be present and correct compared with the github versions and we are running with Admin access to the filesystem.

Any help would be appreciated.
Rob

Environment: Windows 7 64bit
jdk1.7.0_07
Project: Jenkins
Priority: Major Major
Reporter: Rob Starkey
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to