Please file a ticket on the project.

 

 

 

From: <swagger-swaggersocket@googlegroups.com> on behalf of Dan Tran 
<dant...@gmail.com>
Reply-To: "swagger-swaggersocket@googlegroups.com" 
<swagger-swaggersocket@googlegroups.com>
Date: Wednesday, 26 July 2017 at 0:31
To: Swagger <swagger-swaggersocket@googlegroups.com>
Subject: Re: NPE with swagger-codegen 2.2.3 maven plugin

 

 

stack trace update 

 

java.lang.RuntimeException: Could not process operation:

  Tag: AssetGroups

  Operation: addAssets

  Resource: put /api/v2/assetGroups/{id}/assetList

  Definitions: {Addresses=io.swagger.models.ModelImpl@9901aa0, 
AppHost=io.swagger.models.ModelImpl@8456d641, ....

  Exception: null

        at 
io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:861)

        at 
io.swagger.codegen.DefaultGenerator.processPaths(DefaultGenerator.java:763)

        at 
io.swagger.codegen.DefaultGenerator.generateApis(DefaultGenerator.java:388)

        at 
io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:700)

----

Caused by: java.lang.NullPointerException

        at 
io.swagger.codegen.languages.AbstractJavaCodegen.needToImport(AbstractJavaCodegen.java:942)

        at 
io.swagger.codegen.DefaultCodegen.fromOperation(DefaultCodegen.java:2240)

        at 
io.swagger.codegen.languages.AbstractJavaCodegen.fromOperation(AbstractJavaCodegen.java:1004)

        at 
io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:808)

        ... 26 more

 

 

 

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to