Bug 89215 - Unable to open Impress document
Summary: Unable to open Impress document
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other Android
: medium major
Assignee: Not Assigned
URL:
Whiteboard: target:6.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-07 22:49 UTC by Steve
Modified: 2018-04-03 11:00 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Presentation with links to videos. (6.23 MB, application/vnd.oasis.opendocument.presentation)
2015-02-07 22:49 UTC, Steve
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve 2015-02-07 22:49:35 UTC
Created attachment 113215 [details]
Presentation with links to videos.

Since latest release on 5th February 2015, I can no longer open my Impress document. This document opened okay with previous build. Document attached. No other files were open.
Comment 1 Robinson Tryon (qubit) 2015-02-08 01:20:48 UTC
(In reply to Steve from comment #0)
> Since latest release on 5th February 2015, I can no longer open my Impress
> document. This document opened okay with previous build. Document attached.
> No other files were open.

TESTING with LO 4.4.0.3 + Ubuntu 14.04, I can open attachment 113215 [details] without any errors.

TESTING on Android, I'm having problems downloading the presentation file. Could you please try to trim-down the size of the presentation file and see if still has problems opening?

Status -> NEEDINFO

(Please change status of the bug back to UNCONFIRMED after you try trimming-down the file. Thanks!)
Comment 2 Robinson Tryon (qubit) 2015-02-08 01:36:29 UTC
(In reply to Robinson Tryon (qubit) from comment #1)
> (In reply to Steve from comment #0)
> > Since latest release on 5th February 2015, I can no longer open my Impress
> > document. This document opened okay with previous build. Document attached.
> > No other files were open.
> 
> TESTING with LO 4.4.0.3 + Ubuntu 14.04, I can open attachment 113215 [details]
> [details] without any errors.
> 
> TESTING on Android, I'm having problems downloading the presentation file.

Just copied the file directly to my device.

Testing with Android 4.4.4 + LO Viewer from F-Droid
Version 4.5.0.0.alpha0+/7f68f67 - Added on 2015-02-06

The first slide opens, but I can't seem to move to the 2nd slide, edit notes, etc, so
Status -> NEW
Comment 3 Robinson Tryon (qubit) 2015-02-08 08:14:55 UTC
(In reply to Robinson Tryon (qubit) from comment #2)
> Testing with Android 4.4.4 + LO Viewer from F-Droid
> Version 4.5.0.0.alpha0+/7f68f67 - Added on 2015-02-06
> 
> The first slide opens, but I can't seem to move to the 2nd slide, edit
> notes, etc

This document now opens for me (albeit a bit slowly), and navigation works as well.
https://wiki.documentfoundation.org/Documentation/Android#Impress

Steve: How are you installing LibreOffice (Google Play, F-Droid, etc..)?

Status -> NEEDINFO
Comment 4 Mike Kaganski 2015-04-24 06:45:06 UTC
Reproducible with Version: 4.5.0.0.alpha0+
Build ID: 6ef2c67 (Google Play)

under Android 4.3 on GT-I9300

(In reply to Robinson Tryon (qubit) from comment #3)
Maybe memory issue? I have a total of ~831 MB, ~180 free before opening
Comment 5 raal 2015-11-01 21:16:01 UTC
Crash when opening this file
Version: 5.1.0.0.alpha1+
Build ID: 8dc648d

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.example.libreoffice/org.libreoffice.ui.LibreOfficeUIActivity}: java.lang.NullPointerException
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
	at android.app.ActivityThread.access$800(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
	at android.os.Handler.dispatchMessage(Handler.java)
	at android.os.Looper.loop(Looper.java)
	at android.app.ActivityThread.main(ActivityThread.java)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
	at org.libreoffice.ui.LibreOfficeUIActivity.onRestoreInstanceState(LibreOfficeUIActivity.java:629)
	at android.app.Activity.performRestoreInstanceState(Activity.java)
	at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java)
	... 12 more
Comment 6 QA Administrators 2016-11-08 12:02:41 UTC Comment hidden (obsolete)
Comment 7 Commit Notification 2018-01-29 14:24:31 UTC
Christian Lohmaier committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=2ff6afcce2c4df59d81f9d07cd9b7ffda00da479

tdf#89215 only process state changes after TileProvider is ready

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Xisco Faulí 2018-03-01 10:04:30 UTC
A polite ping to Christian Lohmaier: is this bug fixed? if so, could you
please close it as RESOLVED FIXED ? Thanks
Comment 9 Xisco Faulí 2018-04-03 11:00:46 UTC
(In reply to Xisco Faulí from comment #8)
> A polite ping to Christian Lohmaier: is this bug fixed? if so, could you
> please close it as RESOLVED FIXED ? Thanks

Closing this one.
Thanks Christian Lohmaier for the fix!