Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » p2 build fails with java1.5 but works with 1.6
p2 build fails with java1.5 but works with 1.6 [message #536860] Mon, 31 May 2010 09:57 Go to next message
nitesh  is currently offline nitesh Friend
Messages: 8
Registered: December 2009
Junior Member
Hello All,

I am having a problem while building the update site using hudson and buckminster. It will be a great favour if some one can guide me in resolving this.

When i try to create a p2 update site and the build environment is set to Java 1.6 everything works fine, but as I switch it to 1.5 I get the following error :

ERROR: An internal error occurred during: "Installing". java.lang.IllegalArgumentException: Resolution not created using LocalReader at org.eclipse.buckminster.core.reader.LocalReaderType.getFixedLocation(LocalReaderType.java:50) at org.eclipse.buckminster.core.materializer.WorkspaceMaterializer.getMaterialization(WorkspaceMaterializer.java:68) at org.eclipse.buckminster.core.materializer.WorkspaceMaterializer.createBindSpec(WorkspaceMaterializer.java:241) at org.eclipse.buckminster.core.materializer.WorkspaceMaterializer.performInstallAction(WorkspaceMaterializer.java:198) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:164) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.delegateAndInstallRecursive(AbstractMaterializer.java:189) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.installRecursive(AbstractMaterializer.java:156) at org.eclipse.buckminster.core.materializer.AbstractMaterializer.performInstallActions(AbstractMaterializer.java:68) at org.eclipse.buckminster.core.materializer.InstallerJob.runInWorkspace(InstallerJob.java:52) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
java.lang.IllegalArgumentException: Resolution not created using LocalReader 


Now the problem with our existing code is that its not been migrated yet for Java 1.6 and we don't want to do it just for this purpose.

Thanks a lot in advance.

Thanks and regards,
Nitesh
Re: p2 build fails with java1.5 but works with 1.6 [message #536869 is a reply to message #536860] Mon, 31 May 2010 10:40 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Nitesh,

I'm running a Buckminster headless with Java 1.5 but I'm not able to reproduce this. Would it be possible for you to
create a reproduceable example and attach it to a bugzilla? Exactly what is it that you have installed and what type of
readers are deployed in the RMAP?

- thomas


On 05/31/2010 11:57 AM, nitesh wrote:
> Hello All,
>
> I am having a problem while building the update site using hudson and
> buckminster. It will be a great favour if some one can guide me in
> resolving this.
>
> When i try to create a p2 update site and the build environment is set
> to Java 1.6 everything works fine, but as I switch it to 1.5 I get the
> following error :
> ERROR: An internal error occurred during: "Installing".
> java.lang.IllegalArgumentException: Resolution not created using
> LocalReader at
> org.eclipse.buckminster.core.reader.LocalReaderType.getFixed Location(LocalReaderType.java:50)
> at
> org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.getMaterialization(WorkspaceMaterializer.java:68)
> at
> org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.createBindSpec(WorkspaceMaterializer.java:241)
> at
> org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.performInstallAction(WorkspaceMaterializer.java:198)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:164)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at
> org.eclipse.buckminster.core.materializer.AbstractMaterializ er.performInstallActions(AbstractMaterializer.java:68)
> at
> org.eclipse.buckminster.core.materializer.InstallerJob.runIn Workspace(InstallerJob.java:52)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> java.lang.IllegalArgumentException: Resolution not created using
> LocalReader
> Now the problem with our existing code is that its not been migrated yet
> for Java 1.6 and we don't want to do it just for this purpose.
>
> Thanks a lot in advance.
>
> Thanks and regards,
> Nitesh
Re: p2 build fails with java1.5 but works with 1.6 [message #536870 is a reply to message #536869] Mon, 31 May 2010 10:51 Go to previous message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi,

that problem sounds an aweful lot like this one:
http://www.eclipse.org/forums/index.php?t=msg&th=168194& amp;start=0&

Best regards,
Johannes
Previous Topic:"One or more certificates rejected" during create.product action
Next Topic:svn+ssh key file
Goto Forum:
  


Current Time: Sun Jul 25 10:40:17 GMT 2021

Powered by FUDForum. Page generated in 0.01966 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top