Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
keithdavidsonsd Absent Member.
Absent Member.
1480 views

deserialization error

Hi,

We have been getting the following error using the GW java WS API. Can anyone possibly throw some light on the issue.

Cheers,
Keith


INFO | jvm 1 | 2012/02/08 14:28:22 | Warning: Error while iterating through messages in folder Runtime exception; nested exception is:
INFO | jvm 1 | 2012/02/08 14:28:22 | deserialization error: unexpected XML reader state. expected: END but found: START: {http://schemas.novell.com/2005/01/GroupWise/types}acceptLevel
INFO | jvm 1 | 2012/02/08 14:28:22 | java.rmi.RemoteException: Runtime exception; nested exception is:
INFO | jvm 1 | 2012/02/08 14:28:22 | deserialization error: unexpected XML reader state. expected: END but found: START: {http://schemas.novell.com/2005/01/GroupWise/types}acceptLevel
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:331)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:313)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.GroupWisePortType_Stub.readCursorRequest(GroupWisePortType_Stub.java:2432)
INFO | jvm 1 | 2012/02/08 14:28:22 | at [our java application]
INFO | jvm 1 | 2012/02/08 14:28:22 | Caused by: deserialization error: unexpected XML reader state. expected: END but found: START: {http://schemas.novell.com/2005/01/GroupWise/types}acceptLevel
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:128)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.Recipient_LiteralSerializer.doDeserialize(Recipient_LiteralSerializer.java:123)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.RecipientList_LiteralSerializer.doDeserialize(RecipientList_LiteralSerializer.java:53)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.Distribution_LiteralSerializer.doDeserialize(Distribution_LiteralSerializer.java:108)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.Appointment_LiteralSerializer.doDeserialize(Appointment_LiteralSerializer.java:434)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.Item_InterfaceSOAPSerializer.doDeserialize(Item_InterfaceSOAPSerializer.java:152)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.InterfaceSerializerBase.deserialize(InterfaceSerializerBase.java:118)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.ItemList_LiteralSerializer.doDeserialize(ItemList_LiteralSerializer.java:68)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.ReadCursorResponse_LiteralSerializer.doDeserialize(ReadCursorResponse_LiteralSerializer.java:54)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.GroupWisePortType_Stub._deserialize_readCursorRequest(GroupWisePortType_Stub.java:5460)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.novell.groupwise.ws.GroupWisePortType_Stub._readFirstBodyElement(GroupWisePortType_Stub.java:4770)
INFO | jvm 1 | 2012/02/08 14:28:22 | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
INFO | jvm 1 | 2012/02/08 14:28:22 | ... 7 more
Labels (1)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: deserialization error

My answer hasn't changed since Feb 8:

------------------------------------------------------------------

You have a mismatch between the compiled schema,
the version number you are using to login and
the version of the POA.

Can you give me the details?
What are you passing in the version element in the loginRequest?
What gwws.jar file are you using?
What version of java are you using?
Can you give me a soap trace of the request and response that
is causing the problem?
What version of POA are you using?

Thanks.
Preston


>>> On Sunday, February 19, 2012 at 5:46 PM,

keithdavidsonsd<keithdavidsonsd@no-mx.forums.novell.com> wrote:

> Hi,
>
> We have been getting the following error using the GW java WS API. Can
> anyone possibly throw some light on the issue.
>
> Cheers,
> Keith
>
>
> INFO | jvm 1 | 2012/02/08 14:28:22 | Warning: Error whileiterating
> through messages in folder Runtime exception; nested exception
> is:
> INFO | jvm 1 | 2012/02/08 14:28:22 | deserialization error:
> unexpected XML reader state. expected: END but found: START:
> {http://schemas.novell.com/2005/01/GroupWise/types}acceptLevel
> INFO | jvm 1 | 2012/02/08 14:28:22 | java.rmi.RemoteException:
> Runtime exception; nested exception is:
> INFO | jvm 1 | 2012/02/08 14:28:22 | deserialization error:
> unexpected XML reader state. expected: END but found: START:
> {http://schemas.novell.com/2005/01/GroupWise/types}acceptLevel
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(Str
> eamingSender.java:331)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:313)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.GroupWisePortType_Stub.readCursorRequest(GroupWi
> sePortType_Stub.java:2432)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at [our java application]
> INFO | jvm 1 | 2012/02/08 14:28:22 | Caused by: deserialization
> error: unexpected XML reader state. expected: END but found: START:
> {http://schemas.novell.com/2005/01/GroupWise/types}acceptLevel
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:128)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.Recipient_LiteralSerializer.doDeserialize(Recipi
> ent_LiteralSerializer.java:123)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.RecipientList_LiteralSerializer.doDeserialize(Re
> cipientList_LiteralSerializer.java:53)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.Distribution_LiteralSerializer.doDeserialize(Dis
> tribution_LiteralSerializer.java:108)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.Appointment_LiteralSerializer.doDeserialize(Appo
> intment_LiteralSerializer.java:434)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.Item_InterfaceSOAPSerializer.doDeserialize(Item_
> InterfaceSOAPSerializer.java:152)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.InterfaceSerializerBase.deserialize(InterfaceSe
> rializerBase.java:118)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.ItemList_LiteralSerializer.doDeserialize(ItemLis
> t_LiteralSerializer.java:68)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.ReadCursorResponse_LiteralSerializer.doDeseriali
> ze(ReadCursorResponse_LiteralSerializer.java:54)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.GroupWisePortType_Stub._deserialize_readCursorRe
> quest(GroupWisePortType_Stub.java:5460)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.novell.groupwise.ws.GroupWisePortType_Stub._readFirstBodyElement(Gro
> upWisePortType_Stub.java:4770)
> INFO | jvm 1 | 2012/02/08 14:28:22 | at
> com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
> INFO | jvm 1 | 2012/02/08 14:28:22 | ... 7 more

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.