You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephan Schwab <sn...@caimito.net> on 2007/08/14 18:14:37 UTC

Re: [T5] StackMapTable format error


Howard Lewis Ship wrote:
> 
> I haven't tested myself under JDK 1.6.  I suspect its Javassist that's
> having the problem.  Not much we can do about that, except see if there's
> a
> newer version of it that can handle JDK 1.6 better.
> 

That seems to be a problem with a certain combination of Javassit and the
JRE/JDK used. I got this error message as well when executing a Tapestry app
on Mac OS X with the developers preview of Java 1.6. Unfortunately there is
still no production release available. But on our Linux boxes with Sun's
Java 1.6 we don't see that problem.

The newer version of Javassist (3.6.0.CR1) seems to have problems with the
DP Java 1.6 on the Mac as well. At first it seems to solve the issue, but I
got class rewriting trouble later on. So I suspect there is nothing wrong
with javassist, but instead the preview release of the JVM is causing the
problem.

Another inconvenience is that javassist 3.6.0.CR1 in itself seems to be
preview as well and is not available via Maven's central repository.

Stephan

-- 
View this message in context: http://www.nabble.com/-T5--StackMapTable-format-error-tf4194846.html#a12147650
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5] StackMapTable format error

Posted by Siddhartha Argollo <sl...@tre-ba.gov.br>.
I’m using jdk 6 u2 on windows, and I still get errors using javassist 
3.4. Although I don’t know why or how, I learned how to rewrite the code 
to bypass them.
When I switch to 3.6.0 CR1, those errors were solved, but worse ones 
appeared, so I decided to stay with the devil I know, and switch back to 
3.4.
The problem must be with javassist on jdk 6.

Stephan Schwab wrote:
> Howard Lewis Ship wrote:
>   
>> I haven't tested myself under JDK 1.6.  I suspect its Javassist that's
>> having the problem.  Not much we can do about that, except see if there's
>> a
>> newer version of it that can handle JDK 1.6 better.
>>
>>     
>
> That seems to be a problem with a certain combination of Javassit and the
> JRE/JDK used. I got this error message as well when executing a Tapestry app
> on Mac OS X with the developers preview of Java 1.6. Unfortunately there is
> still no production release available. But on our Linux boxes with Sun's
> Java 1.6 we don't see that problem.
>
> The newer version of Javassist (3.6.0.CR1) seems to have problems with the
> DP Java 1.6 on the Mac as well. At first it seems to solve the issue, but I
> got class rewriting trouble later on. So I suspect there is nothing wrong
> with javassist, but instead the preview release of the JVM is causing the
> problem.
>
> Another inconvenience is that javassist 3.6.0.CR1 in itself seems to be
> preview as well and is not available via Maven's central repository.
>
> Stephan
>
>   

-- 
Siddhartha Argollo
Técnico Judiciário
TRE-BA
slargollo@tre-ba.gov.br


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org