I've made a Pull request on github with fixes for java.lang.VerifyError.

Here's the commit details:

http://github.com/dmitrygusev/tapestry5/commit/35197745d13ffed1fb89d730dbc85f750bf50bb0


On Mon, Sep 14, 2009 at 07:14, Alex Kotchnev <akoch...@gmail.com> wrote:

> A follow up question to the committers on this : Is Jun's approach below
> something acceptable to do in the meantime ? I was trying to deploy a test
> 5.1 app to GAE and I ran into the same issue. As he indicated these methods
> had emtpy try-catch blocks, removing which is supposed to resolve the
> issue.
> THe part that worries me are the magical $ANTLR comments that I think can
> somehow be used by ANTLR. Any tips ?
>
> Cheers,
>
> Alex K
>
> On Fri, Sep 4, 2009 at 3:50 AM, Jun Tsai <jun.t...@gmail.com> wrote:
>
> > I had manually  fixed the problem.Remove some empty method body in
> > PropertyExpressionLexer.java maked by antlr.
> >  // $ANTLR start "INTEGER"
> >    public final void mINTEGER() throws RecognitionException {
> >    }
> >    // $ANTLR end "INTEGER"
> >
> >    // $ANTLR start "DEREF"
> >    public final void mDEREF() throws RecognitionException {
> >    }
> >    // $ANTLR end "DEREF"
> >
> >    // $ANTLR start "RANGEOP"
> >    public final void mRANGEOP() throws RecognitionException {
> >    }
> >    // $ANTLR end "RANGEOP"
> >
> >    // $ANTLR start "DECIMAL"
> >    public final void mDECIMAL() throws RecognitionException {
> >    }
> >
> >
> > and repacked. It works fine.
> >
> >
> >
> > 2009/9/4 Jun Tsai <jun.t...@gmail.com>
> >
> > > The ticket had been fixed.I had tested on GAE using 1.2.5 SDK. But when
> I
> > > write simple pagelink <t:pagelink page="about"> about</t:pagelink>
> ,some
> > > exception thrown.
> > >
> > > java.lang.VerifyError: (class:
> > org/apache/tapestry5/internal/antlr/PropertyExpressionLexer, method:
> > mRANGEOP signature: ()V) Stack size too large
> > >       at
> >
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.parse(PropertyConduitSourceImpl.java:1229)
> > >       at
> >
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1124)
> > >       at
> >
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080)
> > >
> > >
> > > Who can give me  an idea about the exception.
> > >
> > > thanks.
> > >
> > >
> > > 2009/9/4 Thiago H. de Paula Figueiredo <thiag...@gmail.com>
> > >
> > > ------- Mensagem encaminhada -------
> > >> De: codesite-nore...@google.com
> > >> Assunto: Issue 1277 in googleappengine: Add javax.xml.stream to
> > whitelist
> > >> Data: Thu, 03 Sep 2009 19:34:42 -0300
> > >>
> > >> Updates:
> > >>        Status: Fixed
> > >>        Labels: Version-1.2.5
> > >>
> > >> Comment #12 on issue 1277 by sly...@google.com: Add javax.xml.stream
> to
> > >> whitelist
> > >> http://code.google.com/p/googleappengine/issues/detail?id=1277
> > >>
> > >> This has been fixed in the 1.2.5 release.
> > >>
> > >> http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
> > >>
> > >> "Support for the Stax API, javax.xml.stream. You can now use both the
> > >> JDK's Stax parser as well as third-party Stax libraries like
> Woodstox."
> > >>
> > >> Can anyone confirm that a vanilla Tapestry 5.1.0.5 works in GAE now?
> > >>
> > >> --
> > >> Thiago H. de Paula Figueiredo
> > >> Independent Java consultant, developer, and instructor
> > >> http://www.arsmachina.com.br/thiago
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > >> For additional commands, e-mail: users-h...@tapestry.apache.org
> > >>
> > >>
> > >
> > >
> > > --
> > > regards,
> > > Jun Tsai
> > >
> >
> >
> >
> > --
> > regards,
> > Jun Tsai
> >
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to