Bug 405532 - use hudson to build .NET project failed
Summary: use hudson to build .NET project failed
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: Plugins (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows Server 2008
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact: Geoff Waymark CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 00:07 EDT by chester zeng CLA
Modified: 2013-04-14 22:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chester zeng CLA 2013-04-12 00:07:45 EDT
Hello dears,
When i want create a job on hudson which is a .NET project. The error occur "FATAL: Could not initialize class com4j.COM4J".I dont know the root cause of this issue.Please kindly help me with this.Thanks!
Comment 1 chester zeng CLA 2013-04-12 00:09:40 EDT
Hello dears,
When i want create a job on hudson which is a .NET project. The error occur "FATAL: Could not initialize class com4j.COM4J".I dont know the root cause of this issue.Please kindly help me with this.Thanks!
Comment 2 Winston Prakash CLA 2013-04-12 12:04:53 EDT
Hi Chester, if you are using Hudson 3.0.x make sure you have installed the JNA native access plugin. If you still see the error, please paste the entire exception
Comment 3 chester zeng CLA 2013-04-14 22:19:10 EDT
(In reply to comment #2)
> Hi Chester, if you are using Hudson 3.0.x make sure you have installed the
> JNA native access plugin. If you still see the error, please paste the
> entire exception

Hi Winston,thank you for your reply! But i have already installed the JNA native support plugin.And the entire exception as below:

FATAL: Could not initialize class com4j.COM4J
java.lang.NoClassDefFoundError: Could not initialize class com4j.COM4J
	at vss.ClassFactory.createVSSDatabase(ClassFactory.java:13)
	at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:313)
	at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:285)
	at scm.vss.VSSSCM.checkout(VSSSCM.java:246)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1515)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:428)
	at hudson.model.Run.run(Run.java:1390)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40)
	at hudson.model.ResourceController.execute(ResourceController.java:81)
	at hudson.model.Executor.run(Executor.java:137)