Carsten Ziegeler created SLING-3452:
---------------------------------------

             Summary: JSON Renderer can't handle arrays of simply types
                 Key: SLING-3452
                 URL: https://issues.apache.org/jira/browse/SLING-3452
             Project: Sling
          Issue Type: Bug
          Components: Servlets
    Affects Versions: Servlets Get 2.1.6
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Servlets Get 2.1.8


When a property contains an array of a simple type like long[] etc, a 
ClassCastException occurs:
java.lang.ClassCastException: [J cannot be cast to [Ljava.lang.Object;
        at 
org.apache.sling.servlets.get.impl.helpers.JsonObjectCreator.createProperty(JsonObjectCreator.java:179)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to