java.lang.ClassCastException

java.lang.String cannot be cast to [Ljava.lang.String;

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19432

  • via Google Groups by Arnaud, 6 months ago
    java.lang.String cannot be cast to [Ljava.lang.String;
  • via Coderanch by praveenkumar kumarpraveen, 11 months ago
    [Ljava.lang.String; cannot be cast to java.lang.String
  • [Ljava.lang.String; cannot be cast to java.lang.String
  • Stack trace

    • java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String; at org.jasig.cas.client.validation.ProxyList.contains(ProxyList.java:34) at org.jasig.cas.client.validation.Cas20ProxyTicketValidator.customParseResponse(Cas20ProxyTicketValidator.java:47) at org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:94) at org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:188) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:132) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.