|
|
Re: NoClassDefFoundError when trying to create target platform using Hudson/Buckminster [message #629953 is a reply to message #629908] |
Thu, 30 September 2010 06:20 |
|
No idea. A NoClassDefFoundError is generally an indication on classpath
problems of some sort. Perhaps a version incompatibility somewhere. A
class is found but it's definition cannot be initialized.
- thomas
On 09/29/2010 11:40 PM, Daniel Ford wrote:
> I did a bit of experimentation and discovered that if I unchecked the
> "Archive and publish an Eclipse Target Platform" option on the Hudson
> Job then Job would complete without throwing the Error. I was using
>
> ".metadata/.plugins/org.eclipse.pde.core/.bundle_pool"
>
> As the "Path to Target Platform"
>
> Again, any ideas?
>
> Thanks
>
> Dan
>
>
> On 9/29/2010 4:53 PM, Daniel Ford wrote:
>> I'm trying to get Hudson and Buckminster to work together to build an
>> RCP. I think I have most things installed and configured correctly, but
>> I've run into an issue that I can't resolve.
>>
>> Basically, I have a Hudson Job that whose purpose is to create the
>> target platform. It does this with the buckminster
>> "importtartgetdefinition" command using the target definition I use in
>> the IDE. Things seem to work until the command is executed at which
>> point I get a "NoClassDefFoundError".
>>
>> Any ideas?
>>
>> Thanks
>>
>> Dan
>>
>>> [workspace] $ "C:\Documents and
>>> Settings\daford\.hudson\tools\Sun_Java_6_SE\bin\java.exe"
>>> "-Dbuckminster.output.root=C:\Documents and
>>> Settings\daford\.hudson\jobs\Create e4 Target
>>> Platform\workspace\buckminster.output"
>>> "-Dbuckminster.temp.root=C:\Documents and
>>> Settings\daford\.hudson\jobs\Create e4 Target
>>> Platform\workspace\buckminster.temp" -Xmx256m -Xmx1024m -jar
>>> "C:\Documents and
>>> Settings\daford\.hudson\tools\Default_Buckminster\buckminste r\plugins\org.eclipse.equinox.launcher_1.1.0.v20100507.jar "
>>>
>>> -application org.eclipse.buckminster.cmdline.headless -data
>>> "C:\Documents and Settings\daford\.hudson\jobs\Create e4 Target
>>> Platform\workspace" --loglevel info -S "C:\Documents and
>>> Settings\daford\.hudson\jobs\Create e4 Target
>>> Platform\workspace\commands.txt"
>>> INFO: importtargetdefinition '-A' '/C:/Documents and
>>> Settings/daford/.hudson/jobs/Create e4 Target
>>> Platform/workspace/com.forddaniel.arm.releng/targetPlatforms /e4RCP20100727.target'
>>>
>>>
>>> Archiving artifacts
>>> FATAL: Could not initialize class sun.nio.ch.FileChannelImpl
>>> java.lang.NoClassDefFoundError: Could not initialize class
>>> sun.nio.ch.FileChannelImpl
>>> at java.io.FileInputStream.getChannel(Unknown Source)
>>> at
>>> org.apache.tools.ant.util.ResourceUtils.copyResource(Resourc eUtils.java:469)
>>>
>>>
>>> at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java: 519)
>>> at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java: 481)
>>> at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java: 310)
>>> at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.jav a:841)
>>> at hudson.FilePath$31$1CopyImpl.doFileOperations(FilePath.java: 1434)
>>> at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:523)
>>
>>
>>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03398 seconds