IllegalArgumentException occured when zoom - 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...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: IllegalArgumentException occured when zoom

IllegalArgumentException occured when zoom 2 years 11 months ago #9898

  • kankyou
  • kankyou's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
When zoomin or zoomout, this exception occured.
I am using Android PDF Viewer SDK 3.6.1beta.
java.lang.IllegalArgumentException: pointerIndex out of range
            at android.view.MotionEvent.nativeGetAxisValue(Native Method)
            at android.view.MotionEvent.getX(MotionEvent.java:2111)
            at android.support.v4.view.MotionEventCompatEclair.getX(MotionEventCompatEclair.java:32)
            at android.support.v4.view.MotionEventCompat$EclairMotionEventVersionImpl.getX(MotionEventCompat.java:110)
            at android.support.v4.view.MotionEventCompat.getX(MotionEventCompat.java:462)
            at android.support.v4.view.ViewPager.onInterceptTouchEvent(ViewPager.java:1916)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2310)
            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
            at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2568)
            at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1776)
            at android.app.Activity.dispatchTouchEvent(Activity.java:2866)
            at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2529)
            at android.view.View.dispatchPointerEvent(View.java:9186)
            at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4710)
            at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4548)
            at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4072)
            at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4125)
            at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4091)
            at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4205)
            at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4099)
            at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4262)
            at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4072)
            at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4125)
            at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4091)
            at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4099)
            at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4072)
            at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6568)
            at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6458)
            at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6429)
            at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6658)
            at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
            at android.os.MessageQueue.nativePollOnce(Native Method)
            at android.os.MessageQueue.next(MessageQueue.java:143)
            at android.os.Looper.loop(Looper.java:130)
            at android.app.ActivityThread.main(ActivityThread.java:5951)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)

please help me.

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

IllegalArgumentException occured when zoom 2 years 11 months ago #9901

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Any particular condition?
Which device or operating system version at you testing on?
Any specific PDF file?
Are you using PDF view or rdpdfview classes?

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

IllegalArgumentException occured when zoom 2 years 11 months ago #9902

  • kankyou
  • kankyou's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0

Any particular condition?

When zoomin and zoomout speedly, 100% occurred.

Which device or operating system version at you testing on?

device: SC-04E
Android version : 5.0.1

Any specific PDF file?

attachment pdf

Are you using PDF view or rdpdfview classes?

No,I am using PdfViewPager class.
pdfFileStream = new PDFFileStream();
pdfFileStream.open(AppFileManager.getInstance().getTempFileFullPath(getArguments().getString(FILE_NAME)));
m_doc = new Document();
m_doc.OpenStream(pdfFileStream, null);
pdfViewPager_.PDFOpen(m_doc, 1);

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

IllegalArgumentException occured when zoom 2 years 11 months ago #9903

  • kankyou
  • kankyou's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Failed to upload file 'val12202830920.zip': The file size (295791) exceeds the maximum set by the administrator.

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

Last edit: by kankyou.

IllegalArgumentException occured when zoom 2 years 11 months ago #9904

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
can you reproduce it with the last version of the library?
www.radaeepdf.com/download/download-prev...4-radaeepdf-361beta2

If yes, you should open a private ticket here: www.radaeepdf.com/support/tickets?view=ticket&layout=open and attach the pdf that makes the issue, so we can test it..

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

IllegalArgumentException occured when zoom 2 years 11 months ago #9905

  • kankyou
  • kankyou's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Yes, I can reproduce it with the radeepdf 3.6.1beta2.

I opened this ticket and attach the pdf.
www.radaeepdf.com/my-profile/my-tickets?...ut=view&ticketid=704

the pdf has two pages.
Zoom out every page. and turn page from 1 to 2 or from 2 to 1 random. then zoom in or zoom out. you will reprouce it.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum