eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[OCL] Bug in ToStringVisitor class #277

Closed eclipse-ocl-bot closed 3 weeks ago

eclipse-ocl-bot commented 3 weeks ago

| --- | --- | | Bugzilla Link | 228841 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Apr 25, 2008 04:47 EDT | | Modified | May 17, 2013 15:37 EDT | | Version | 1.2.0 | | Reporter | Adolfo Sanchez-Barbudo Herrera |

Description

ToStringVisitor throws a NPE, when visiting a VariableExp with a null referredVariable.

The attached easy patch solves the problem.

eclipse-ocl-bot commented 3 weeks ago

By Adolfo Sanchez-Barbudo Herrera on Apr 25, 2008 04:48

Created attachment 97578 Fixing patch

:notepad_spiral: patch.txt

eclipse-ocl-bot commented 3 weeks ago

By Christian Damus on Apr 26, 2008 12:26

Committed the patch to CVS HEAD (1.2 branch).

eclipse-ocl-bot commented 3 weeks ago

By Ed Willink on May 27, 2011 02:49

Closing after over 18 months in resolved state.