Brenden Anderle created NETBEANS-5989:
-----------------------------------------

             Summary: NPE when browsing files with JSON annotations
                 Key: NETBEANS-5989
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5989
             Project: NetBeans
          Issue Type: Bug
          Components: cnd - Editor
    Affects Versions: 12.3
         Environment: MAC OSX:   10.15.7 (19H1323)

64 GB RAM - 2.0 TB SSD

 
            Reporter: Brenden Anderle
         Attachments: ErrorReport_2021sep08-first-1100lines.txt

When opening Java source files (generated by  jsonschema2pojo) the compiler 
displays multiple errors, claims duplicate class exists among other things, and 
the Null Pointer Exception is shown in the Notifications.  Sample code below.  
Please see attached error report - note that it is too large for the entire 
report, only first 1100 lines shown.

 

package io.yaxche.openproject.rest;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
 "format",
 "raw",
 "html"
})
@Generated("jsonschema2pojo")
public class Description {



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to