You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Paul Stanton <pa...@mapshed.com.au> on 2010/05/26 11:53:12 UTC

Invalid length 112 in LocalVariableTable

I recently made some changes to my pom.xml (added hibernatespatial) and 
have noticed that I can no longer load my page which contains the 
Autocomplete mixin. Instead I get the following:

Invalid length 112 in LocalVariableTable in class file 
org/apache/tapestry5/corelib/mixins/Autocomplete
Stack trace

    * java.lang.ClassLoader.defineClass1(Native Method)
    * java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    * java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    * java.lang.ClassLoader.defineClass(ClassLoader.java:466)
    * javassist.Loader.findClass(Loader.java:379)
    * org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(ComponentInstantiatorSourceImpl.java:94)

    * ...

I'm pretty sure the tapestry jars were not re-downloaded and shouldn't 
have changed.

What in hell could cause this??!!

thanks, p.

Re: Invalid length 112 in LocalVariableTable

Posted by Paul Stanton <pa...@mapshed.com.au>.
Andreas that is exactly the problem thank you!

I have changed my hibernatespatial dependency to:

        <dependency>
            <groupId>org.hibernatespatial</groupId>
            <artifactId>hibernate-spatial-postgis</artifactId>
            <version>1.0</version>
            <exclusions>
                <exclusion>
                    <artifactId>javassist</artifactId>
                    <groupId>javassist</groupId>
                </exclusion>
            </exclusions>
        </dependency>

and everyone is happy again!

Andreas Andreou wrote:
> it should be the javassist version - try finding out which version was
> being used
> before you introduces the dependency to hibernatespatial
>
> On Wed, May 26, 2010 at 12:53, Paul Stanton <pa...@mapshed.com.au> wrote:
>   
>> I recently made some changes to my pom.xml (added hibernatespatial) and have
>> noticed that I can no longer load my page which contains the Autocomplete
>> mixin. Instead I get the following:
>>
>> Invalid length 112 in LocalVariableTable in class file
>> org/apache/tapestry5/corelib/mixins/Autocomplete
>> Stack trace
>>
>>   * java.lang.ClassLoader.defineClass1(Native Method)
>>   * java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>>   * java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>>   * java.lang.ClassLoader.defineClass(ClassLoader.java:466)
>>   * javassist.Loader.findClass(Loader.java:379)
>>   *
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(ComponentInstantiatorSourceImpl.java:94)
>>
>>   * ...
>>
>> I'm pretty sure the tapestry jars were not re-downloaded and shouldn't have
>> changed.
>>
>> What in hell could cause this??!!
>>
>> thanks, p.
>>
>>     
>
>
>
>   

Re: Invalid length 112 in LocalVariableTable

Posted by Andreas Andreou <an...@di.uoa.gr>.
it should be the javassist version - try finding out which version was
being used
before you introduces the dependency to hibernatespatial

On Wed, May 26, 2010 at 12:53, Paul Stanton <pa...@mapshed.com.au> wrote:
> I recently made some changes to my pom.xml (added hibernatespatial) and have
> noticed that I can no longer load my page which contains the Autocomplete
> mixin. Instead I get the following:
>
> Invalid length 112 in LocalVariableTable in class file
> org/apache/tapestry5/corelib/mixins/Autocomplete
> Stack trace
>
>   * java.lang.ClassLoader.defineClass1(Native Method)
>   * java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>   * java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>   * java.lang.ClassLoader.defineClass(ClassLoader.java:466)
>   * javassist.Loader.findClass(Loader.java:379)
>   *
> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(ComponentInstantiatorSourceImpl.java:94)
>
>   * ...
>
> I'm pretty sure the tapestry jars were not re-downloaded and shouldn't have
> changed.
>
> What in hell could cause this??!!
>
> thanks, p.
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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