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

TOPIC:

TimeoutException with Page.close 5 years 7 months ago #14076

  • arlomedia
  • arlomedia's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 56
  • Thank you received: 1
I got more crash reports from other users, and eventually found that I could reproduce it on my devices. I think this is the problem:

I'm creating a new PDFLayoutView, and a new Document, then doing Document.Open() and PDFLayoutView.PDFOpen().

Then when I want to view a second document, I'm doing PDFLayoutView.PDFClose() and Document.Close(), but not recreating those objects. I'm just doing Document.Open() and PDFLayoutView.PDFOpen() with a new file.

If I change this to create a new Document object, that seems to fix the crash. I'm still able to use the same PDFLayoutView object.

I don't know if you'll consider this a bug, but it is a change from the older library version I was using before.

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

TimeoutException with Page.close 5 years 7 months ago #14120

  • arlomedia
  • arlomedia's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 56
  • Thank you received: 1
The user who originally reported this has confirmed that the change described above fixed the problem.

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

TimeoutException with Page.close 5 years 7 months ago #14125

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Thank you for your feedback.

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

Powered by Kunena Forum