Absent Member.
Absent Member.
1598 views

java.rmi.RemoteException deserialization error

Hi,

We are getting the following exception intermittently using the GW WS java API. Can anyone throw some light on the matter?

Cheers,
Keith

INFO | jvm 1 | 2012/02/08 14:19:46 | java.rmi.RemoteException: Runtime exception; nested exception is:
INFO | jvm 1 | 2012/02/08 14:19:46 | 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:19:46 | at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:331)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:313)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.GroupWisePortType_Stub.readCursorRequest(GroupWisePortType_Stub.java:2432)
INFO | jvm 1 | 2012/02/08 14:19:46 | at ... [our application code]...
INFO | jvm 1 | 2012/02/08 14:19:46 | 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:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:128)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.Recipient_LiteralSerializer.doDeserialize(Recipient_LiteralSerializer.java:123)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.RecipientList_LiteralSerializer.doDeserialize(RecipientList_LiteralSerializer.java:53)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.Distribution_LiteralSerializer.doDeserialize(Distribution_LiteralSerializer.java:108)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.Appointment_LiteralSerializer.doDeserialize(Appointment_LiteralSerializer.java:434)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.Item_InterfaceSOAPSerializer.doDeserialize(Item_InterfaceSOAPSerializer.java:152)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.InterfaceSerializerBase.deserialize(InterfaceSerializerBase.java:118)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.ItemList_LiteralSerializer.doDeserialize(ItemList_LiteralSerializer.java:68)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.ReadCursorResponse_LiteralSerializer.doDeserialize(ReadCursorResponse_LiteralSerializer.java:54)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.GroupWisePortType_Stub._deserialize_readCursorRequest(GroupWisePortType_Stub.java:5460)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.novell.groupwise.ws.GroupWisePortType_Stub._readFirstBodyElement(GroupWisePortType_Stub.java:4770)
INFO | jvm 1 | 2012/02/08 14:19:46 | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
INFO | jvm 1 | 2012/02/08 14:19:46 | ... 7 more
Labels (1)
0 Likes
1 Reply
Absent Member.
Absent Member.

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 Wednesday, February 08, 2012 at 7:26 PM,

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

> Hi,
>
> We are getting the following exception intermittently using the GW WS
> java API. Can anyone throw some light on the matter?
>
> Cheers,
> Keith
>
> INFO | jvm 1 | 2012/02/08 14:19:46 | java.rmi.RemoteException:
> Runtime exception; nested exception is:
> INFO | jvm 1 | 2012/02/08 14:19:46 | 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:19:46 | at
> com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(Str
> eamingSender.java:331)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:313)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.GroupWisePortType_Stub.readCursorRequest(GroupWi
> sePortType_Stub.java:2432)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at ... [our application
> code]...
> INFO | jvm 1 | 2012/02/08 14:19:46 | 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:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:128)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.Recipient_LiteralSerializer.doDeserialize(Recipi
> ent_LiteralSerializer.java:123)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.RecipientList_LiteralSerializer.doDeserialize(Re
> cipientList_LiteralSerializer.java:53)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.Distribution_LiteralSerializer.doDeserialize(Dis
> tribution_LiteralSerializer.java:108)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.Appointment_LiteralSerializer.doDeserialize(Appo
> intment_LiteralSerializer.java:434)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.Item_InterfaceSOAPSerializer.doDeserialize(Item_
> InterfaceSOAPSerializer.java:152)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.InterfaceSerializerBase.deserialize(InterfaceSe
> rializerBase.java:118)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.ItemList_LiteralSerializer.doDeserialize(ItemLis
> t_LiteralSerializer.java:68)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.ReadCursorResponse_LiteralSerializer.doDeseriali
> ze(ReadCursorResponse_LiteralSerializer.java:54)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDes
> erialize(LiteralObjectSerializerBase.java:216)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize
> (LiteralObjectSerializerBase.java:124)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.GroupWisePortType_Stub._deserialize_readCursorRe
> quest(GroupWisePortType_Stub.java:5460)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.novell.groupwise.ws.GroupWisePortType_Stub._readFirstBodyElement(Gro
> upWisePortType_Stub.java:4770)
> INFO | jvm 1 | 2012/02/08 14:19:46 | at
> com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
> INFO | jvm 1 | 2012/02/08 14:19:46 | ... 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.