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

APIGenerator NPE #19

Closed
leotu opened this issue Feb 13, 2017 · 1 comment
Closed

APIGenerator NPE #19

leotu opened this issue Feb 13, 2017 · 1 comment

Comments

@leotu
Copy link

leotu commented Feb 13, 2017

how.hollow.consumer.api.APIGenerator.java occur NPE when listFiles return null value.
(apiCodeFolder doen't exist)

for(File f : apiCodeFolder.listFiles())
     f.delete();

maybe add some code like this

if (!apiCodeFolder.exists()) {
     apiCodeFolder.mkdirs();
}

Sorry, this issue is not on this project, I posted on wrong project :-), pls invalid it!

@dkoszewnik
Copy link
Contributor

Duplicate of Netflix/hollow-reference-implementation#4

Sunjeet pushed a commit that referenced this issue Feb 14, 2019
…aster

* commit 'b6af9c362306abe85cfeb4381cf1dcf0650b6b5d':
  1. Incoroprated code review feedback
  Code review feedback
  Ask for latest.release for codegen lib and remove mavenLocal()
  cinder.gradle that will be used to generate code in partner projects
  Gradle Task for generating client code
Sunjeet pushed a commit that referenced this issue Apr 10, 2019
…ster

* commit '9b4241d06489cea05f0d6adbcb5556309e51505c':
  Hollow Output POJO Generator enhancement
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

2 participants