Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 12416 invoked by uid 500); 5 Jun 2002 12:12:09 -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 12384 invoked from network); 5 Jun 2002 12:12:04 -0000 Message-ID: <002401c20c8a$36e96200$6e0aa8c0@PAVILION> From: "Spectron International, Inc." To: References: <911C684A29ACD311921800508B7293BA0221DBAD@cnmail> <00a501c20bf9$e9b6aaa0$6e0aa8c0@PAVILION> Subject: Re: Cocoon problems Date: Wed, 5 Jun 2002 08:11:59 -0400 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The my generator ancestor is ServletGenerator, I don't see any reason why it shouldn't work. Anyone have any ideas? I recompiled all my generators and actions with the new classes so I don't know why it isn't working. Faw ----- Original Message ----- From: "Peter Royal" To: Sent: Tuesday, June 04, 2002 3:01 PM Subject: Re: Cocoon problems > On Tuesday 04 June 2002 02:59 pm, Spectron International, Inc. wrote: > > ComposerAction->MyAction->MyLocale. Why is it giving me a > > ClassCastException? Has anything changed in the way generators and actions > > are made? > > > > Faw > > > > PS: The error is the following: > > > > DEBUG (2002-06-04) 14:39.23:601 [sitemap](/cocoon/msim/BatchSummary) > > SocketListener-2/ExcaliburComponentSelector: generators: ComponentSelector > > could not access the Component for hint: batch > > java.lang.ClassCastException: com.spectron.msim.generators.BatchSummary > > at > > org.apache.avalon.excalibur.component.DefaultComponentHandler.doGet(Default > >C omponentHandler.java:116) > > Does your generator implement the Generator interface > (org.apache.cocoon.generation.Generator)? That line in > DefaultComponentHandler is attempting to cast your Generator as a Component, > which will succeed if you extend the cocoon Generator interface (which has > Component at the base of its supertype heirarchy. > -pete > > -- > peter royal -> proyal@apache.org > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: