Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329011

Summary: [parser] Proxy types not diagnosed
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: Legacy

Description Ed Willink CLA 2010-10-29 04:41:14 EDT
UMLReflectionImpl.getOCLTypeFor() does not handle an unresolved proxy which may result from a UML usage in which the UML pathmaps were not initialized. The current behaviour just drops through exploiting the PrimitiveType of the proxy class and eventually fails with missing operations. The failure message should at least contain the words 'unresolved proxy' or equivalent.

See http://www.eclipse.org/forums/index.php?t=msg&th=198861&start=0&S=3298dc889182b375c3537d202e634061 for a repro: