java.lang.IllegalArgumentException

contains? not supported on type: java.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 web17911

  • via Google Groups by Vilho Räisänen, 6 months ago
    contains? not supported on type: java.lang.String
  • contains? not supported on type: java.lang.String
  • via GitHub by cavedweller
    , 1 year ago
    contains? not supported on type: clojure.lang.PersistentList
  • Stack trace

    • java.lang.IllegalArgumentException: contains? not supported on type: java.lang.String at clojure.lang.RT.contains(RT.java:724) at clojure.core$contains_QMARK_.invoke(core.clj:1402) at ring.middleware.session$bare_session_response.doInvoke(session.clj:33) at clojure.lang.RestFn.invoke(RestFn.java:442) at ring.middleware.session$session_response.doInvoke(session.clj:54) at clojure.lang.RestFn.invoke(RestFn.java:442) at ring.middleware.session$wrap_session$fn__1453.invoke(session.clj:85) at ring.middleware.params$wrap_params$fn__1481.invoke(params.clj:58) at ring.adapter.jetty$proxy_handler$fn__171.invoke(jetty.clj:18) at ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$0.handle(Unknown Source) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:363) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:679)

    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.