Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 83150 invoked from network); 27 Jun 2000 15:33:55 -0000 Received: from mta4.rcsntx.swbell.net (151.164.30.28) by locus.apache.org with SMTP; 27 Jun 2000 15:33:55 -0000 Received: from [209.184.0.59] by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FWT00ICBHGDUH@mta4.rcsntx.swbell.net>; Tue, 27 Jun 2000 09:26:39 -0500 (CDT) Date: Tue, 27 Jun 2000 09:26:29 -0500 From: Mike Engelhart Subject: Re: cocoon error: Code of a method longer than 65535 bytes In-reply-to: <002e01bfe041$8a1c26a0$0100000a@Baddanet> To: cocoon-users@xml.apache.org, cocoon-dev@xml.apache.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N on 6/27/00 9:11 AM, Badda at badda@topmail.de wrote: > Hi there ! > > I have a pretty large XSP-Document (a lot of XML markup in it), and I get > an error message from cocoon: > java.lang.ClassFormatError: Code of a method longer than 65535 bytes > > Is this a bug? Is there any workaround ? > Thanx for answers. > > Ciao, Badda This isn't a bug but a Java limit on the size of class (class size must be < 64K). I had the same problem with an XSP a while back. There really isn't any workaround except to make your XSP smaller or create a helper class that exports a Node that you can put into your XSP. Mike