Bug 96112 - Since 5.1.0.0 alpha1+ can not open odt files on owncloud - '@' in folder name (crash)
Summary: Since 5.1.0.0 alpha1+ can not open odt files on owncloud - '@' in folder name...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
5.1.0.0.alpha1
Hardware: ARM Android
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-28 01:56 UTC by PeterSHarris
Modified: 2018-05-18 11:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PeterSHarris 2015-11-28 01:56:09 UTC

    
Comment 1 PeterSHarris 2015-11-28 02:03:46 UTC
Since the above alpha version of 5.1.0.0 I have not been able to open even simple LibreOffice files.

All that happens is that the file is selected and some time is spent waiting for the file to load and then it reverts to the file selection screen.

Just to clarify, the above version is the last one that I have that will open files. Since then I have downloaded many nightly compilations and none have worked.

If my information is correct, the above version was compiled last July.

I am using a Samsung Galaxy S5 with Android 5.0.

Thank you everyone for your efforts.
Comment 2 raal 2015-11-29 08:57:16 UTC
Tested today with version from here: http://dev-builds.libreoffice.org/daily/master/Android-ARM@24-Bytemark-Hosting/current/    and I can open files without problem.
Comment 3 PeterSHarris 2015-11-29 19:30:32 UTC
Thanks for your response.

You use the same nightly download site as I do.

Even following your link has the same result: unable to load and display .odt file.

Have tried trying deleting cache and data files, then uninstalling and reinstalling. No better.

Are you using a different version of Android?
Comment 4 raal 2015-11-29 20:09:24 UTC
I have android 4.4.4

Please attach test file.
Comment 5 PeterSHarris 2015-11-29 20:35:50 UTC
Since my last post I have discovered that the small test .odt documents I have been using load if they are in the standard Documents folder of the "Internal" card.

I had been continually using the Documents sub-folder of my local ownCloud folder also in the "Internal" card. The pathway contains an intermediate folder which has an email address as a folder name. Documents in the local ownCloud folder loaded using alpha version of 5.1.0.0. But not since then.
Comment 6 raal 2016-05-07 15:54:29 UTC
I can confirm with 5.2

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.example.libreoffice/org.libreoffice.ui.LibreOfficeUIActivity}: java.lang.IllegalArgumentException: URI is not absolute: /ggg@ddd.jj/
	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.IllegalArgumentException: URI is not absolute: /ggg@ddd.jj/
	at java.io.File.checkURI(File.java:220)
	at java.io.File.<init>(File.java:177)
	at org.libreoffice.storage.local.LocalFile.<init>(LocalFile.java:33)
	at org.libreoffice.storage.local.LocalDocumentsProvider.createFromUri(LocalDocumentsProvider.java:39)
	at org.libreoffice.ui.LibreOfficeUIActivity.onRestoreInstanceState(LibreOfficeUIActivity.java:636)
	at android.app.Activity.performRestoreInstanceState(Activity.java)
	at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java)
	... 12 more

Version: 5.2.0.0.alpha1+
Build ID: d223aa5
Comment 7 QA Administrators 2017-05-22 13:39:30 UTC Comment hidden (obsolete)
Comment 8 Christian Lohmaier 2017-12-19 09:03:28 UTC
poke to make bots happy
Comment 9 Mert Tumer 2018-05-18 11:46:47 UTC
https://gerrit.libreoffice.org/#/c/27634/