Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

Android application crashes when scrolling PDF 7 months 2 weeks ago #15841

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
We're working hard on it.
We've many hundreds customers using the framework and your ticket is really surprising us.

We'll update you as soon as possible.

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

Android application crashes when scrolling PDF 7 months 2 weeks ago #15842

  • kaizhou
  • kaizhou's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 13
  • Thank you received: 2
Dear user,

We may have found the root of your issue.
We have uploaded a file containing the potential fix, could you replace it and let us know if the issue is resolved?

regards,
RadaeePDF.com
Support team
Attachments:

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

Android application crashes when scrolling PDF 7 months 2 weeks ago #15843

  • bays
  • bays's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hello, thank you for quick response! We will check if it helps and I'll get back to you:)

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

Android application crashes when scrolling PDF 7 months 2 weeks ago #15844

  • bays
  • bays's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hello guys! We will try your method, but there is one note, maybe you can respond.

You added a check:`if (pageno < 0 || pageno >= m_pages.length) return null;`but according to our developers it might be wrong since we can get NULL in that case and then crash with NPE (null pointer exception).
 Have you considered adding this check in `OnPageRendered()` method  (`PDFLayoutView` class) since `vGetPage()` can cause NPE in case of returning NULL?

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

Android application crashes when scrolling PDF 7 months 4 days ago #15852

  • bays
  • bays's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hello guys,

It seems that the fix we used (in the post above) solved issue with PDF crashes. Thank you very much for your help!

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

Android application crashes when scrolling PDF 7 months 4 days ago #15853

  • bays
  • bays's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hello guys,

It seems that the fix we used (in the post above) solved issue with PDF crashes. Thank you very much for your help!

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum