Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

ClassCastException when searching #1218

Closed
Spea opened this issue Apr 20, 2015 · 2 comments
Closed

ClassCastException when searching #1218

Spea opened this issue Apr 20, 2015 · 2 comments

Comments

@Spea
Copy link

Spea commented Apr 20, 2015

Hey there,

I'm using version 1.0.0 and when I search for the term 13200458 I get the following exception_

[error] play - Cannot invoke the action, eventually got an error: java.lang.ClassCastException
[error] application -

! @6lpfk11ja - Internal server error, for (GET) [/search?rangetype=relative&fields=&width=1920&relative=0&from=&to=&q=13200458] ->

play.api.Application$$anon$1: Execution exception[[ClassCastException: null]]
    at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.10-2.3.6.jar:2.3.6]
    at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.10-2.3.6.jar:2.3.6]
    at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [com.typesafe.play.play_2.10-2.3.6.jar:2.3.6]
    at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [com.typesafe.play.play_2.10-2.3.6.jar:2.3.6]
    at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: java.lang.ClassCastException: null

It looks like there is an invalid message in one of the facilites we use, because when I add the filter NOT facility:$myFacility everything works fine. Sadly the relevant messages I need are in this facility :)

I also checked the server logs, but there were no exceptions, so it is related to the web-interface.

If you need anything else, let me know

@edmundoa
Copy link
Contributor

edmundoa commented Aug 5, 2015

Hi,

Sorry it took so long to get back to you. Is this still an issue for you?

@Spea
Copy link
Author

Spea commented Aug 24, 2015

Hey,

I haven't had this issue since the upgrade to the newest version, thx :)

@Spea Spea closed this as completed Aug 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants