[Libreoffice-bugs] [Bug 118622] New: Unhandled exception when selecting remote server if parameters are null

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 8 14:54:32 UTC 2018


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

            Bug ID: 118622
           Summary: Unhandled exception when selecting remote server if
                    parameters are null
           Product: LibreOffice
           Version: 6.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Android Viewer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: merttumer at outlook.com

Description:
Unhandled exception occurs when selecting remote server if parameters like host
is empty

Actual Results:
07-08 17:48:05.625 12033-12094/org.example.libreoffice
E/ReadRemoteFileOperation: Synchronizing  file /: Unexpected exception
    java.lang.IllegalArgumentException: host parameter is null
        at
org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:206)
        at
org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:155)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionWithReference.<init>(MultiThreadedHttpConnectionManager.java:1145)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.createConnection(MultiThreadedHttpConnectionManager.java:762)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:476)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at
com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:217)
        at
com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:187)
        at
com.owncloud.android.lib.resources.files.ReadRemoteFileOperation.run(ReadRemoteFileOperation.java:82)
        at
com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:130)
        at
org.libreoffice.storage.owncloud.OwnCloudProvider.createFromUri(OwnCloudProvider.java:84)
        at
org.libreoffice.storage.owncloud.OwnCloudProvider.getRootDirectory(OwnCloudProvider.java:77)
        at
org.libreoffice.ui.LibreOfficeUIActivity$4.doInBackground(LibreOfficeUIActivity.java:435)
        at
org.libreoffice.ui.LibreOfficeUIActivity$4.doInBackground(LibreOfficeUIActivity.java:428)
        at android.os.AsyncTask$2.call(AsyncTask.java:333)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)

Expected Results:
handled exception like alerting ui like theres no host given


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20180708/8cf250bc/attachment.html>


More information about the Libreoffice-bugs mailing list