Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Delta pack failed on 3.5.1
Delta pack failed on 3.5.1 [message #492485] Tue, 20 October 2009 15:10 Go to next message
Defert Philippe is currently offline Defert PhilippeFriend
Messages: 62
Registered: July 2009
Member
Hi,

i want to export my product on many arch

i used delta pack with target configuration

i have 2 problems:

1) in OS=win32, ARCH=x86_64, WS=win32, my product gives me an export
with embedded JRE, but it is 32-bit JRE for 64-bit executable that I
made a crash performance at execution
Q: where can I indicate that I do not want to export the JRE in .product?


2) i can not generate a linux version 32 or 64 bits, i have this error
during generation

xxxxxxxxx\.metadata\.plugins\org.eclipse.pde.core\temp\org.e clipse.pde.container.feature\assemble.org.eclipse.pde.contai ner.feature.linux.gtk.x86_64.xml:97:
java.lang.NullPointerException
at
org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:48)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:422)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:279)
at
org.eclipse.pde.internal.core.exports.ProductExportOperation .run(ProductExportOperation.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.pde.internal.build.Utils.copy(Utils.java:408)
at
org.eclipse.pde.internal.build.BrandingIron.brandLinux(Brand ingIron.java:106)
at org.eclipse.pde.internal.build.BrandingIron.brand(BrandingIr on.java:74)
at
org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:46)
... 24 more
--- Nested Exception ---
java.lang.NullPointerException
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.pde.internal.build.Utils.copy(Utils.java:408)
at
org.eclipse.pde.internal.build.BrandingIron.brandLinux(Brand ingIron.java:106)
at org.eclipse.pde.internal.build.BrandingIron.brand(BrandingIr on.java:74)
at
org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:46)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:422)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:279)
at
org.eclipse.pde.internal.core.exports.ProductExportOperation .run(ProductExportOperation.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Delta pack failed on 3.5.1 [message #493024 is a reply to message #492485] Thu, 22 October 2009 18:31 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The NullPointerException is this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=292327

The workaround would be to remove the icons for the other platforms, or
add some for linux.

The JRE comes from the Launching Tab of the product editor, don't select
the Execution Environment. (I don't like this feature since there are
many cases where it doesn't work well).

-Andrew

Defert Philippe wrote:
> Hi,
>
> i want to export my product on many arch
>
> i used delta pack with target configuration
>
> i have 2 problems:
>
> 1) in OS=win32, ARCH=x86_64, WS=win32, my product gives me an export
> with embedded JRE, but it is 32-bit JRE for 64-bit executable that I
> made a crash performance at execution
> Q: where can I indicate that I do not want to export the JRE in
> .product?
>
>
> 2) i can not generate a linux version 32 or 64 bits, i have this error
> during generation
>
> xxxxxxxxx\.metadata\.plugins\org.eclipse.pde.core\temp\org.e clipse.pde.container.feature\assemble.org.eclipse.pde.contai ner.feature.linux.gtk.x86_64.xml:97:
> java.lang.NullPointerException
> at
> org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:48)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
> at
> org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:422)
>
> at
> org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:279)
>
> at
> org.eclipse.pde.internal.core.exports.ProductExportOperation .run(ProductExportOperation.java:105)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.lang.NullPointerException
> at java.io.FileInputStream.<init>(Unknown Source)
> at org.eclipse.pde.internal.build.Utils.copy(Utils.java:408)
> at
> org.eclipse.pde.internal.build.BrandingIron.brandLinux(Brand ingIron.java:106)
>
> at
> org.eclipse.pde.internal.build.BrandingIron.brand(BrandingIr on.java:74)
> at
> org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:46)
> ... 24 more
> --- Nested Exception ---
> java.lang.NullPointerException
> at java.io.FileInputStream.<init>(Unknown Source)
> at org.eclipse.pde.internal.build.Utils.copy(Utils.java:408)
> at
> org.eclipse.pde.internal.build.BrandingIron.brandLinux(Brand ingIron.java:106)
>
> at
> org.eclipse.pde.internal.build.BrandingIron.brand(BrandingIr on.java:74)
> at
> org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:46)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
> at
> org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:422)
>
> at
> org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:279)
>
> at
> org.eclipse.pde.internal.core.exports.ProductExportOperation .run(ProductExportOperation.java:105)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Delta pack failed on 3.5.1 [message #495574 is a reply to message #493024] Thu, 05 November 2009 11:42 Go to previous message
Defert Philippe is currently offline Defert PhilippeFriend
Messages: 62
Registered: July 2009
Member
Thanks , that fix my problem

Philippe

Le 22/10/2009 20:31, Andrew Niefer a écrit :
> The NullPointerException is this bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=292327
>
> The workaround would be to remove the icons for the other platforms, or
> add some for linux.
>
> The JRE comes from the Launching Tab of the product editor, don't select
> the Execution Environment. (I don't like this feature since there are
> many cases where it doesn't work well).
>
> -Andrew
>
> Defert Philippe wrote:
>> Hi,
>>
>> i want to export my product on many arch
>>
>> i used delta pack with target configuration
>>
>> i have 2 problems:
>>
>> 1) in OS=win32, ARCH=x86_64, WS=win32, my product gives me an export
>> with embedded JRE, but it is 32-bit JRE for 64-bit executable that I
>> made a crash performance at execution
>> Q: where can I indicate that I do not want to export the JRE in .product?
>>
>>
>> 2) i can not generate a linux version 32 or 64 bits, i have this error
>> during generation
>>
>> xxxxxxxxx\.metadata\.plugins\org.eclipse.pde.core\temp\org.e clipse.pde.container.feature\assemble.org.eclipse.pde.contai ner.feature.linux.gtk.x86_64.xml:97:
>> java.lang.NullPointerException
>> at
>> org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:48)
>> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
>> at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> 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.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
>> at
>> org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:422)
>>
>> at
>> org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:279)
>>
>> at
>> org.eclipse.pde.internal.core.exports.ProductExportOperation .run(ProductExportOperation.java:105)
>>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>> Caused by: java.lang.NullPointerException
>> at java.io.FileInputStream.<init>(Unknown Source)
>> at org.eclipse.pde.internal.build.Utils.copy(Utils.java:408)
>> at
>> org.eclipse.pde.internal.build.BrandingIron.brandLinux(Brand ingIron.java:106)
>>
>> at
>> org.eclipse.pde.internal.build.BrandingIron.brand(BrandingIr on.java:74)
>> at
>> org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:46)
>> ... 24 more
>> --- Nested Exception ---
>> java.lang.NullPointerException
>> at java.io.FileInputStream.<init>(Unknown Source)
>> at org.eclipse.pde.internal.build.Utils.copy(Utils.java:408)
>> at
>> org.eclipse.pde.internal.build.BrandingIron.brandLinux(Brand ingIron.java:106)
>>
>> at
>> org.eclipse.pde.internal.build.BrandingIron.brand(BrandingIr on.java:74)
>> at
>> org.eclipse.pde.internal.build.tasks.BrandTask.execute(Brand Task.java:46)
>> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
>> at sun.reflect.GeneratedMethodAccessor1275.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> 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.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
>> at
>> org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:422)
>>
>> at
>> org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:279)
>>
>> at
>> org.eclipse.pde.internal.core.exports.ProductExportOperation .run(ProductExportOperation.java:105)
>>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Previous Topic:Launch Shortcut
Next Topic:How to configure active console
Goto Forum:
  


Current Time: Thu Nov 27 19:54:12 GMT 2014

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

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