james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Reply:Re: InvalidClassException when reading attributes from the mail spool
Date Fri, 24 Jun 2011 06:31:00 GMT
No,I have noticed every time the exception appears the exception message is the same as:

 java.io.InvalidClassException: [Ljava.lang.StackTraceElement;; enum descriptor has non-zero
serialVersionUID: 163864874655243298

Here "serialVersionUID: 163864874655243298" maybe a specifical error No?




At 2011-06-24,"Norman Maurer" <norman.maurer@googlemail.com> wrote:

>Do you by any chance try to store an enum in the mail attribute ?
>
>bye
>norman
>
>
>Am Freitag, 24. Juni 2011 schrieb SuoNayi <suonayi2006@163.com>:
>> Hi all,I am using james2.3.2 to be my mail server of which the backend storage is
mysql 5.5. I got a exception when james try to read attributes from the spool.
>>
>> 23/06/11 16:39:49 DEBUG mailstore: Exception reading attributes Mail1308818378708-0-to-163.com
in spool
>> java.io.InvalidClassException: [Ljava.lang.StackTraceElement;; enum descriptor has
non-zero serialVersionUID: 163864874655243298
>>         at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:620)
>>         at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:789)
>>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1534)
>>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
>>         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1591)
>>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
>>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910)
>>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834)
>>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
>>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
>>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
>>         at java.util.HashMap.readObject(HashMap.java:1067)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:592)
>>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
>>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1812)
>>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
>>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
>>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
>>         at org.apache.james.mailrepository.JDBCMailRepository.retrieve(JDBCMailRepository.java:846)
>>         at org.apache.james.mailrepository.JDBCSpoolRepository.accept(JDBCSpoolRepository.java:203)
>>         at org.apache.james.mailrepository.JDBCSpoolRepository.accept(JDBCSpoolRepository.java:126)
>>         at org.apache.james.mailrepository.MailStoreSpoolRepository.accept(MailStoreSpoolRepository.java:105)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:592)
>>         at org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:134)
>>         at $Proxy5.accept(Unknown Source)
>>         at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:299)
>>         at java.lang.Thread.run(Thread.java:595)
>> Any idea?
>> Thanks
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>For additional commands, e-mail: server-dev-help@james.apache.org
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message