MarnoRossouw / ebookdroid

Automatically exported from code.google.com/p/ebookdroid
0 stars 0 forks source link

Open email attachment error #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open email app and select an email which has a pdf attachment

2.The android system will show all apps which has the IntentFilter 
  "android.intent.action.VIEW".Then select EBook app, The view will be black
   and throw error when you drag the view.

What is the expected output? What do you see instead?
  EBook will render the email's attachment  

What version of the product are you using? On what operating system?
    versionName="1.3.3-dev"

What device are you using?
  version 2.2

Please provide any additional information below.

02-22 18:13:11.170: E/AndroidRuntime(4040): FATAL EXCEPTION: main
02-22 18:13:11.170: E/AndroidRuntime(4040): 
java.lang.ArrayIndexOutOfBoundsException
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.AbstractDocumentView.calculatePageVisibility(AbstractDocumen
tView.java:311)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.AbstractDocumentView.updatePageVisibility(AbstractDocumentVi
ew.java:245)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.AbstractDocumentView$1.run(AbstractDocumentView.java:225)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.app.Activity.runOnUiThread(Activity.java:3707)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.AbstractDocumentView.onScrollChanged(AbstractDocumentView.ja
va:235)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.BaseDocumentView.onScrollChanged(BaseDocumentView.java:169)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.View.scrollTo(View.java:5020)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.BaseDocumentView.access$1(BaseDocumentView.java:1)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.BaseDocumentView$1.run(BaseDocumentView.java:225)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.app.Activity.runOnUiThread(Activity.java:3707)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.BaseDocumentView.scrollTo(BaseDocumentView.java:231)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.BaseDocumentView.continueScroll(BaseDocumentView.java:143)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.ContiniousDocumentView.drawView(ContiniousDocumentView.java:
134)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.DrawThread.performDrawing(DrawThread.java:80)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
org.ebookdroid.core.BaseDocumentView.onDraw(BaseDocumentView.java:369)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.View.draw(View.java:7019)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1641)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1368)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1639)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1368)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.View.draw(View.java:7022)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.widget.FrameLayout.draw(FrameLayout.java:352)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1641)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1368)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1639)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1368)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.View.draw(View.java:7022)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.widget.FrameLayout.draw(FrameLayout.java:352)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:184
2)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewRoot.draw(ViewRoot.java:1471)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewRoot.performTraversals(ViewRoot.java:1201)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.view.ViewRoot.handleMessage(ViewRoot.java:1793)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.os.Looper.loop(Looper.java:123)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
android.app.ActivityThread.main(ActivityThread.java:4627)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
java.lang.reflect.Method.invokeNative(Native Method)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
java.lang.reflect.Method.invoke(Method.java:521)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
02-22 18:13:11.170: E/AndroidRuntime(4040):     at 
dalvik.system.NativeStart.main(Native Method)
02-22 18:13:11.180: W/ActivityManager(2239):   Force finishing activity 
org.ebookdroid/.pdfdroid.PdfViewerActivity
02-22 18:13:11.681: W/ActivityManager(2239): Activity pause timeout for 
HistoryRecord{47f1e9b0 org.ebookdroid/.pdfdroid.PdfViewerActivity}

Original issue reported on code.google.com by WangNin...@gmail.com on 22 Feb 2012 at 10:21

GoogleCodeExporter commented 9 years ago
You are specified that you are using "dev" version, but do not specify build or 
revision number.

Original comment by Andrei.K...@gmail.com on 22 Feb 2012 at 11:23

GoogleCodeExporter commented 9 years ago
To say the truth - 1.3.3, as it is in /trunk, has been died. It will be 
overrided by 
"refactoring" brunch in the close future (now known as 1.4.0-dev).

Original comment by Alexander.V.Kasatkin@gmail.com on 22 Feb 2012 at 1:10