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

No source file in exception from parse error #50

Closed
joelittlejohn opened this issue Jun 23, 2013 · 1 comment
Closed

No source file in exception from parse error #50

joelittlejohn opened this issue Jun 23, 2013 · 1 comment
Milestone

Comments

@joelittlejohn
Copy link
Owner

Original author: MLeoDaalder (May 25, 2012 11:56:50)

What steps will reproduce the problem?
The attached file contains a spurious comma and jackson rightly throws an exception.

What is the expected output?
[ERROR] Failed to execute goal com.googlecode.jsonschema2pojo:jsonschema2pojo-ma
ven-plugin:0.2.4:generate (default) on project basispoort-logic: Execution defau
lt of goal com.googlecode.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.2.4:gen
erate failed: com.fasterxml.jackson.core.JsonParseException: Unexpected characte
r (',' (code 44)): was expecting double-quote to start field name
at [Source: <path_to_file>/ProductDetails; line: 11, column: 21]
-> [Help 1]

What do you see instead?
[ERROR] Failed to execute goal com.googlecode.jsonschema2pojo:jsonschema2pojo-ma
ven-plugin:0.2.4:generate (default) on project basispoort-logic: Execution defau
lt of goal com.googlecode.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.2.4:gen
erate failed: com.fasterxml.jackson.core.JsonParseException: Unexpected characte
r (',' (code 44)): was expecting double-quote to start field name
at [Source: java.io.BufferedInputStream@a8198c; line: 11, column: 21]
-> [Help 1]

What version of the product are you using? On what operating system?
The Maven plugin at version 0.2.4 on Windows XP.

Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=50

@joelittlejohn
Copy link
Owner Author

From joelittl...@gmail.com on July 09, 2012 20:24:10
Fixed in 0.3.1.

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

No branches or pull requests

1 participant