Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP export problems
RCP export problems [message #460196] Sun, 17 December 2006 18:15 Go to next message
Eclipse UserFriend
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 20:56 Go to previous message
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.Friend
Messages: 218
Registered: July 2009
Senior Member
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.
>
>
Previous Topic:How to get the file path with the rcp located?
Next Topic:Project Natures/Builders
Goto Forum:
  


Current Time: Wed Apr 24 16:15:45 GMT 2024

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

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

Back to the top