| Summary: | NoSuchElementException when a file path is empty | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Tristan Faure <faure.tristan> | ||||||||
| Component: | Core | Assignee: | Laurent Goubet <laurent.goubet> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | Keywords: | contributed | ||||||||
| Version: | 3.0.0 | ||||||||||
| Target Milestone: | Future | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Tristan Faure
Created attachment 186747 [details]
a sample with error occuring
launch Generate on the uml model, the error occurs
Created attachment 186972 [details]
patch adding exception
the patch
Created attachment 186973 [details]
mylyn/context/zip
Thanks to laurent this patch throws a correct exception when the file name is empty. This log an error and the generation can continue. Just a question, it seems the key AcceleoEvaluationVisitor.NotStringFileURL is not present in acceleoenginemessages.properties Thanks for the patch, this has been commited on both HEAD and 3.0 maintenance. As for the NotStringFileURL key ... seems like an oversight. That's been fixed too. |