Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » OCL in RAP (eInvoke not implemented)
OCL in RAP (eInvoke not implemented) [message #797806] Mon, 13 February 2012 22:44 Go to next message
Nico Katz is currently offline Nico KatzFriend
Messages: 4
Registered: February 2012
Junior Member
Hello Smile
We are using EMF together with RAP and therefore an ecore metamodel. Additionally, some method bodies are defined with OCL. If we call a method of this plugin whose method body is defined with OCL, we get a
java.lang.UnsupportedOperationException: eInvoke not implemented for getAllConnections at org.eclipse.emf.ecore.util.BasicInvocationDelegate.dynamicInvoke(BasicInvocationDelegate.java:96) ...

For that case, we tried to implement a fix recommended by ttp://wiki.eclipse.org/MDT/OCLinEcore#Standalone. Therefore we added OCL to our target platform and added org.eclipse.org.ecore as a dependency in our manifest.mf. However, we encounter an HTTP ERROR 500 now when running our project
( Problem accessing /rap. Reason: Entry point does not exist: de.uni_mannheim.informatik.swt.models.plm.editor.PLMEditorAdvisorApplication
Caused by:
java.lang.IllegalArgumentException: Entry point does not exist: de.uni_mannheim.informatik.swt.models.plm.editor.PLMEditorAdvisorApplication ...)
We highly appreciate any help,
Nico

[Updated on: Tue, 14 February 2012 09:10]

Report message to a moderator

Re: OCL in RAP (eInvoke not implemented) [message #798115 is a reply to message #797806] Tue, 14 February 2012 09:13 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Nico,

Do you provide your application entrypoint using IEntrypoint or
IApplication?

The procudure to track down those errors is always the same: enter the
command `ss` in the OSGi console (you have to start with -console
parameter) and make sure the bundle that provides your entrypoint is
present and active. If it's not, try to start it. Mostly it's just a
matter of missing bundles.

HTH, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: OCL in RAP (eInvoke not implemented) [message #798240 is a reply to message #798115] Tue, 14 February 2012 12:25 Go to previous message
Nico Katz is currently offline Nico KatzFriend
Messages: 4
Registered: February 2012
Junior Member
Thanks Ralf, we found the missing bundle with the "Validate Bundles" button in the "Bundles" tab in the run configurations and activated it. Works perfectly now.

[Updated on: Tue, 14 February 2012 15:27]

Report message to a moderator

Previous Topic:Screnshots about advanced UI for RCP/RAP
Next Topic:Javascript error: VML._copyData: source or target missing.
Goto Forum:
  


Current Time: Fri Apr 26 21:03:20 GMT 2024

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

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

Back to the top