question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid query: table not found in this schema.

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:30 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
Zhuindencommented, May 23, 2017

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

Because this is a bug.

EDIT: thanks @beeender!

0reactions
cmelchiorcommented, May 24, 2017

Realm Java 3.3.0 was released with a fix for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid query: Table doesn't exist - Stack Overflow
This database have more tables and I am able to use them. I am having problem with the tables that I am creating...
Read more >
Table not found when using Athena with Amazon QuickSight
Troubleshoot certain issues with tables not being found when using Amazon Athena with Amazon ... Amazon QuickSight can't infer the schema from the...
Read more >
Invalid Table or Database View Causes Schema Error in ...
Any other error that states the schema, table, or column was not found. Cause. The instance contains an invalid table or an invalid...
Read more >
ERR_SQL_TABLE_NOT_FOUND: SQL Table not found
DSS tried to access a table in a SQL database, but the SQL database does not contain the table. This error can happen:...
Read more >
ERROR: "Base table not found;259 invalid table name - Search
This issue occurs because the Double quotes were wrapped around the schema name and table name together. Example: "schema.tablename". However, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found