Hi there,
during the development of my stress tests logging was set to on and everything worked well. Trying to run the tests with logging off, i get errors.
I tried again with logging off → no errors, logging on → errors.
I finally identified the cause: a type conversion error
replacing
val incidentMap = session(“incidentMap”).as[Map[String, Any]]
val listBuffer = new scala.collection.mutable.ListBufferString
for (entry ← incidentMap.get(“alerts”).get.asInstanceOf[org.boon.core.value.ValueList].list()) {
listBuffer += entry.asInstanceOf[String]
}
with
val incidentMap = session(“incidentMap”).as[Map[String, Any]]
val listBuffer = new scala.collection.mutable.ListBufferString
for (entry ← incidentMap.get(“alerts”).get.asInstanceOf[org.boon.core.value.ValueList].list()) {
listBuffer += (entry.toString)
}
the error is gone. But why does the error occur only with logging off