-
NPE:
```
java.lang.NullPointerException
at com.sun.tools.xjc.reader.Ring.get(Ring.java:97)
at com.sun.tools.xjc.model.CPropertyInfo.(CPropertyInfo.java:124)
at com.sun.tools.xjc.model.CElementProp…
-
I am trying to convert json schema to pojo using library jsonschema2pojo-core version 1.0.2 but I am getting error "trying to create the same field twice: additionalProperties". I am also attaching th…
-
When processing the input `[{"":true},"",null,true]` a `StringIndexOutOfBoundsException` is thrown.
An `IllegalArgumentException` seems more suitable for this case.
Kotlin code to reproduce th…
-
If there are multiple type params and (at least) one one of them is generic, `parseType` works properly only if this param is the last one.
Because of that this test passes:
```java
JCodeModel mo…
-
I have problems generating java classes using jaxb-xjc-2.3.0 ant task. With Java classes are created and seem fine but it says build failed. See debug log at the bottom.
With jaxb-xjc-2.2.11 ant t…
-
When I run this demo
public static void main(String[] args) throws IOException {
// BEGIN EXAMPLE
JCodeModel codeModel = new JCodeModel();
URL source = Exam…
-
I was not able to generate classes for the following schema.
```
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GenericResponse",
"type": "object",
"properties": {
…
-
I see this library makes use of JCodeModel which does not allow editing an existing class generated from this library. The use of static class: [JsonSchema2Pojo](https://github.com/joelittlejohn/jsons…
-
Hi guys,
long long time ago (September 2013), I created a fork of the old codemodel version. That fork is available at https://github.com/phax/jcodemodel/ and contains LOTS of extensions and new APIs…
-
While already in Java 8 (and before) using StringBuilder for single statement concatenation did result in about the same class code as using +, but actually reduced readability, with Java 9 and JEP 28…