Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Here you should submit your bug reports with logcat.

ArrayIndexOutOfBoundsException in PDFMemSream

More
10 years 2 months ago - 10 years 2 months ago #10803 by Ilieski
There is ArrayIndexOutOfBoundsException error in PDFMemSream read function. The problem is when m_pos is < 0 and you try to call System.arraycopy(m_data, m_pos, data, 0, len ); with (m_pos < 0).

Stack Trace:
JNI DETECTED ERROR IN APPLICATION: JNI GetByteArrayRegion called with pending exception java.lang.ArrayIndexOutOfBoundsException: src.length=1164 srcPos=-884 dst.length=2000 dstPos=0 length=2000
at void java.lang.System.arraycopy!(java.lang.Object, int, java.lang.Object, int, int) (System.java:-2)
at int com.radaee.util.PDFMemStream.read(byte[]) (PDFMemStream.java:45)
at long com.radaee.pdf.Document.openStream(com.radaee.pdf.Document$PDFStream, java.lang.String) (Document.java:-2)
at int com.radaee.pdf.Document.OpenStream(com.radaee.pdf.Document$PDFStream, java.lang.String) (Document.java:739)
at void .pdf.PDFReaderFragment.onViewCreatedExceptionSafe(android.view.View, android.os.Bundle) (PDFReaderFragment.java:128)
at void .base.exception_handling.ExceptionSafeFragment.onViewCreated(android.view.View, android.os.Bundle) (ExceptionSafeFragment.java:94)
at void android.support.v4.app.FragmentManagerImpl.moveToState(android.support.v4.app.Fragment, int, int, int, boolean) (FragmentManager.java:1086)
at void android.support.v4.app.FragmentManagerImpl.moveToState(int, int, int, boolean) (FragmentManager.java:1248)
at void android.support.v4.app.BackStackRecord.run() (BackStackRecord.java:738)
at boolean android.support.v4.app.FragmentManagerImpl.execPendingActions() (FragmentManager.java:1613)
at void android.support.v4.app.FragmentManagerImpl$1.run() (FragmentManager.java:517)
at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:5969)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:801)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:691)
Last edit: 10 years 2 months ago by Ilieski.
More
10 years 2 months ago #10807 by Davide
Hi,
our developers have fixed it, we will include it in the next beta release of the library.

If you want it now, please open a ticket here : www.radaeepdf.com/support/tickets
More
10 years 2 months ago #10811 by Davide
Hi,
we have just published a new beta version that fixes the issue.
You can download it here : www.radaeepdf.com/download/download-prev...le/59-radaeepdf-37b2
More
10 years 2 months ago #10812 by Ilieski
Hello,
Can you please tell me when you are planing to release the final version of 3.7 ?

Regards,
Ivan
More
10 years 2 months ago #10814 by Davide
Hi,
if there won't be any particular things, usually a beta is scaled stable in 10/15 days after 2 or 3 beta.
More
10 years 2 months ago #10820 by Ilieski
Hi,

We are in very late phase of our project, and this issue is of very big importance for us.
Can you please let us know what was the real problem, and why we were not able to reproduce this issue before?
We would like to do risk assessment and for that we need your answer on this.

Regards, Ivan
Time to create page: 0.435 seconds
Powered by Kunena Forum