Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0"
[RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94766] Fri, 27 June 2008 09:50 Go to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Hello,

I use the released version 1.1 of rap. I copied the target-platform in a
folder and set my eclipse to use this. In my plug-ins I use "import
package" instead of "requires plug-ins" without a version because I would
like to use the same plug-ins in rap and rcp.

Trying to launch my rap-app I get this error:
Missing Constraint: Import-Package: org.eclipse.ui; version="0.0.0"

All the other imports look right. I don't know what I'm doing wrong.

regards,
Lars
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94792 is a reply to message #94766] Fri, 27 June 2008 10:21 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hi,

You may try optional dependencies. Worked for me.

>
> I use the released version 1.1 of rap. I copied the target-platform in a
> folder and set my eclipse to use this. In my plug-ins I use "import
> package" instead of "requires plug-ins" without a version because I
> would like to use the same plug-ins in rap and rcp.
>
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94806 is a reply to message #94792] Fri, 27 June 2008 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Hello Dmitry,

Dmitry Pryadkin wrote:

> You may try optional dependencies. Worked for me.

With org.eclipse.ui set as optional, the launcher shows no error, but the
application is still not working:

27.06.2008 12:33:15 org.mortbay.jetty.servlet.ServletHandler handle
SCHWERWIEGEND: /rap?nocache=1214562795598:
java.lang.IllegalArgumentException: An entry point named 'default' does
not exist.
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:77)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:230)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
at java.lang.Thread.run(Thread.java:595)

But I think this is not the real Exception. Somewhere inside there is a
ClassDefNotFoundError or something similar.

regards,
Lars
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94836 is a reply to message #94806] Fri, 27 June 2008 11:11 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hi,

So is it true that you have your entry point named exactly as "default"?

Lars Fischer wrote:
> But I think this is not the real Exception. Somewhere inside there is a
> ClassDefNotFoundError or something similar.
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94928 is a reply to message #94836] Mon, 30 June 2008 07:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Hello Dmitry,

sorry for the delay,

> So is it true that you have your entry point named exactly as "default"?

Right.

regards,
Lars
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94958 is a reply to message #94766] Mon, 30 June 2008 07:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Hello,

switching back to RAP 1.1 M3 all works fine...

regards,
Lars
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #95018 is a reply to message #94958] Mon, 30 June 2008 08:36 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hi,

You can try switching back to 1.1R and re-create the configuration, open
"Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
configuration, then create a new one.

Lars Fischer wrote:
> switching back to RAP 1.1 M3 all works fine...
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #95091 is a reply to message #95018] Mon, 30 June 2008 14:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Hello,

if I use the jar-files of the M3 target-platform, my application is
working.
Using the jar-files of the release target-platform this message is shown:
Missing Constraint: org.eclipse.ui; version="0.0.0"

"Add required bundles" in the launch-configuration has no change. I don't
think that this would be an error in my launch-configuration.

regards,
Lars

Dmitry Pryadkin wrote:

> Hi,

> You can try switching back to 1.1R and re-create the configuration, open
> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
> configuration, then create a new one.
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #95435 is a reply to message #95091] Tue, 01 July 2008 13:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Hello,

I created a new launch-configuration with a newly installed rap-sdk. The
error is the same, but I don't know what is wrong.

regards,
Lars
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #96743 is a reply to message #95091] Fri, 04 July 2008 08:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cheney_chen.i-len.com

Hi,

Yes, I also encountered such a problem. You can use " the Eclipse Business
Expenses Reporting Tool (EBERT)" example
(http://www.eclipse.org/examples/example.php?id=expenses) provided by " The
Eclipse Examples Project" to check the problem. Because the example need to
run in different target platform, So the common plug-ins use the package
dependency instead of plug-in dependency. When I use the RAP 1.1 M3
target-platform to launch the RAP version application, it is working find;
But when I change to the release target-platform, the RAP version
application can't be complied through.

Please to check and give some ideas to fix the problem with the release
target-platfrom.

BTW, I use 3.4 release RCP SDK and some optional plug-ins as
target-platfrom, the rcp version application also work fine.
My eclipse version: 3.4.0 Build id: I20080617-2000
Java: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
OS: openSUSE 10.3 (X86-64)

Regards,

Cheney

Lars Fischer wrote:

> Hello,
>
> if I use the jar-files of the M3 target-platform, my application is
> working.
> Using the jar-files of the release target-platform this message is shown:
> Missing Constraint: org.eclipse.ui; version="0.0.0"
>
> "Add required bundles" in the launch-configuration has no change. I don't
> think that this would be an error in my launch-configuration.
>
> regards,
> Lars
>
> Dmitry Pryadkin wrote:
>
>> Hi,
>
>> You can try switching back to 1.1R and re-create the configuration, open
>> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
>> configuration, then create a new one.
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #96757 is a reply to message #96743] Fri, 04 July 2008 08:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cheney_chen.i-len.com

Hi,

Sorry, I forgot some information.As I change to the release
target-platform, the RAP version application can't be complied through. So
I add the org.eclipse.rap.ui or org.eclipse.rap.ui.workbench plug-in the
error plug-in for complied, But when I launch the application , the console
show some error message as Lars Fischer wrote before: Missing Constraint:
org.eclipse.ui; version="0.0.0".

Hope some help.

Regards,

Cheney

Cheney wrote:

> Hi,
>
> Yes, I also encountered such a problem. You can use " the Eclipse Business
> Expenses Reporting Tool (EBERT)" example
> (http://www.eclipse.org/examples/example.php?id=expenses) provided by "
> The Eclipse Examples Project" to check the problem. Because the example
> need to run in different target platform, So the common plug-ins use the
> package dependency instead of plug-in dependency. When I use the RAP 1.1
> M3 target-platform to launch the RAP version application, it is working
> find;
> But when I change to the release target-platform, the RAP version
> application can't be complied through.
>
> Please to check and give some ideas to fix the problem with the release
> target-platfrom.
>
> BTW, I use 3.4 release RCP SDK and some optional plug-ins as
> target-platfrom, the rcp version application also work fine.
> My eclipse version: 3.4.0 Build id: I20080617-2000
> Java: Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0_14-b03) OS: openSUSE 10.3 (X86-64)
>
> Regards,
>
> Cheney
>
> Lars Fischer wrote:
>
>> Hello,
>>
>> if I use the jar-files of the M3 target-platform, my application is
>> working.
>> Using the jar-files of the release target-platform this message is shown:
>> Missing Constraint: org.eclipse.ui; version="0.0.0"
>>
>> "Add required bundles" in the launch-configuration has no change. I don't
>> think that this would be an error in my launch-configuration.
>>
>> regards,
>> Lars
>>
>> Dmitry Pryadkin wrote:
>>
>>> Hi,
>>
>>> You can try switching back to 1.1R and re-create the configuration, open
>>> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
>>> configuration, then create a new one.
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #97309 is a reply to message #96757] Tue, 08 July 2008 15:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi,

I tried a lot to get the EBERT application from the example project
to work with RAP 1.1 - but without any success.

However, changing the dependency declarations from Import-Package to
Require-Bundle works at once. Are you sure that the launch
configuration contains everything you need?

Feel free to file a bug report to track progress on this issue.

Cheers,
Rüdiger

Cheney wrote:
> Hi,
>
> Sorry, I forgot some information.As I change to the release
> target-platform, the RAP version application can't be complied through. So
> I add the org.eclipse.rap.ui or org.eclipse.rap.ui.workbench plug-in the
> error plug-in for complied, But when I launch the application , the console
> show some error message as Lars Fischer wrote before: Missing Constraint:
> org.eclipse.ui; version="0.0.0".
>
> Hope some help.
>
> Regards,
>
> Cheney
>
> Cheney wrote:
>
>> Hi,
>>
>> Yes, I also encountered such a problem. You can use " the Eclipse Business
>> Expenses Reporting Tool (EBERT)" example
>> (http://www.eclipse.org/examples/example.php?id=expenses) provided by "
>> The Eclipse Examples Project" to check the problem. Because the example
>> need to run in different target platform, So the common plug-ins use the
>> package dependency instead of plug-in dependency. When I use the RAP 1.1
>> M3 target-platform to launch the RAP version application, it is working
>> find;
>> But when I change to the release target-platform, the RAP version
>> application can't be complied through.
>>
>> Please to check and give some ideas to fix the problem with the release
>> target-platfrom.
>>
>> BTW, I use 3.4 release RCP SDK and some optional plug-ins as
>> target-platfrom, the rcp version application also work fine.
>> My eclipse version: 3.4.0 Build id: I20080617-2000
>> Java: Java(TM) 2 Runtime Environment, Standard Edition (build
>> 1.5.0_14-b03) OS: openSUSE 10.3 (X86-64)
>>
>> Regards,
>>
>> Cheney
>>
>> Lars Fischer wrote:
>>
>>> Hello,
>>>
>>> if I use the jar-files of the M3 target-platform, my application is
>>> working.
>>> Using the jar-files of the release target-platform this message is shown:
>>> Missing Constraint: org.eclipse.ui; version="0.0.0"
>>>
>>> "Add required bundles" in the launch-configuration has no change. I don't
>>> think that this would be an error in my launch-configuration.
>>>
>>> regards,
>>> Lars
>>>
>>> Dmitry Pryadkin wrote:
>>>
>>>> Hi,
>>>> You can try switching back to 1.1R and re-create the configuration, open
>>>> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
>>>> configuration, then create a new one.
>
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #97561 is a reply to message #97309] Thu, 10 July 2008 09:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Hello Rüdiger,

sorry for the delay. I had to make some holidays... ;)

Rüdiger Herrmann wrote:

> I tried a lot to get the EBERT application from the example project
> to work with RAP 1.1 - but without any success.

> However, changing the dependency declarations from Import-Package to
> Require-Bundle works at once. Are you sure that the launch
> configuration contains everything you need?

"required-bundle" is no option for me, because I'm using rap and rcp
parallel. So I have two different target-platforms with different bundles
exporting the same classes.

> Feel free to file a bug report to track progress on this issue.

Hmm, I created a bug, but I can't find it on the tracker. But I think I
found an other entry for the same problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235834

regards,
Lars
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #97574 is a reply to message #97561] Thu, 10 July 2008 09:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ottrich.fast-mail.org

Ok, I found my entry...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=239116
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #97586 is a reply to message #97574] Thu, 10 July 2008 10:17 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Lars,

thanks for your effort. At first, I couldn't find it either, but as
you hinted, the bug you just filed is a duplicate of this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235834

I will close it as duplicate. Sorry for the extra work this caused.

Cheers,
Rüdiger

Lars Fischer wrote:
> Ok, I found my entry...
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=239116
>
Previous Topic:Workbench does not open
Next Topic:Colors for Themes
Goto Forum:
  


Current Time: Wed Jan 15 08:13:06 GMT 2025

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

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

Back to the top