Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 90989 invoked by uid 500); 28 Nov 2001 22:57:40 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 90978 invoked from network); 28 Nov 2001 22:57:39 -0000 Message-ID: <001f01c1785c$bd174df0$6401a8c0@domain> From: "Brent L Johnson" To: "Cocoon-Users" Subject: [C1] NumberFormatException / parseInt Date: Wed, 28 Nov 2001 17:33:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host11.globalhosting.com X-AntiAbuse: Original Domain - xml.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - bjohnson.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've already asked about this before - but I'm getting the exact same errors again. If everytime I put some files into production I get lots of NumberFormatExceptions for no apparent reason (I'm not using parseInt, I checked the java file in the repository and its not using parseInt, something else in the cocoon library or something must be) - that pretty much makes it really pointless to use Cocoon in a production environment. I'm becoming quite discouraged now (see previous posts about numberformatexceptions and parseint). Basically, it seems to have something to do with ESQL. Here is my esql tag... I've found if I delete the first ... inside the row-results it works fine and gives no error. If I put that in.. bam.. error. This only happens on our production FreeBSD machine running jdk1.2.2 - same code on our Linux dev box running jdk1.2.2 works fine. org.gjt.mm.mysql.Driver jdbc:mysql://globals.getProp("dbhost")/globals.getProp("dbname") globals.getProp("dbuser") select ps.*, Projects.ID projID, Projects.Title title, Projects.Objective objective from ProjectSchedule ps, Projects where week(ps.PublishDate) = week(sysdate()) and Projects.ID = ps.ProjectID order by ps.PublishDate if ((curr % 2) == 0) { bgcolor = "#B0C4E6"; } else { bgcolor = "#E7EEF8"; } bgcolorcurr. - /projectLibrary/projectDetails.xml?aic=1&ID= bgcolor bgcolorbgcolor curr++; Thanks, - Brent --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: