incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vassil Dichev <vdic...@apache.org>
Subject Re: Strange exception in Stax
Date Fri, 15 Oct 2010 12:45:36 GMT
I just took a look- it seems someone assumed that an URL will be at
least 20 characters long.

I'll try and submit a fix today.

Vassil


On Fri, Oct 15, 2010 at 3:34 PM, Richard Hirsch <hirsch.dick@gmail.com> wrote:
> I noticed my timeline currently isn't working and found this error in the log
>
> Anyone know the problem might be?
>
> ERROR - Actor threw an exception
> java.lang.StringIndexOutOfBoundsException: String index out of range: 20
>        at java.lang.String.substring(String.java:1935)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$$anonfun$apply$13$$anonfun$apply$18$$anonfun$apply$19.apply(Message.scala:402)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$$anonfun$apply$13$$anonfun$apply$18$$anonfun$apply$19.apply(Message.scala:395)
>        at scala.Option.map(Option.scala:70)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$$anonfun$apply$13$$anonfun$apply$18.apply(Message.scala:395)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$$anonfun$apply$13$$anonfun$apply$18.apply(Message.scala:394)
>        at scala.Option.flatMap(Option.scala:77)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$$anonfun$apply$13.apply(Message.scala:394)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$$anonfun$apply$13.apply(Message.scala:381)
>        at scala.Seq$class.map(Seq.scala:280)
>        at scala.collection.mutable.ArrayBuffer.map(ArrayBuffer.scala:26)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1.apply(Message.scala:381)
>        at org.apache.esme.model.Message$$anonfun$digestedXHTML$1.apply(Message.scala:381)
>        at scala.Seq$class.flatMap(Seq.scala:294)
>        at scala.xml.NodeSeq.flatMap(NodeSeq.scala:34)
>        at org.apache.esme.model.Message.digestedXHTML(Message.scala:381)
>        at org.apache.esme.model.Message$text$.asJsExp(Message.scala:299)
>        at org.apache.esme.model.Message$text$.asJsExp(Message.scala:296)
>        at net.liftweb.mapper.BaseMappedField$class.asJs(MappedField.scala:196)
>        at net.liftweb.mapper.MappedText.asJs(MappedBinary.scala:103)
>        at net.liftweb.mapper.MetaMapper$$anonfun$46.apply(MetaMapper.scala:1248)
>        at net.liftweb.mapper.MetaMapper$$anonfun$46.apply(MetaMapper.scala:1248)
>        at scala.List.flatMap(List.scala:1132)
>        at net.liftweb.mapper.MetaMapper$class.asJs(MetaMapper.scala:1248)
>        at org.apache.esme.model.Message$.asJs(Message.scala:43)
>        at net.liftweb.mapper.Mapper$class.asJs(Mapper.scala:127)
>        at org.apache.esme.model.Message.asJs(Message.scala:282)
>        at org.apache.esme.comet.Timeline$$anonfun$render$1.apply(Timeline.scala:69)
>        at org.apache.esme.comet.Timeline$$anonfun$render$1.apply(Timeline.scala:68)
>        at scala.List.map(List.scala:812)
>        at org.apache.esme.comet.Timeline.render(Timeline.scala:68)
>



-- 
Twitter: http://twitter.com/vdichev
Blog: http://speaking-my-language.blogspot.com

Mime
View raw message