Forum Stats

  • 3,768,730 Users
  • 2,252,841 Discussions
  • 7,874,701 Comments

Discussions

SecondaryIntegrityException

Hi All,

I am getting this error :

08-31 19:05:29.986: E/AndroidRuntime(27037): FATAL EXCEPTION: pool-2-thread-1

08-31 19:05:29.986: E/AndroidRuntime(27037): Process: com.celstra.gss, PID: 27037

08-31 19:05:29.986: E/AndroidRuntime(27037): com.sleepycat.je.SecondaryIntegrityException: (JE 5.0.73) Secondary is corrupt: the primary record contains a key that is not present in the secondary

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.SecondaryDatabase.deleteKey(SecondaryDatabase.java:938)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.SecondaryDatabase.updateSecondary(SecondaryDatabase.java:853)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.SecondaryTrigger.databaseUpdated(SecondaryTrigger.java:41)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.Database.notifyTriggers(Database.java:2122)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.Cursor.putNotify(Cursor.java:2136)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.Cursor.putNoDups(Cursor.java:2052)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.Cursor.putInternal(Cursor.java:2020)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.je.Cursor.put(Cursor.java:742)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.persist.PrimaryIndex.put(PrimaryIndex.java:397)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.sleepycat.persist.PrimaryIndex.put(PrimaryIndex.java:335)

08-31 19:05:29.986: E/AndroidRuntime(27037): at com.celstra.gss.GssPlugin$44.run(GssPlugin.java:5474)

08-31 19:05:29.986: E/AndroidRuntime(27037): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

08-31 19:05:29.986: E/AndroidRuntime(27037): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

08-31 19:05:29.986: E/AndroidRuntime(27037): at java.lang.Thread.run(Thread.java:818)

My Environment configuration is as follows:

EnvironmentConfig envConfig=new EnvironmentConfig();

envConfig.setAllowCreate(!status);

envConfig.setReadOnly(status);

StoreConfig sConfig=new StoreConfig();

sConfig.setAllowCreate(!status);

sConfig.setReadOnly(status);

env = new Environment(FilePath, envConfig);

store = new EntityStore(env, "GSS", sConfig);

I am attaching my files after verification please suggest:

https://ufile.io/sa576

https://ufile.io/4mtiy

Please help me!

This discussion has been closed.