java.lang.IllegalArgumentException: Invalid ticket type

Google Groups | John Bradley | 4 months ago
  1. 0

    [cas-user] Ticket encryption using Memcached not working

    Google Groups | 4 months ago | John Bradley
    java.lang.IllegalArgumentException: Invalid ticket type
  2. 0

    Invalid ticket type exception when encrypting tickets with Memcached

    GitHub | 4 months ago | johnmichaelbradley
    java.lang.IllegalArgumentException: Invalid ticket type
  3. 0

    [cas-user] Ticket encryption using Memcached not working

    Google Groups | 4 months ago | John Bradley
    java.lang.IllegalArgumentException: Invalid ticket type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sending emails with inline images in Google App Engine (Java)

    Stack Overflow | 6 months ago | Harikrishnan
    com.google.api.server.spi.response.InternalServerErrorException: Send failure (javax.mail.MessagingException: Illegal Arguments (java.lang.IllegalArgumentException: Invalid Attachment Type: Invalid attachment type))
  6. 0

    07-20 22:51:12.805 2325 2325 E AndroidRuntime: FATAL EXCEPTION: main 07-20 22:51:12.805 2325 2325 E AndroidRuntime: java.lang.IllegalArgumentException: invalid call type: 5 07-20 22:51:12.805 2325 2325 E AndroidRuntime: at com.android.contacts.calllog.CallTypeIconsView.getCallTypeDrawable(CallTypeIconsView.java:89) 07-20 22:51:12.805 2325 2325 E AndroidRuntime: at com.android.contacts.calllog.CallTypeIconsView.add(CallTypeIconsView.java:62) 07-20 22:51:12.805 2325 2325 E AndroidRuntime: at com.android.contacts.PhoneCallDetailsHelper.setPhoneCallDetails(PhoneCallDetailsHelper.java:71) 07-20 22:51:12.805 2325 2325 E AndroidRuntime: at com.android.contacts.calllog.CallLogListItemHelper.setPhoneCallDetails(CallLogListItemHelper.java:61) 07-20 22:51:12.805 2325 2325 E AndroidRuntime: at com.android.contacts.calllog.CallLogAdapter.bindView(CallLogAdapter.java:272) 07-20 22:51:12.805 2325 2325 E AndroidRuntime: at com.android.contacts.calllog.CallLogAdapter.bindStandAloneView(CallLogAdapter.java:152) The method getCallTypeDrawable is too strict. It throws if it sees contact info with any "call type" it doesn't understand. But it seems like some phones include new types of calls. According to: http://stackoverflow.com/questions/5337987/unexpected-value-of-android-calllog-calls-type The types 4, 5, and 6 have been seen. In my contacts2.db there are two entries with type 5, and I'm pretty confident both were "refused" calls. I cannot find any actual documentation for these new call types, though. I hit this after restoring my call history using "Super Backup". The backup was made on a stock VZW ROM and then restored into a new 10.1.2 CM install. The contacts app immediately and always crashes. This means I cannot make any phone calls via the default 'phone' app. I think this function should at most log a warning and default to the "missed" icon. If you want to get a fancy maybe add a "I dunno" icon for displaying call types that are not understood? My workaround was to "update calls set type = 3 where type > 3;" on contacts2.db (or clearing the call history would presumably work, too).

    JIRA | 3 years ago | Bitiotic
    java.lang.IllegalArgumentException: invalid call type: 5

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid ticket type

      at org.jasig.cas.ticket.registry.MemCacheTicketRegistry.getTimeout()
    2. Jasig CAS Core
      MemCacheTicketRegistry$AjcClosure1.run
      1. org.jasig.cas.ticket.registry.MemCacheTicketRegistry.getTimeout(MemCacheTicketRegistry.java:255)[cas-server-integration-memcached-4.2.4.jar:4.2.4]
      2. org.jasig.cas.ticket.registry.MemCacheTicketRegistry.addTicket_aroundBody0(MemCacheTicketRegistry.java:131)[cas-server-integration-memcached-4.2.4.jar:4.2.4]
      3. org.jasig.cas.ticket.registry.MemCacheTicketRegistry$AjcClosure1.run(MemCacheTicketRegistry.java:1)[cas-server-integration-memcached-4.2.4.jar:4.2.4]
      3 frames