ossdcfos / easyuml

21 stars 63 forks source link

java.lang.NullPointerException at org.uml.newcode.members.LiteralCodeGenerator.findExistingDeclaration(LiteralCodeGenerator.java:66) #9

Open philippehenri-gosselin opened 6 years ago

philippehenri-gosselin commented 6 years ago

This happens when clicking on the "Generate Code" button of the "Generate Code" dialog, in the case where: 1) There is an enum in the diagram 2) This enum is already generated in the java code

If I delete the java file corresponding to the enum, everything works fine.

philippehenri-gosselin commented 6 years ago

I found the solution, and propose a pull that implements it. Hope the main author of easyuml is still alive !!