i am reluctant to file bug since I dont have  way to reproduce in such a
way that codegen-gen dev can consume.  Hope to have some advice by looking
at stacktrace

Thanks

-Dan

On Wed, Jul 26, 2017 at 11:37 AM, Ron Ratovsky <[email protected]> wrote:

> Please file a ticket on the project.
>
>
>
>
>
>
>
> *From: *<[email protected]> on behalf of Dan Tran <
> [email protected]>
> *Reply-To: *"[email protected]" <
> [email protected]>
> *Date: *Wednesday, 26 July 2017 at 0:31
> *To: *Swagger <[email protected]>
> *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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Swagger" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/swagger-swaggersocket/uJsJdQxyhEs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to