Failed to set 'self' context [message #1783915] |
Tue, 20 March 2018 06:39  |
Eclipse User |
|
|
|
Hello,
I am walking through the online documentation on OCL.
I had a quick question on the Getting Started part.
I am executing the steps:
"You may evaluate custom OCL queries interactively. From the editor for Tutorial.xmi, invoke OCL->Show Xtext OCL Console from the context menu. Select Book b2 in the editor, then in the bottom line of the console enter the OCL expression loans.member and then Enter. The results are shown in the panel and identify that all three loans are by Member m3."
When I execute this I get a dialog box "OCL Console Selection Error" - Failed to set 'self' context. Reason: org.eclipse.xtext.completeocl.utilities.CompleteOCLASResourceFactory.getASElement
Also I see on the console:
Diagnostic ERROR source=org.eclipse.ocl.examples.debug.evaluation code=120 Execution failed data=[org.eclipse.ocl.examples.debug.vm.utils.VMRuntimeException: Execution failed]
[Java cause:]
org.eclipse.ocl.examples.debug.vm.utils.VMRuntimeException: Execution failed
at org.eclipse.ocl.examples.debug.vm.launching.InternalDebuggableExecutor.execute(InternalDebuggableExecutor.java:287)
at org.eclipse.ocl.examples.debug.vm.launching.DebuggableRunner.execute(DebuggableRunner.java:112)
at org.eclipse.ocl.examples.debug.vm.launching.DebuggableRunner$2.execute(DebuggableRunner.java:83)
at org.eclipse.ocl.examples.debug.vm.VMVirtualMachine.execute(VMVirtualMachine.java:161)
at org.eclipse.ocl.examples.debug.vm.VMVirtualMachine.access$14(VMVirtualMachine.java:158)
at org.eclipse.ocl.examples.debug.vm.VMVirtualMachine$1.run(VMVirtualMachine.java:218)
at java.lang.Thread.run(Unknown Source)
Diagnostic ERROR source=org.eclipse.ocl.examples.debug.evaluation code=120 Execution failed data=[org.eclipse.ocl.examples.debug.vm.utils.VMRuntimeException: Execution failed]
Just wanted to know if this is expected, a problem of if I am doing something wrong.
Regards,
Bruce
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03736 seconds