Community
Participate
Working Groups
A number of tests such as CS2AS testExample4_Interpreted fail to load adequately resulting in a failure to may EIntegerObject to a pivot type. The new xmi:id detects that as a bad opposite. Temporarily worked around in PivotLUSSIDs.java.
Maybe something related: the attached project, which contains two complete OCL files, can be used to provoke a No opposite for $$::Tuple::xyz error. How to reproduce: - import the attached project - clean the imported project "Project -> Clean..." (this starts the XtextBuilder, which indirectly calls DefaultResourceDescriptionStrategy.createReferenceDescriptions(...), which eventually (indirectly) executes the related AS2ID code)
Created attachment 270012 [details] CompleteOCL reproducer for the "No opposite..." message
(In reply to Marcus Huewe from comment #1) > executes the related AS2ID code) AS2ID was first pushed to OCL master on 18-Aug-2017 and so there is no stable OCL build that includes it. Are you using a recent N-build or GIT master? This is a QVTd bug not that obviously related to your possibly OCL issue. I cannot reproduce the issue in my workspace, which probably differs in some significant way from your configuration.
Created attachment 270014 [details] Plugin test to provoke the "No opposite for..." message
(In reply to Ed Willink from comment #3) > (In reply to Marcus Huewe from comment #1) > > executes the related AS2ID code) > > AS2ID was first pushed to OCL master on 18-Aug-2017 and so there is no > stable OCL build that includes it. Are you using a recent N-build or GIT > master? > git master (in a vanilla eclipse oxygen). > This is a QVTd bug not that obviously related to your possibly OCL issue. > Agreed. If you prefer, I can open a new bug report for the OCL product. > I cannot reproduce the issue in my workspace, which probably differs in some > significant way from your configuration. I just hacked a junit plugin test that does not pass, because the "No opposite for $$::Tuple::xyz" is printed. Can you reproduce it via this plugin test?
(In reply to Marcus Huewe from comment #5) > Agreed. If you prefer, I can open a new bug report for the OCL product. Thanks. Reproduced. Moved to Bug 521577 since this is nothing to do with the original and outstanding observation that there are some hidden load failures (observable if IOExceptions are breakpointed.)