RCP export problems [message #460196] |
Sun, 17 December 2006 13:15  |
Eclipse User |
|
|
|
Originally posted by: zivzeira.yahoo.com
Hello,
I'm working with Eclipse 3.1.2 (Build id: M20060118-1600) on an application,
I have built a product which works fine inside Eclipse, but not once
exported by the product export tooling.
When I launch the product, I get the following:
!SESSION 2006-12-17
17:58:48.174 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=iw_IL
Command-line arguments: -os win32 -ws win32 -arch x86 -clean
!ENTRY org.eclipse.osgi 2006-12-17 17:58:54.612
!MESSAGE An error occurred while automatically activating bundle MyProgram
(3).
!STACK 0
org.osgi.framework.BundleException: The activator myProgram.MyProgramPlugin
for bundle MyProgram is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:149)
|
|
|
Re: RCP export problems [message #460197 is a reply to message #460196] |
Sun, 17 December 2006 15:56  |
Eclipse User |
|
|
|
You have a plugin dependency problem. If you are using a feature based
product, you must make sure that the features contain all the plugins needed
by you activator. It looks like you are not including one of the apache
classes.
One way to find out the necessary plugins is to go to the run configuration
for your product, as it runs successfully in the IDE, and go to the plugins
tab. Select the radio button to choose plugins and fragments from the list.
Deselect all, then select your plug in and tell it to add required plugins.
Then verify that this configuration works (do a validate plugin set) and if
necessary, run it. The list of plugins that are included MUST be in your
features that are included in the product.
On 12/17/06 11:15 AM, in article em415r$2ik$1@utils.eclipse.org, "Ziv Zeira"
<zivzeira@yahoo.com> wrote:
> Hello,
>
>
> I'm working with Eclipse 3.1.2 (Build id: M20060118-1600) on an application,
> I have built a product which works fine inside Eclipse, but not once
> exported by the product export tooling.
> When I launch the product, I get the following:
>
> !SESSION 2006-12-17
> 17:58:48.174 -----------------------------------------------
>
> eclipse.buildId=unknown
>
> java.version=1.5.0_06
>
> java.vendor=Sun Microsystems Inc.
>
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=iw_IL
>
> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>
>
>
> !ENTRY org.eclipse.osgi 2006-12-17 17:58:54.612
>
> !MESSAGE An error occurred while automatically activating bundle MyProgram
> (3).
>
> !STACK 0
>
> org.osgi.framework.BundleException: The activator myProgram.MyProgramPlugin
> for bundle MyProgram is invalid
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(Ab
> stractBundle.java:149)
>
>
.
>
> Caused by: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlObject
>
> at myProgram.MyProgramPlugin.<clinit>(MyProgramPlugin.java:30)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
> Method)
>
>
..
>
> Root exception:
>
> java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlObject
>
> at myProgram.MyProgramPlugin.<clinit>(MyProgramPlugin.java:30)
>
>
.
>
> !ENTRY org.eclipse.osgi 2006-12-17 17:58:54.628
>
> !MESSAGE Application error
>
> !STACK 1
>
> org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException:
> myProgram.PlatformRunnable
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.j
> ava:405)
>
> .....
>
> Can you please help me
>
>
>
> All the best,
>
> Ziv.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.01981 seconds