realm-java: Invalid query: table not found in this schema.

Hi there! Faced a strange issue: ProGuard build is crashing with next message:

java.lang.IllegalArgumentException: Invalid query: table 'TableNameHere' not found in this schema.
at aig.a(CachedFieldDescriptor.java:72)
at aii.c(FieldDescriptor.java:284)
at aii.a(FieldDescriptor.java:177)
at ahb.b(RealmQuery.java:347)
at ahb.a(RealmQuery.java:339)

Proguard main configuration part:

-dontskipnonpubliclibraryclassmembers
-optimizationpasses 7
-allowaccessmodification
-repackageclasses
-dontpreverify

Version of Realm and tooling

Realm version(s): 3.2.1 Android Studio version: 2.3.2 Which Android version and device: 7.1.2, Nexus 5X, Pixel XL

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 30 (17 by maintainers)

Most upvoted comments

okay, who’s going to mark this as a BUG?

Because this is a bug.

EDIT: thanks @beeender!