Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inheritance support? #37

Open
kolisko opened this issue Feb 22, 2018 · 0 comments
Open

inheritance support? #37

kolisko opened this issue Feb 22, 2018 · 0 comments

Comments

@kolisko
Copy link

kolisko commented Feb 22, 2018

Does uml gen support inheritance definition? I have got NPE when I tried to use json with inheritance definition.

INFO: Processing Model UICLParametrizationBonus
Mar 07, 2018 10:57:49 PM com.kicksolutions.swagger.plantuml.PlantUMLGenerator transformSwagger2Puml
SEVERE: null
java.lang.NullPointerException
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.getClassMembers(PlantUMLCodegen.java:745)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.getClassMembers(PlantUMLCodegen.java:693)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.processSwaggerModels(PlantUMLCodegen.java:577)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.preprocessSwagger(PlantUMLCodegen.java:120)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.generatePuml(PlantUMLCodegen.java:83)
	at com.kicksolutions.swagger.plantuml.PlantUMLGenerator.transformSwagger2Puml(PlantUMLGenerator.java:43)
	at com.kicksolutions.swagger.Swagger2PlantUML.process(Swagger2PlantUML.java:73)
	at com.kicksolutions.swagger.Swagger2PlantUML.init(Swagger2PlantUML.java:57)
	at com.kicksolutions.swagger.Swagger2PlantUML.main(Swagger2PlantUML.java:39)

Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException
	at com.kicksolutions.swagger.plantuml.PlantUMLGenerator.transformSwagger2Puml(PlantUMLGenerator.java:53)
	at com.kicksolutions.swagger.Swagger2PlantUML.process(Swagger2PlantUML.java:73)
	at com.kicksolutions.swagger.Swagger2PlantUML.init(Swagger2PlantUML.java:57)
	at com.kicksolutions.swagger.Swagger2PlantUML.main(Swagger2PlantUML.java:39)
Caused by: java.lang.NullPointerException
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.getClassMembers(PlantUMLCodegen.java:745)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.getClassMembers(PlantUMLCodegen.java:693)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.processSwaggerModels(PlantUMLCodegen.java:577)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.preprocessSwagger(PlantUMLCodegen.java:120)
	at com.kicksolutions.swagger.plantuml.PlantUMLCodegen.generatePuml(PlantUMLCodegen.java:83)
	at com.kicksolutions.swagger.plantuml.PlantUMLGenerator.transformSwagger2Puml(PlantUMLGenerator.java:43)
	... 3 more
1 Michal-MacBook-Pro:target kolisko$ 

here is the definition file:

swagger.txt

@kolisko kolisko mentioned this issue Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant