You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Brenden Anderle (Jira)" <ji...@apache.org> on 2021/09/08 19:31:00 UTC

[jira] [Created] (NETBEANS-5989) NPE when browsing files with JSON annotations

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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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