Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Hi Craig, are you working on this issue?
Original comment by PedroAug...@gmail.com
on 17 Jun 2014 at 1:58
Original comment by PedroAug...@gmail.com
on 17 Jun 2014 at 2:31
Cause:
The method addUnlinkedInterfaceExtends()(UmpleInternalParser_CodeClass.ump)
includes to a interface the references of other interfaces that the first one
extends. The problem here is that this method includes to the list of extended
interfaces any value returned by model.getUmpleInterface(extendName) even if
this value is null (which means the extended interface is not valid, i.e, does
not exists).
This null value will cause a NullPointerException when running the
checkExtendsForCyclesInterface method and consequently will abort the parser
execution.
Solution:
Verify if the value of the variable is different from Null before including it
to the extends list of a interface. If it is NULL a warning is raised to inform
that the the extended element is invalid and was ignored by the parser.
Original comment by PedroAug...@gmail.com
on 17 Jun 2014 at 4:26
Attached the patch that solve this issue and the summary of it.
Original comment by PedroAug...@gmail.com
on 18 Jun 2014 at 3:58
Attachments:
Original comment by TimothyCLethbridge
on 5 Aug 2014 at 6:58
Original issue reported on code.google.com by
CraigBry...@gmail.com
on 12 Jun 2014 at 4:11