Fixed
Details
Details
Assignee
Alex Zaytsev
Alex ZaytsevReporter
Michael Teper
Michael TeperComponents
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created May 24, 2011 at 9:03 AM
Updated May 1, 2017 at 3:42 AM
Resolved February 26, 2015 at 4:39 AM
I was playing around with new mapping by code and ConventionModelMapper and ran into an "Array ouf bounds exception". Turned out that one of my entities had an enum property and the enum was empty (I haven't yet added any values). As this was a pretty trivial project, the issue was easy to track down but it would be great if this was handled better by NH. Either this should be ignored (what's the harm?) or the error message should point out the empty enum and the class that was referencing it.
Thank you!