Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Exported RCP app doesn't run
Exported RCP app doesn't run [message #466228] Mon, 16 April 2007 19:16 Go to next message
Eclipse UserFriend
Originally posted by: rhafernik.site-controls.com

I thought I included everything, following the example in the "eclipse
Rich Client Platform" book. But when I double click the app, it shows
my spash screen briefly, then directs me to an error message. Most of
the stuff it claims it can't find are part of org.eclipse.rcp (at least
I think so), which I have listed as an "included feature". Here's the
text from the .log file (and my features.xml file is below):

============================================================ ===========
!SESSION 2007-04-16 13:56:27.214
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_07
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -keyring /Users/rob/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws carbon -keyring
/Users/rob/.eclipse_keyring -consoleLog -showlocation

!ENTRY org.eclipse.core.runtime 2007-04-16 13:56:28.659
!MESSAGE Product org.aionet.explico.ergo could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-04-16 13:56:28.670
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:56)


at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)


at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)


at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)


at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)


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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2007-04-16 13:56:28.683
!MESSAGE One or more bundles are not resolved because the following
root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-04-16 13:56:28.683
!MESSAGE Bundle update@plugins/org.aionet.explico_1.0.0.jar was not resolved.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.684
!MESSAGE Missing required bundle org.eclipse.core.resources_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.684
!MESSAGE Missing required bundle org.eclipse.ui.ide_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.684
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.685
!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.686
!MESSAGE Missing required bundle org.eclipse.ui.workbench.texteditor_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2007-04-16 13:56:28.713
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-04-16 13:56:28.714
!MESSAGE Bundle update@plugins/org.aionet.explico_1.0.0.jar [5] was not
resolved.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.715
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.716
!MESSAGE Missing required bundle org.eclipse.core.resources_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.716
!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.717
!MESSAGE Missing required bundle org.eclipse.ui.ide_0.0.0.
!SUBENTRY 2 org.aionet.explico 2 0 2007-04-16 13:56:28.717
!MESSAGE Missing required bundle org.eclipse.ui.workbench.texteditor_0.0.0.

============================================================ ===========

feature.xml:

============================================================ ===========
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.aionet.explico.feature"
label="ergo"
version="1.0.0"
provider-name="Site Controls, Inc"
os="linux,macosx,win32"
ws="carbon,gtk,win32"
nl="en"
arch="x86">

<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>

<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>

<license url="http://www.example.com/license">
[Enter License Description here.]
</license>

<includes
id="org.eclipse.rcp"
version="0.0.0"/>

<plugin
id="org.aionet.explico"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.apache.lucene"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.help.appserver"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.base"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.webapp"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.tomcat"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.ui.forms"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

</feature>
============================================================ ===========
Re: Exported RCP app doesn't run [message #466270 is a reply to message #466228] Tue, 17 April 2007 12:05 Go to previous messageGo to next message
Nicolai Czempin is currently offline Nicolai CzempinFriend
Messages: 21
Registered: July 2009
Junior Member
Not sure if it applies in your case, but we had a problem like that, and a workaround was to add _everything_ to the "binary build"
configuration. You can try a divide-and-conquer to find the actual culprit if it turns out to fix your problem.

Rob Hafernik schrieb:
> I thought I included everything, following the example in the "eclipse
> Rich Client Platform" book. But when I double click the app, it shows
> my spash screen briefly, then directs me to an error message. Most of
> the stuff it claims it can't find are part of org.eclipse.rcp (at least
> I think so), which I have listed as an "included feature". Here's the
> text from the .log file (and my features.xml file is below):
>
> ============================================================ ===========
> !SESSION 2007-04-16 13:56:27.214
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_07
> java.vendor=Apple Computer, Inc.
> BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
> Framework arguments: -keyring /Users/rob/.eclipse_keyring -showlocation
> Command-line arguments: -os macosx -ws carbon -keyring
> /Users/rob/.eclipse_keyring -consoleLog -showlocation
>
> !ENTRY org.eclipse.core.runtime 2007-04-16 13:56:28.659
> !MESSAGE Product org.aionet.explico.ergo could not be found.
>
> !ENTRY org.eclipse.osgi 4 0 2007-04-16 13:56:28.670
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: No application id has been found.
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:56)
>
>
>
>
Re: Exported RCP app doesn't run [message #466311 is a reply to message #466270] Tue, 17 April 2007 14:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rhafernik.site-controls.com

Ah, I figured it out. I went to my Runtime configuration and copied
down every jar that it thought was required (quite a list). Then I
went to my features' plug-ins tab and added each of those jars there.
To bad the features plugins tab doesn't have that handy "go and figure
it all out button" that the Runtime editor has...

Thanks for your help,

~rob

On 2007-04-17 07:05:32 -0500, Nicolai Czempin <exquisitus@example.com> said:

> Not sure if it applies in your case, but we had a problem like that,
> and a workaround was to add _everything_ to the "binary build"
> configuration. You can try a divide-and-conquer to find the actual
> culprit if it turns out to fix your problem.
>
> Rob Hafernik schrieb:
>> I thought I included everything, following the example in the "eclipse
>> Rich Client Platform" book. But when I double click the app, it shows
>> my spash screen briefly, then directs me to an error message. Most of
>> the stuff it claims it can't find are part of org.eclipse.rcp (at least
>> I think so), which I have listed as an "included feature". Here's the
>> text from the .log file (and my features.xml file is below):
>>
>> ============================================================ ===========
>> !SESSION 2007-04-16 13:56:27.214
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.5.0_07
>> java.vendor=Apple Computer, Inc.
>> BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
>> Framework arguments: -keyring /Users/rob/.eclipse_keyring -showlocation
>> Command-line arguments: -os macosx -ws carbon -keyring
>> /Users/rob/.eclipse_keyring -consoleLog -showlocation
>>
>> !ENTRY org.eclipse.core.runtime 2007-04-16 13:56:28.659
>> !MESSAGE Product org.aionet.explico.ergo could not be found.
>>
>> !ENTRY org.eclipse.osgi 4 0 2007-04-16 13:56:28.670
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.RuntimeException: No application id has been found.
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:56)





>>
Re: Exported RCP app doesn't run [message #466328 is a reply to message #466311] Tue, 17 April 2007 20:53 Go to previous message
James Leotta is currently offline James LeottaFriend
Messages: 202
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Works a lot better in 3.3.

Rob Hafernik wrote:
> Ah, I figured it out. I went to my Runtime configuration and copied
> down every jar that it thought was required (quite a list). Then I went
> to my features' plug-ins tab and added each of those jars there. To bad
> the features plugins tab doesn't have that handy "go and figure it all
> out button" that the Runtime editor has...
>
> Thanks for your help,
>
> ~rob
>
> On 2007-04-17 07:05:32 -0500, Nicolai Czempin <exquisitus@example.com>
> said:
>
>> Not sure if it applies in your case, but we had a problem like that,
>> and a workaround was to add _everything_ to the "binary build"
>> configuration. You can try a divide-and-conquer to find the actual
>> culprit if it turns out to fix your problem.
>>
>> Rob Hafernik schrieb:
>>> I thought I included everything, following the example in the
>>> "eclipse Rich Client Platform" book. But when I double click the
>>> app, it shows my spash screen briefly, then directs me to an error
>>> message. Most of the stuff it claims it can't find are part of
>>> org.eclipse.rcp (at least I think so), which I have listed as an
>>> "included feature". Here's the text from the .log file (and my
>>> features.xml file is below):
>>>
>>> ============================================================ ===========
>>> !SESSION 2007-04-16 13:56:27.214
>>> -----------------------------------------------
>>> eclipse.buildId=unknown
>>> java.version=1.5.0_07
>>> java.vendor=Apple Computer, Inc.
>>> BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
>>> Framework arguments: -keyring /Users/rob/.eclipse_keyring -showlocation
>>> Command-line arguments: -os macosx -ws carbon -keyring
>>> /Users/rob/.eclipse_keyring -consoleLog -showlocation
>>>
>>> !ENTRY org.eclipse.core.runtime 2007-04-16 13:56:28.659
>>> !MESSAGE Product org.aionet.explico.ergo could not be found.
>>>
>>> !ENTRY org.eclipse.osgi 4 0 2007-04-16 13:56:28.670
>>> !MESSAGE Application error
>>> !STACK 1
>>> java.lang.RuntimeException: No application id has been found.
>>> at
>>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:56)
>>>
>
>
>
>
>
>>>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJTO5/vLG7sWn478RAoE+AJ9V0ogLnt9J/cQwyFESF6ZKJ0FZVwCf YjhK
3w8XAB4m0Gzt1xhLrsjQkXs=
=hdRZ
-----END PGP SIGNATURE-----
Previous Topic:How to build plugins for a specific RCP application
Next Topic:errorcodes for RCP apps?
Goto Forum:
  


Current Time: Thu Apr 25 17:49:28 GMT 2024

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

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

Back to the top