java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String

Google Groups | amitfrid | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception in PayloadBuilder.shrinkBody()

    Google Groups | 6 years ago | amitfrid
    java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.HashMap cannot be cast to java.lang.String

      at com.notnoop.apns.PayloadBuilder.resizeAlertBody()
    2. Java Apple Push Notification Service Library
      PayloadBuilder.shrinkBody
      1. com.notnoop.apns.PayloadBuilder.resizeAlertBody(PayloadBuilder.java:283)
      2. com.notnoop.apns.PayloadBuilder.shrinkBody(PayloadBuilder.java:345)
      3. com.notnoop.apns.PayloadBuilder.shrinkBody(PayloadBuilder.java:328)
      3 frames
    3. com.delegatecom.connector
      NotnoopConnector.send
      1. com.delegatecom.connector.NotnoopConnector.send(NotnoopConnector.java:166)
      1 frame