Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FATAL EXCEPTION: ZoomTableManager

I'm getting a strange crash and I'm having trouble finding anything about it on Google. Searching ZoomTableManager returns no results at all.

E/AndroidRuntime﹕ FATAL EXCEPTION: ZoomTableManager
Process: com.xxx.yyy, PID: 22129
java.lang.IllegalMonitorStateException: object not locked by thread before notify()
        at java.lang.Object.notifyAll(Native Method)
        at com.google.maps.api.android.lib6.gmm6.m.k.a(Unknown Source)
        at com.google.maps.api.android.lib6.gmm6.m.l.run(Unknown Source)
like image 358
davis Avatar asked Apr 24 '15 09:04

davis


2 Answers

Turned out that the cause of the error was an invalid Google Maps API key.

Recently we had to change our app's package name and therefore the API keys we used became invalid as you have to specify the allowed apps by signature and package name.

like image 109
davis Avatar answered Nov 04 '22 06:11

davis


A IllegalMonitorStateException with that message happens when you call obj.notify() and you aren't holding the primitive mutex for obj.

You are supposed to do something like this:

    synchronized (someObj) {
        ...
        someObj.notify();
        ...
    }

or equivalent, but for some reasons the code that cause the problem has left out the synchronized bit. (Or maybe, it has synchronized on a different object.)

Unfortunately, this is happening in some obfuscated code that provides the Google Maps API implementation. And you haven't provided any context. So it is next to impossible for us to even guess what is going on.

I suggest that you provide more detail.

like image 36
Stephen C Avatar answered Nov 04 '22 04:11

Stephen C