Oracle.opensync.ose.OSEException(-12102): Publication Id 121 For Snapshot With Id 134 Does Not Match (Doc ID 1496800.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Lite - Version 10.3.0.3.0 to 10.3.0.3.0 [Release 10.3]
Information in this document applies to any platform.

Symptoms

When republish using Olite on WM some publication created before with JAVA APIs code, The client automatically gets a forced refresh and the database is recreated and syncing works after that.

On android/sqllite this is not happening. SQLite is trying to use the existing database and trows this error:

Tue Mar 06 13:55:20 GMT+01:00 2012
Exception:
oracle.opensync.ose.OSEException(-12102): Publication id 121 for snapshot with id 134 does not match publication id 147 in the current transaction
at oracle.opensync.ose.OpcodeProcessor.getSnap(Unknown Source)
at oracle.opensync.ose.OpcodeProcessor.processPurge(Unknown Source)
at oracle.opensync.ose.OpcodeReader.doPurge(Unknown Source)
at oracle.opensync.ose.OpcodeReader.run(Unknown Source)
at oracle.opensync.ose.Engine.sync(Unknown Source)
at oracle.opensync.ose.OSESession.sync(Unknown Source)
at tests.sync.MainAct.run(MainAct.java:243)
at java.lang.Thread.run(Thread.java:1019)

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