We are receiving a number of instances of the exception below from our Android app that utilizes PDFViewCtrl. Can you comment on why this would be occurring and what we should be doing to avoid this error.
Thanks,
David
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
... 2 more
Caused by: Exception:
Message: This thread does not have a read lock.
Conditional expression: m_lock_count.get() && m_lock_count->m_read_count
Filename : RecursiveSharedMutex.cpp
Function : unlock_shared
Linenumber : 91
Error code : 0
at pdftron.PDF.PDFViewCtrl.DocUnlockRead(Native Method)
at pdftron.PDF.PDFViewCtrl.docUnlockRead(SourceFile:3462)
at au.com.bluetigertech.docsontap.PdfViewerActivity.onSingleTapConfirmed(PdfViewerActivity.java:1157)
at pdftron.PDF.Tools.ToolManager.onSingleTapConfirmed(ToolManager.java:736)
at pdftron.PDF.PDFViewCtrl.onSingleTapConfirmed(SourceFile:2389)
at pdftron.PDF.PDFViewCtrl$10.onSingleTapConfirmed(SourceFile:6706)
at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:320)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
... 5 more