AutoGMail java.lang.IllegalStateException

Discussion in 'AutoApps' started by aabaud, May 12, 2016.

  1. aabaud

    aabaud New Member

    Joined:
    Apr 27, 2016
    Messages:
    19
    Likes Received:
    0
    This is thrown when there are no messages that match the autogmail query. It puts up a notification each time it occurs. I can't figure out a way to handle this error in tasker.

    com.joaomgcd.autogmail version 1.0.4a

    OS Build MOB30I
    OS Code 23
    Device Nexus 6
    Manufacturer motorola
    Product shamu

    java.lang.IllegalStateException
    at com.google.api.client.repackaged.com.google.common.base.Preconditions.checkState(Preconditions.java:133)
    at com.google.api.client.util.Preconditions.checkState(Preconditions.java:81)
    at com.google.api.client.googleapis.batch.BatchRequest.execute(BatchRequest.java:217)
    at com.joaomgcd.autogmail.intent.IntentGetEmails.doAction(IntentGetEmails.java:159)
    at com.joaomgcd.autogmail.intent.IntentGmailBase.fire(IntentGmailBase.java:48)
    at com.joaomgcd.common.tasker.IntentTaskerActionPlugin.fireBase(IntentTaskerActionPlugin.java:92)
    at com.joaomgcd.common.tasker.ServiceLongRunningTaskerAction.fireTaskerIntent(ServiceLongRunningTaskerAction.java:107)
    at com.joaomgcd.common.tasker.ServiceLongRunningTaskerAction$1.run(ServiceLongRunningTaskerAction.java:34)
     
  2. aabaud

    aabaud New Member

    Joined:
    Apr 27, 2016
    Messages:
    19
    Likes Received:
    0
    Figured out how to handle it using Autonotification. But it would be cleaner if Autogmail didn't throw it.

    Profile: Handle Autogmail Exception (46)
    Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
    Has Reply Action: false
    Notification App: AutoMail
    Notification Title: java.lang.IllegalStateException
    Package Name: com.joaomgcd.autogmail
    Get All Fields : true
    Get Internal Actions: false
    Get Internal Actions Big: false ]
    Enter: Anon (48)
    A1: AutoNotification Cancel [ Configuration:Cancel All: false
    Notification Apps: AutoMail
    Package Name: %anpackage
    Other Id: %anid
    Package: %anpackage
    Tag: %antag Package:com.joaomgcd.autonotification Name:AutoNotification Cancel Timeout (Seconds):0 ]
     
: Bug

Share This Page