Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Starting an RCP application
Starting an RCP application [message #527997] Sun, 18 April 2010 12:23 Go to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi,

I have been using "self hosting" e4. I tried to get an RCP app to run,
however i get this error:

!ENTRY org.eclipse.osgi 4 0 2010-04-18 14:17:16.910
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.AssertionFailedException: null
argument:applicationXMI argument missing
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at
org.eclipse.e4.ui.workbench.swt.internal.E4Application.loadA pplicationModel(E4Application.java:185)
at
org.eclipse.e4.ui.workbench.swt.internal.E4Application.creat eE4Workbench(E4Application.java:129)
at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:525)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:518)

Are RCP apps supposed to run out of the box or do I always need the
application XMI?

Regards,

Wim Jongman
Re: Starting an RCP application [message #527998 is a reply to message #527997] Sun, 18 April 2010 12:40 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You currently need at least a minimal Application XMI which holds a Window.

Tom

Am 18.04.10 14:23, schrieb Wim Jongman:
> Hi,
>
> I have been using "self hosting" e4. I tried to get an RCP app to run,
> however i get this error:
>
> !ENTRY org.eclipse.osgi 4 0 2010-04-18 14:17:16.910
> !MESSAGE Application error
> !STACK 1
> org.eclipse.core.runtime.AssertionFailedException: null
> argument:applicationXMI argument missing
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at
> org.eclipse.e4.ui.workbench.swt.internal.E4Application.loadA pplicationModel(E4Application.java:185)
> at
> org.eclipse.e4.ui.workbench.swt.internal.E4Application.creat eE4Workbench(E4Application.java:129)
> at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:525)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:518)
>
> Are RCP apps supposed to run out of the box or do I always need the
> application XMI?
>
> Regards,
>
> Wim Jongman
Re: Starting an RCP application [message #527999 is a reply to message #527998] Sun, 18 April 2010 12:56 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
One more thing which is probably important:
a) You want to write a native e4-RCP-Application
b) You want to write a RCP-Application using the compat layer

You don't need a Application XMI in case of b) but then you need to
launch the correct product (I've asked a question on e4-dev just today
asking how to run an inner instance on the compat-layer).

Tom

Am 18.04.10 14:40, schrieb Tom Schindl:
> You currently need at least a minimal Application XMI which holds a Window.
>
> Tom
>
> Am 18.04.10 14:23, schrieb Wim Jongman:
>> Hi,
>>
>> I have been using "self hosting" e4. I tried to get an RCP app to run,
>> however i get this error:
>>
>> !ENTRY org.eclipse.osgi 4 0 2010-04-18 14:17:16.910
>> !MESSAGE Application error
>> !STACK 1
>> org.eclipse.core.runtime.AssertionFailedException: null
>> argument:applicationXMI argument missing
>> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
>> at
>> org.eclipse.e4.ui.workbench.swt.internal.E4Application.loadA pplicationModel(E4Application.java:185)
>> at
>> org.eclipse.e4.ui.workbench.swt.internal.E4Application.creat eE4Workbench(E4Application.java:129)
>> at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:525)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:518)
>>
>> Are RCP apps supposed to run out of the box or do I always need the
>> application XMI?
>>
>> Regards,
>>
>> Wim Jongman
>
Re: Starting an RCP application [message #574709 is a reply to message #527997] Sun, 18 April 2010 12:40 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You currently need at least a minimal Application XMI which holds a Window.

Tom

Am 18.04.10 14:23, schrieb Wim Jongman:
> Hi,
>
> I have been using "self hosting" e4. I tried to get an RCP app to run,
> however i get this error:
>
> !ENTRY org.eclipse.osgi 4 0 2010-04-18 14:17:16.910
> !MESSAGE Application error
> !STACK 1
> org.eclipse.core.runtime.AssertionFailedException: null
> argument:applicationXMI argument missing
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at
> org.eclipse.e4.ui.workbench.swt.internal.E4Application.loadA pplicationModel(E4Application.java:185)
> at
> org.eclipse.e4.ui.workbench.swt.internal.E4Application.creat eE4Workbench(E4Application.java:129)
> at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:525)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:518)
>
> Are RCP apps supposed to run out of the box or do I always need the
> application XMI?
>
> Regards,
>
> Wim Jongman
Re: Starting an RCP application [message #574728 is a reply to message #527998] Sun, 18 April 2010 12:56 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
One more thing which is probably important:
a) You want to write a native e4-RCP-Application
b) You want to write a RCP-Application using the compat layer

You don't need a Application XMI in case of b) but then you need to
launch the correct product (I've asked a question on e4-dev just today
asking how to run an inner instance on the compat-layer).

Tom

Am 18.04.10 14:40, schrieb Tom Schindl:
> You currently need at least a minimal Application XMI which holds a Window.
>
> Tom
>
> Am 18.04.10 14:23, schrieb Wim Jongman:
>> Hi,
>>
>> I have been using "self hosting" e4. I tried to get an RCP app to run,
>> however i get this error:
>>
>> !ENTRY org.eclipse.osgi 4 0 2010-04-18 14:17:16.910
>> !MESSAGE Application error
>> !STACK 1
>> org.eclipse.core.runtime.AssertionFailedException: null
>> argument:applicationXMI argument missing
>> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
>> at
>> org.eclipse.e4.ui.workbench.swt.internal.E4Application.loadA pplicationModel(E4Application.java:185)
>> at
>> org.eclipse.e4.ui.workbench.swt.internal.E4Application.creat eE4Workbench(E4Application.java:129)
>> at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:525)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:518)
>>
>> Are RCP apps supposed to run out of the box or do I always need the
>> application XMI?
>>
>> Regards,
>>
>> Wim Jongman
>
Previous Topic:Starting an RCP application
Next Topic:About XWT.registerMetaclass(DecoratedText.class)
Goto Forum:
  


Current Time: Thu Apr 25 20:17:56 GMT 2024

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

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

Back to the top