Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 51385 invoked from network); 14 Aug 2007 07:20:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 07:20:28 -0000 Received: (qmail 30653 invoked by uid 500); 14 Aug 2007 07:20:25 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 30638 invoked by uid 500); 14 Aug 2007 07:20:25 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 30627 invoked by uid 99); 14 Aug 2007 07:20:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 00:20:24 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=HELO_DYNAMIC_DHCP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.130.132.35] (HELO nocme2bl3.telenet-ops.be) (195.130.132.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 07:20:33 +0000 Received: from hoboe1bl6.telenet-ops.be (hoboe1bl6.telenet-ops.be [195.130.136.38]) by nocme2bl3.telenet-ops.be (Postfix) with ESMTP id D0443334003 for ; Tue, 14 Aug 2007 09:19:59 +0200 (CEST) Received: from nocme1bl6.telenet-ops.be (localhost.localdomain [127.0.0.1]) by hoboe1bl6.telenet-ops.be (Postfix) with ESMTP id BA6AC388050 for ; Tue, 14 Aug 2007 09:19:59 +0200 (CEST) From: "Vanessa" To: user-java@ibatis.apache.org Importance: Normal Sensitivity: Normal Message-ID: X-Originating-IP: [193.191.216.52] X-Forwarded-For: [(null)] Date: Tue, 14 Aug 2007 07:19:59 +0000 Subject: Re: Problem with blob MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org This is what i get. Error 500--Internal Server Error java.lang.IndexOutOfBoundsException at java.nio.Buffer.checkBounds(Buffer.java:454) at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:163) =09 at com.stud.bean.studregBean.StudentHtml(studregBean.java:87) at com.stud.controller.web.actions.studregAction.execute(studregA= ction.java:105) at org.apache.struts.action.RequestProcessor.processActionPerform= (RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProce= ssor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.j= ava:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.jav= a:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct= ion.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle= tStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle= tStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocati= onAction.run(WebAppServletContext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe= nticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManage= r.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(W= ebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe= questImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) >----- Oorspronkelijk bericht ----- >Van: Tom Schindl [mailto:tom.schindl@bestsolution.at] >Verzonden: dinsdag, augustus 14, 2007 09:10 AM >Aan: user-java@ibatis.apache.org >Onderwerp: Re: Problem with blob > >Vanessa schrieb: >> Hi Meindert >> >> >> This is a part of the stacktrace. >> what strange is, with the blobs of 65000 it works perfectly and that o= f 59056 it does not work. In my previous code before Ibatis it worked per= fectly, sow I think I have somewhere made a mistake in my code. Now, we h= ave been switched over to Ibatis and now I get this error only with those= of length 59056. >> >> >> >> >> <10-aug-2007 14.45 u. CEST> <[ServletConte= xt(id=3D29596326,name=3DSTUDREG,context-path=3D/STUDREG) >> >> ] Root cause of ServletException. >> >> java.lang.IndexOutOfBoundsException >> at java.nio.Buffer.checkBounds(Buffer.java:454) >> at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:163) >> >> > >Well the exception you are showing here is not enough please post more >line of the exection. > >Tom > >