[Libreoffice-bugs] [Bug 139350] Crash when create a new odg, ods, odp file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 22 11:56:59 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=139350

--- Comment #4 from Michael Weghorn <m.weghorn at posteo.de> ---
ADB log contains this (for the Writer case, similar for e.g. Calc):

03-22 12:54:25.009  8795  8795 I LibreOfficeMainActivity: onStop..
03-22 12:54:25.010  8795  8795 I LOKitTileProvider: cacheDocument:
/storage/emulated/0/Android/data/org.libreoffice/cache/lo_cached_swriter
03-22 12:54:25.012  8795  8795 D AndroidRuntime: Shutting down VM
03-22 12:54:25.013  8795  8795 E AndroidRuntime: FATAL EXCEPTION: main
03-22 12:54:25.013  8795  8795 E AndroidRuntime: Process: org.libreoffice, PID:
8795
03-22 12:54:25.013  8795  8795 E AndroidRuntime: java.lang.RuntimeException:
Unable to stop activity
{org.libreoffice/org.libreoffice.LibreOfficeMainActivity}:
java.lang.StringIndexOutOfBoundsException: length=0; index=1
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.ActivityThread.callActivityOnStop(ActivityThread.java:4755)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4726)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.ActivityThread.handleStopActivity(ActivityThread.java:4800)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:233)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2043)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.os.Handler.dispatchMessage(Handler.java:106)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.os.Looper.loop(Looper.java:216)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.ActivityThread.main(ActivityThread.java:7464)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
java.lang.reflect.Method.invoke(Native Method)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:549)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955)
03-22 12:54:25.013  8795  8795 E AndroidRuntime: Caused by:
java.lang.StringIndexOutOfBoundsException: length=0; index=1
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
java.lang.String.substring(String.java:2027)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
org.libreoffice.LOKitTileProvider.cacheDocument(LOKitTileProvider.java:410)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
org.libreoffice.LibreOfficeMainActivity.onStop(LibreOfficeMainActivity.java:518)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1476)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.Activity.performStop(Activity.java:8205)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        at
android.app.ActivityThread.callActivityOnStop(ActivityThread.java:4747)
03-22 12:54:25.013  8795  8795 E AndroidRuntime:        ... 13 more
03-22 12:54:25.015  1791  1791 E servicemanager: Could not find
android.hardware.power.IPower/default in the VINTF manifest.
03-22 12:54:25.018  2247  2599 W ActivityTaskManager:   Force finishing
activity org.libreoffice/.ui.LibreOfficeUIActivity

(This is with a self-compiled git master as of commit
1bf8f4569502b7900c51f2e238acda6567c96281

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210322/93f9a278/attachment.htm>


More information about the Libreoffice-bugs mailing list