java.lang.ClassCastException: org.piwik.java.tracking.EcommerceItem cannot be cast to javax.json.JsonArray

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jahudi
, 1 year ago
org.piwik.java.tracking.EcommerceItem cannot be cast to javax.json.JsonArray
java.lang.ClassCastException: org.piwik.java.tracking.EcommerceItem cannot be cast to javax.json.JsonArray
at org.glassfish.json.JsonGeneratorImpl.write(JsonGeneratorImpl.java:275)
at org.glassfish.json.JsonWriterImpl.writeArray(JsonWriterImpl.java:102)
at org.glassfish.json.JsonWriterImpl.write(JsonWriterImpl.java:141)
at org.piwik.java.tracking.PiwikJsonArray.toString(PiwikJsonArray.java:61)
at org.piwik.java.tracking.PiwikRequest.getUrlEncodedQueryString(PiwikRequest.java:1469)
at org.piwik.java.tracking.PiwikTracker.sendRequest(PiwikTracker.java:49)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.