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

NPE in ApiObjectDoc for 1.1.4 #83

Closed
MarcMielke opened this Issue Jan 23, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@MarcMielke

MarcMielke commented Jan 23, 2015

[INFO] --- jsondoc-maven-plugin:1.1.4:generate (generate.jsondoc) @ erin-server ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[ERROR]
java.lang.NullPointerException
at org.jsondoc.core.pojo.ApiObjectDoc.buildFromAnnotation(ApiObjectDoc.java:57)
at org.jsondoc.core.scanner.AbstractJSONDocScanner.getApiObjectDocs(AbstractJSONDocScanner.java:293)
at org.jsondoc.core.scanner.AbstractJSONDocScanner.getApiObjectsMap(AbstractJSONDocScanner.java:333)
at org.jsondoc.core.scanner.AbstractJSONDocScanner.getJSONDoc(AbstractJSONDocScanner.java:84)
at org.jsondoc.JSONDocMojo.execute(JSONDocMojo.java:87)

from this:

@ApiObject(description = "Source DTO")
public interface Source {
@ApiObjectField
public static final Datasource type = Datasource.Source;
}

@fabiomaffioletti fabiomaffioletti added this to the 1.1.5 milestone Jan 23, 2015

@fabiomaffioletti fabiomaffioletti self-assigned this Jan 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment