Oracle.opensync.ose.OSEException(-12038): Server Error, Id = 2,000: "Unrecognized OPCODE :: {0}" (Doc ID 2011211.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Lite - Version 10.3.0.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 10.3.0.3.0 version, Mobile Server

When attempting to use the java sync api "selectPub"
the following error occurs.

ERROR
-----------------------
oracle.opensync.ose.OSEException(-12038): Server error, id = 2,000: "Unrecognized OPCODE :: {0}"


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Install the mobile client 10.3.0.3.0 on Android
2. synchronize all the Publications
3. run the following code:

this.oseSession = new OSESession(username);
this.oseSession.setPassword(password.toCharArray());
this.oseSession.setURL("dbr4039v.dbr.agro.nl:7777");
this.oseSession.setUseFiles(true);
this.oseSession.selectPub("MTIJD");
  this.oseSession.sync();


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms