VPageCache.init ArrayIndexOutOfBoundsException - RadaeePDF.com - Results from #6
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF

TOPIC: VPageCache.init ArrayIndexOutOfBoundsException

VPageCache.init ArrayIndexOutOfBoundsException 2 years 5 months ago #12008

  • spurgeon
  • spurgeon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Thanks, will do. Can you post a link where I can download 3.11 when it's released tomorrow?

Please Log in or Create an account to join the conversation.

VPageCache.init ArrayIndexOutOfBoundsException 2 years 5 months ago #12009

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 868
  • Karma: 23
  • Thank you received: 71
Sure, we'll respond to this post with the download link

Please Log in or Create an account to join the conversation.

VPageCache.init ArrayIndexOutOfBoundsException 2 years 5 months ago #12013

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 868
  • Karma: 23
  • Thank you received: 71

Please Log in or Create an account to join the conversation.

VPageCache.init ArrayIndexOutOfBoundsException 2 years 5 months ago #12024

  • spurgeon
  • spurgeon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Thanks for posting the link. I'll try to get this integrated and report back if I find any more crash reports. It looks like 3.11 uses API 23. Is this the minimum API for ViewLib now?

Please Log in or Create an account to join the conversation.

VPageCache.init ArrayIndexOutOfBoundsException 2 years 5 months ago #12025

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 868
  • Karma: 23
  • Thank you received: 71
No, it's not the minimum. You can decrease it if you want.

Please Log in or Create an account to join the conversation.

VPageCache.init ArrayIndexOutOfBoundsException 2 years 4 months ago #12156

  • spurgeon
  • spurgeon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
We published our app with 3.11 and are getting similar crash reports. Again, these are just crash reports, so we don't have sample files, for example, that produce these crashes. Is there any insight you can provide?

java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
at com.radaee.view.VPageCache.blk_draw(VPageCache.java:254)
at com.radaee.view.VPage.vDrawStep1(VPage.java:475)
at com.radaee.view.PDFLayout.vDrawNormal(PDFLayout.java:202)
at com.radaee.view.PDFLayout.vDraw(PDFLayout.java:255)
at com.radaee.reader.PDFLayoutView.onDraw(PDFLayoutView.java:626)
at android.view.View.draw(View.java:16199)
at android.view.View.updateDisplayListIfDirty(View.java:15196)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3596)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3576)
at android.view.View.updateDisplayListIfDirty(View.java:15156)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3596)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3576)
at android.view.View.updateDisplayListIfDirty(View.java:15156)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3596)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3576)
at android.view.View.updateDisplayListIfDirty(View.java:15156)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3596)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3576)
at android.view.View.updateDisplayListIfDirty(View.java:15156)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3596)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3576)
at android.view.View.updateDisplayListIfDirty(View.java:15156)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3596)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3576)
at android.view.View.updateDisplayListIfDirty(View.java:15156)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:281)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:287)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:322)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2627)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2446)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2079)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1119)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6060)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
at android.view.Choreographer.doCallbacks(Choreographer.java:670)
at android.view.Choreographer.doFrame(Choreographer.java:606)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)


java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
at com.radaee.view.VPageCache.blk_draw(VPageCache.java:254)
at com.radaee.view.VPage.vDrawStep1(VPage.java:475)
at com.radaee.view.PDFLayout.vDrawNormal(PDFLayout.java:202)
at com.radaee.view.PDFLayout.vDraw(PDFLayout.java:255)
at com.radaee.reader.PDFLayoutView.onDraw(PDFLayoutView.java:626)
at android.view.View.draw(View.java:17476)
at android.view.View.updateDisplayListIfDirty(View.java:16469)
at android.view.View.draw(View.java:17245)
at android.view.ViewGroup.drawChild(ViewGroup.java:3921)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711)
at android.view.View.updateDisplayListIfDirty(View.java:16464)
at android.view.View.draw(View.java:17245)
at android.view.ViewGroup.drawChild(ViewGroup.java:3921)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711)
at android.view.View.updateDisplayListIfDirty(View.java:16464)
at android.view.View.draw(View.java:17245)
at android.view.ViewGroup.drawChild(ViewGroup.java:3921)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711)
at android.view.View.updateDisplayListIfDirty(View.java:16464)
at android.view.View.draw(View.java:17245)
at android.view.ViewGroup.drawChild(ViewGroup.java:3921)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711)
at android.view.View.updateDisplayListIfDirty(View.java:16464)
at android.view.View.draw(View.java:17245)
at android.view.ViewGroup.drawChild(ViewGroup.java:3921)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711)
at android.view.View.updateDisplayListIfDirty(View.java:16464)
at android.view.View.draw(View.java:17245)
at android.view.ViewGroup.drawChild(ViewGroup.java:3921)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711)
at android.view.View.draw(View.java:17479)
at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:3190)
at android.view.View.updateDisplayListIfDirty(View.java:16469)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:325)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:331)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:366)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3184)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2983)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2572)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1487)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7450)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:631)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum