Did you also see the same behaviour across platform and hardware? Fair enough if it doesn't run properly on 1.6 (not ok but as long as it does it consistently). The thing that really puzzles me is the fact that *all* *is* running fine on Ubuntu on a MacBook but exactly the same situation on a Macpro tanks .. !
Maybe it isn't javassist but java itself and the hardware it runs on? OSX & java is one flavour, Ubuntu on MacPro != Ubuntu on MacBook Although i'm not liking the situation i'm *not* convinced it is due to T5 and its approach to bytecode manipulation. I would be very hard pressed to believe there are only 2 persons working with J6. Time permitting i'll try to test it as well on a 64b XP virtualbox. Spring? Never been there and wil never go .. ;-) Thx for the feedback for now. On Mon, Oct 5, 2009 at 10:27 AM, Inge Solvoll <inge.tapes...@gmail.com>wrote: > 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) > > > -- “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)