Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Another product building problem (Java returned: 13)
Another product building problem (Java returned: 13) [message #387740] Tue, 14 July 2009 20:13 Go to next message
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 139
Registered: July 2009
Senior Member
Hi again,

I feel I'm almost there in my epic product building endeavour, but I have one problem left: When I try building a product with an ant actor
as shown in the buckminster mailapp tutorial, I always get this error:

ERROR: org.eclipse.core.runtime.CoreException:
C:\Users\creckord\bucky\workspace\features\org.eclipse.buckm inster.tutorial.mailapp.product.feature\build\product.ant:22 : Java returned: 13
org.eclipse.core.runtime.CoreException:
C:\Users\creckord\bucky\workspace\features\org.eclipse.buckm inster.tutorial.mailapp.product.feature\build\product.ant:22 : Java returned: 13
at org.eclipse.buckminster.ant.AntRunner.handleInvocationTarget Exception(AntRunner.java:189)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:352 )
at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:281)
at org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:201)
at org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:361)
at org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:405)
at org.eclipse.buckminster.core.commands.Perform.internalRun(Pe rform.java:118)
at org.eclipse.buckminster.core.commands.WorkspaceCommand.run(W orkspaceCommand.java:191)
at org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(Abs tractCommand.java:155)
at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:3 41)
at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:1 35)
at org.eclipse.buckminster.cmdline.Headless.start(Headless.java :189)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: C:\Users\creckord\bucky\workspace\features\org.eclipse.buckm inster.tutorial.mailapp.product.feature\build\product.ant:22 : Java
returned: 13
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:622)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:455)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:344 )
... 23 more


Steps to reproduce with mailapp example:
1) replace org.eclipse.buckminster.mailapp.releng/eclipse.rmap with attached version (I couldn't build the plugins materialized by the
original one)
2) Set targetPlatformPath to a Galileo release
3) resolve -P org.eclipse.buckminster.mailapp.releng/buckminster.propertie s org.eclipse.buckminster.mailapp.releng/developer.cquery
4) perform -P org.eclipse.buckminster.mailapp.releng/buckminster.propertie s org.eclipse.buckminster.mailapp.product.feature#create.produ ct

Opening the materialized workspace and using the product export wizard works fine by the way.
Re: Another product building problem (Java returned: 13) [message #387741 is a reply to message #387740] Tue, 14 July 2009 20:40 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Carsten,

in $ECLIPSE_HOME/configuration of the eclipse installation addressed
within the ant-script there should be a log file. Can you please post
the content of that?


Best regards,
Johannes

Carsten Reckord schrieb:
> Hi again,
>
> I feel I'm almost there in my epic product building endeavour, but I
> have one problem left: When I try building a product with an ant actor
> as shown in the buckminster mailapp tutorial, I always get this error:
>
> ERROR: org.eclipse.core.runtime.CoreException:
> C:\Users\creckord\bucky\workspace\features\org.eclipse.buckm inster.tutorial.mailapp.product.feature\build\product.ant:22 :
> Java returned: 13
> org.eclipse.core.runtime.CoreException:
> C:\Users\creckord\bucky\workspace\features\org.eclipse.buckm inster.tutorial.mailapp.product.feature\build\product.ant:22 :
> Java returned: 13
> at
> org.eclipse.buckminster.ant.AntRunner.handleInvocationTarget Exception(AntRunner.java:189)
>
> at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:352 )
> at
> org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:281)
>
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:201)
>
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:361)
>
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:405)
>
> at
> org.eclipse.buckminster.core.commands.Perform.internalRun(Pe rform.java:118)
> at
> org.eclipse.buckminster.core.commands.WorkspaceCommand.run(W orkspaceCommand.java:191)
>
> at
> org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(Abs tractCommand.java:155)
>
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:3 41)
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:1 35)
> at
> org.eclipse.buckminster.cmdline.Headless.start(Headless.java :189)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by:
> C:\Users\creckord\bucky\workspace\features\org.eclipse.buckm inster.tutorial.mailapp.product.feature\build\product.ant:22 :
> Java returned: 13
> at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1337)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:622)
>
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:455)
>
> at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:344 )
> ... 23 more
>
>
> Steps to reproduce with mailapp example:
> 1) replace org.eclipse.buckminster.mailapp.releng/eclipse.rmap with
> attached version (I couldn't build the plugins materialized by the
> original one)
> 2) Set targetPlatformPath to a Galileo release
> 3) resolve -P
> org.eclipse.buckminster.mailapp.releng/buckminster.propertie s
> org.eclipse.buckminster.mailapp.releng/developer.cquery
> 4) perform -P
> org.eclipse.buckminster.mailapp.releng/buckminster.propertie s
> org.eclipse.buckminster.mailapp.product.feature#create.produ ct
>
> Opening the materialized workspace and using the product export wizard
> works fine by the way.
Re: Another product building problem (Java returned: 13) [message #387743 is a reply to message #387741] Tue, 14 July 2009 22:11 Go to previous messageGo to next message
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 139
Registered: July 2009
Senior Member
Hi Johannes,

Ah, that's it. Seems my buckminster was missing the director app. I was getting

java.lang.RuntimeException: Application "org.eclipse.equinox.p2.director" could not be found in the registry.

After installing org.eclipse.equinox.p2.director.app into it, everything worked just fine.

Thanks a lot,
Carsten

On 14.07.2009 22:40, Johannes Utzig wrote:
> Hi Carsten,
>
> in $ECLIPSE_HOME/configuration of the eclipse installation addressed
> within the ant-script there should be a log file. Can you please post
> the content of that?
>
>
> Best regards,
> Johannes
>
Re: Another product building problem (Java returned: 13) [message #387930 is a reply to message #387743] Wed, 15 July 2009 07:10 Go to previous message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Carsten,

yes, I noticed that too a while ago. Have a look here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=282992

Best regards,
Johannes

Carsten Reckord schrieb:
> Hi Johannes,
>
> Ah, that's it. Seems my buckminster was missing the director app. I was
> getting
>
> java.lang.RuntimeException: Application
> "org.eclipse.equinox.p2.director" could not be found in the registry.
>
> After installing org.eclipse.equinox.p2.director.app into it, everything
> worked just fine.
>
> Thanks a lot,
> Carsten
>
> On 14.07.2009 22:40, Johannes Utzig wrote:
>> Hi Carsten,
>>
>> in $ECLIPSE_HOME/configuration of the eclipse installation addressed
>> within the ant-script there should be a log file. Can you please post
>> the content of that?
>>
>>
>> Best regards,
>> Johannes
>>
Previous Topic:How to deal with feature patches
Next Topic:WARN: Authorization infrastructure (org.eclipse.core.runtime.compatibility.auth
Goto Forum:
  


Current Time: Wed Feb 05 04:40:19 GMT 2025

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

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

Back to the top