Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC:

Crash if pdf is zoomed 8 years 3 months ago #10100

  • alexander.gustke
  • alexander.gustke's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 1
Hello,

with the newest Android lib (3.6.1) there is a crash in onTouchEvent:
java.lang.NullPointerException: Attempt to read from null array
            at com.radaee.view.PDFViewDual.vOnFling(PDFViewDual.java:460)
            at com.radaee.view.PDFView$PDFGestureListener.onFling(PDFView.java:493)
            at android.view.GestureDetector.onTouchEvent(GestureDetector.java:610)
            at com.radaee.view.PDFView.motionNormal(PDFView.java:616)
            at com.radaee.view.PDFView.vTouchEvent(PDFView.java:727)
            at *************.impl.SimplePDFView.onTouchEvent(SimplePDFView.java:211)

Everything i do in my custom class, where i instantiated a PDFView (pdfView), is calling vOnTouch on it:
@Override
public boolean onTouchEvent(MotionEvent event) {
        if (pdfView != null)
            return pdfView.vTouchEvent(event);
        else
            return true;
}
it happens everytime i zoomed in and try to scroll in a pdf.

Best regards
Alex

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

Crash if pdf is zoomed 8 years 2 months ago #10221

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
sorry for the delay.
Can you reproduce it with the demo project?

If yes, tell us the steps to reproduce it, so we can check it..

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

  • Page:
  • 1
Powered by Kunena Forum