Evaluate operations defined via OCLinEcore in the interactive console yields OCLinvalid [message #733983] |
Thu, 06 October 2011 08:18 |
mardo Messages: 1 Registered: October 2011 |
Junior Member |
|
|
Hi,
I
- downloaded a fresh indigo
- replayed the tutorial help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.ocl.doc%2Fhelp%2FTutorials.html until "Helper Features and Operations" (execute isAvailable() in the OCL interactive console).
- got the result OCLInvalid as indicated in the screenshot below.
The stacktrace in the errorlog is:
java.lang.NullPointerException
at org.eclipse.ocl.ecore.EcoreEvaluationEnvironment.getJavaMethodFor(EcoreEvaluationEnvironment.java:225)
at org.eclipse.ocl.ecore.EcoreEvaluationEnvironment.getJavaMethodFor(EcoreEvaluationEnvironment.java:1)
at org.eclipse.ocl.AbstractEvaluationEnvironment.callOperation(AbstractEvaluationEnvironment.java:177)
at org.eclipse.ocl.ecore.EcoreEvaluationEnvironment.callOperation(EcoreEvaluationEnvironment.java:164)
at org.eclipse.ocl.ecore.EcoreEvaluationEnvironment.callOperation(EcoreEvaluationEnvironment.java:1)
at org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp(EvaluationVisitorImpl.java:208)
at org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(OperationCallExpImpl.java:390)
at org.eclipse.ocl.AbstractEvaluationVisitor.visitExpression(AbstractEvaluationVisitor.java:248)
at org.eclipse.ocl.OCL.evaluate(OCL.java:456)
Link to Bugzilla: bugs.eclipse.org/bugs/show_bug.cgi?id=360072
-
Attachment: Untitled.png
(Size: 62.33KB, Downloaded 288 times)
[Updated on: Thu, 06 October 2011 08:19] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.05133 seconds