| Summary: | ModelValidation fails with NullPointerException if no Quickfixes have been defined. | ||
|---|---|---|---|
| Product: | [Modeling] Epsilon | Reporter: | Stefan <st.hennig> |
| Component: | Core | Assignee: | Dimitris Kolovos <dkolovos> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
This has now been fixed in the SVN. Fixed in 0.9.1 |
After updating Epsilon to version 0.9.0 recently, my model validations always fails due to a NullPointerException. In class org.eclipse.epsilon.evl.EvlModule at line 135, as far as I know, the statement is doing something with the Quickfixes. The surrounding if-conditional has been commented out: //if (context.hasFixes() && fixer != null) { fixer.fix(this); //} Thererfore, if someone does not make use of Quickfixes in his/her validation rules, this causes a NullPointerException. Checking out the source code from SVN and removing the comments makes everything working as expected.