I've tried upgrading javassist to 3.11, it didn't help. I've run into a lot of trouble because of this javassist problem. It occurs when compiling with a 1.6 JDK, and it seems to be completely random.
I've managed to overcome this so far by doing binary search debug in my classes, moving things around until it works. Sometimes you need to change the order of methods, other times the length and fields. As I see it, this is a huge problem for T5. I'm having serious problems explaining to other developers why T5's approach to bytecode manipulation isn't a risky hack when they see this. It provides good amounts of momentum to those arguing that "why use an experimental and hacky framework that almost noone uses when we could be using the nice and stable Spring MVC". I hate that. On Mon, Oct 5, 2009 at 12:43 AM, Fermin Da Costa Gomez < dacostago...@dcgconsultancy.nl> wrote: > > > > java.lang.ClassFormatError > >> Invalid length 112 in LocalVariableTable in class file > >> > > > > This surely looks like a Javassist bug. What Java version are you using? > > Meanwhile, try recompiling your sources and reducing the length of event > > handler methods. > > > > MacBook/Ubuntu: > java version "1.6.0_16" > Java(TM) SE Runtime Environment (build 1.6.0_16-b01) > Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) > In Eclipse the same and compliance level 1.6 (except for the tapestry > project that has 1.5) > > MacPro/Ubuntu is exactly the same as MacBook/Ubuntu except that i get the > above mentioned error > > Same thing for Eclipse on the MacBook on Snow Leopard. > > You mean -all- the sources or just the Tapestry sources? > As such this would be ok but retrieving the quickstart via Maven in every > instance should that not give me the same setup everywhere (esp since i > have > the prj in svn so all mods are replicated to the other machines as well) > > How can i 'override' jassist, the 3.9 version, with the latest 3.11 > version? > It seems to be 'rolled into' the T5 set. > > Tia, > Fermin > > > > -- > > 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 > > > > > > > -- > “The reasonable man adapts himself to the world; the unreasonable one > persists in trying to adapt the world to himself. Therefore all progress > depends on the unreasonable man.” > - George Bernard Shaw (1856 - 1950) >