Crash if pdf is zoomed - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC: Crash if pdf is zoomed

Crash if pdf is zoomed 2 years 9 months ago #10100

  • alexander.gustke
  • alexander.gustke's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 2 years 9 months ago #10221

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • 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