AutoNotification java.lang.ClassCastException

Discussion in 'AutoApps' started by jeffK, Nov 16, 2018.

  1. jeffK

    jeffK New Member

    Joined:
    Nov 16, 2018
    Messages:
    2
    Likes Received:
    0
    I had setup a AutoNotification intercept to recognize notifications from my Ring Alarm with regards to Disarm and Arming. This had worked for a few days. Lately I have been having issues with the task.

    Currently I am receiving an error java.lang.ClassCastException: android.widget.TextView cannot be cast to android.view.ViewGroup

    The Task will generally be triggered, but when I display the received variables from the profile, they are blank. Such as %anapp, %antitle, %antext

    I have tried deleting the original profile, and creating from scratch and that doesn't help. I have also simplified greatly the task that it calls, and that doesn't help.

    I have also created very similar profiles that intercept notifications from other apps, and they seem to be working fine.

    Any ideas?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi there. Where exactly are you seeing that error? Can you clarify? Thanks.
     
  3. jeffK

    jeffK New Member

    Joined:
    Nov 16, 2018
    Messages:
    2
    Likes Received:
    0
    Thanks,8
    I see the error in a notification. Here is the full notification details
    java. Iang. ClasscastException: android. wi... 8:03 AM

    pkg: com. j oaomgcd. Autonotification
    key: 0 com. Joaomgcd. Autonotification 5 nu1l110482
    icon: Icon(typ-RESOURCE
    pkg-com. Joaomgcd. Autonotification id=O×7f08020c)
    channelid: Errors
    post Time: 1542636226792
    sound: none
    vibrate: none
    visibility: PRIVATE
    priority: DEFAULT
    intent: Intent(pkg-com. Joaomgcd. Autonotification
    (activity))
    extras
    android. Title: java. Iang. C1asscastException:
    android. widget. Textview cannot be cast to
    android. view. ViewGroup
    android. Template:
    android. App. Notification$ BigTextstyle
    android. Text: Send the developer an email with
    this error: android. widget. Textview cannot be cast
    to android. view.
    android. showWhen: true
    android. BigText: Send the developer an email with
    this error: android. widget. Textview cannot be cast
    to android. view.
    android. colorized: false
    parcel size: 1660 ashmem: O
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Oh I see. Can you please click that notification so you can send me the report for that?
     

Share This Page