Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 26233 invoked from network); 15 Oct 2010 12:46:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Oct 2010 12:46:07 -0000 Received: (qmail 42930 invoked by uid 500); 15 Oct 2010 12:46:07 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 42704 invoked by uid 500); 15 Oct 2010 12:46:04 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 42688 invoked by uid 99); 15 Oct 2010 12:46:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 12:46:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vdichev@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 12:45:57 +0000 Received: by bwz9 with SMTP id 9so1139497bwz.6 for ; Fri, 15 Oct 2010 05:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=hmFCgu/LzzenbxRO28OTH6xVds74rDwRSveEF2MmxyA=; b=KG4wka39nLBTt0m8TeDX/H7p3S6b/Nau6gvpRNs/4OUF1G7QYeHuc3innugz8XgIs1 AAc5qewtazxrS8VtKDFyxilDZSxpbY+P6NcjoRAZwk1AHc7p+Wu9f+WytMavA+t08g5q LE73moqIgxgaXGJoe/EIRsFpzykYoIwn0NNms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=JuJ2jfJ0xCiFmNT/H/9DJh0ALcaSjuv1lnkz+7T0ADrAazvc/kyIq7nQEXGiHzb70c M58Qj4LJ2aYWhNAgS3lIR76hXw/GBN7ZrVRyB3kAw+IKQQV/VRjoyPGG+qVPqZ9cK4Uu 9CWlbih2dabF5iz1jKxpsvFAaVMq22tlSOnkM= MIME-Version: 1.0 Received: by 10.204.55.20 with SMTP id s20mr663425bkg.168.1287146736497; Fri, 15 Oct 2010 05:45:36 -0700 (PDT) Sender: vdichev@gmail.com Received: by 10.204.99.199 with HTTP; Fri, 15 Oct 2010 05:45:36 -0700 (PDT) In-Reply-To: References: Date: Fri, 15 Oct 2010 15:45:36 +0300 X-Google-Sender-Auth: 1G2Vkub4_C56iQTPMozGOotIZ3Q Message-ID: Subject: Re: Strange exception in Stax From: Vassil Dichev To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 wro= te: > 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 > =A0 =A0 =A0 =A0at java.lang.String.substring(String.java:1935) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$= $anonfun$apply$13$$anonfun$apply$18$$anonfun$apply$19.apply(Message.scala:4= 02) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$= $anonfun$apply$13$$anonfun$apply$18$$anonfun$apply$19.apply(Message.scala:3= 95) > =A0 =A0 =A0 =A0at scala.Option.map(Option.scala:70) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$= $anonfun$apply$13$$anonfun$apply$18.apply(Message.scala:395) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$= $anonfun$apply$13$$anonfun$apply$18.apply(Message.scala:394) > =A0 =A0 =A0 =A0at scala.Option.flatMap(Option.scala:77) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$= $anonfun$apply$13.apply(Message.scala:394) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1$= $anonfun$apply$13.apply(Message.scala:381) > =A0 =A0 =A0 =A0at scala.Seq$class.map(Seq.scala:280) > =A0 =A0 =A0 =A0at scala.collection.mutable.ArrayBuffer.map(ArrayBuffer.sc= ala:26) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1.= apply(Message.scala:381) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$$anonfun$digestedXHTML$1.= apply(Message.scala:381) > =A0 =A0 =A0 =A0at scala.Seq$class.flatMap(Seq.scala:294) > =A0 =A0 =A0 =A0at scala.xml.NodeSeq.flatMap(NodeSeq.scala:34) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message.digestedXHTML(Message.sca= la:381) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$text$.asJsExp(Message.sca= la:299) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$text$.asJsExp(Message.sca= la:296) > =A0 =A0 =A0 =A0at net.liftweb.mapper.BaseMappedField$class.asJs(MappedFie= ld.scala:196) > =A0 =A0 =A0 =A0at net.liftweb.mapper.MappedText.asJs(MappedBinary.scala:1= 03) > =A0 =A0 =A0 =A0at net.liftweb.mapper.MetaMapper$$anonfun$46.apply(MetaMap= per.scala:1248) > =A0 =A0 =A0 =A0at net.liftweb.mapper.MetaMapper$$anonfun$46.apply(MetaMap= per.scala:1248) > =A0 =A0 =A0 =A0at scala.List.flatMap(List.scala:1132) > =A0 =A0 =A0 =A0at net.liftweb.mapper.MetaMapper$class.asJs(MetaMapper.sca= la:1248) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message$.asJs(Message.scala:43) > =A0 =A0 =A0 =A0at net.liftweb.mapper.Mapper$class.asJs(Mapper.scala:127) > =A0 =A0 =A0 =A0at org.apache.esme.model.Message.asJs(Message.scala:282) > =A0 =A0 =A0 =A0at org.apache.esme.comet.Timeline$$anonfun$render$1.apply(= Timeline.scala:69) > =A0 =A0 =A0 =A0at org.apache.esme.comet.Timeline$$anonfun$render$1.apply(= Timeline.scala:68) > =A0 =A0 =A0 =A0at scala.List.map(List.scala:812) > =A0 =A0 =A0 =A0at org.apache.esme.comet.Timeline.render(Timeline.scala:68= ) > --=20 Twitter: http://twitter.com/vdichev Blog: http://speaking-my-language.blogspot.com