Jump to content
Excelsior Forums

dmigowski

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About dmigowski

  • Rank
    Newbie
  • Birthday 01/01/01
  1. Hibernate 3.2.6 and Excelsior Jet 6.5

    Same on 1.6! I will try to create a minimal non-working application for you showing the same behaviour, soon, and upload it to your ftp. I just checked if I have access, but since I am just an evaluating customer, I miss a valid username. Can you provide me with one?
  2. Hibernate 3.2.6 and Excelsior Jet 6.5

    Update: The same problem occurs when NOT using AspectJ or Serialization. So just Javassist used by Hibernate seems to be the culprit...
  3. Hibernate 3.2.6 and Excelsior Jet 6.5

    Just for information, on the lower level the following happens to my class files: On the server: * The class file gets enhanced by AspectJ 1.5.4, using the iajc-ant-Task * Hibernate creates a Proxy from the class file using Javassist. * An object of this class is serialized and send to the client On the client (which i compiled with Excelsior) * The class file gets enhanced by AspectJ 1.5.4, using the iajc-ant-Task * The class file is compiled by Excelsior Jet * Hibernate deserializes the object from the server, and creates a Proxy from the required class file using Javassist. Now we have an invalid class file. Might there be a possibility to resolve this?
  4. Hello dear readers, I just tried the Excelsior JET compiler on our application which uses Hibernate and Serialization of Hibernate objects. When I deserialize uninitialized Hibernate objects on my Client (works like a Charm with Suns JDK 1.5.0_18), I receive the following Exception: java.lang.ClassFormatError: de/ikoffice/app/core/model/Configuration_$$_javassist_0 at java.lang.Class.getDeclaredFields0(Unknown Source) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getField0(Unknown Source) at java.lang.Class.getField(Unknown Source) at javassist.util.proxy.ProxyFactory.setField(Unknown Source) at javassist.util.proxy.ProxyFactory.createClass3(Unknown Source) at javassist.util.proxy.ProxyFactory.createClass2(Unknown Source) at javassist.util.proxy.ProxyFactory.createClass(Unknown Source) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(Unknown Source) at org.hibernate.proxy.pojo.javassist.SerializableProxy.readResolve(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) ... unimportant stuff here... This error comes during the Test Run and when running the compiled .exe! Do you know how to resolve this problem? It might be of interest, that I precompile my classes with the AspectJ compiler v1.5.4, which generated classes for which hibernate creates proxies. I hope this is not to much for JET to handle?
×