<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Unhandled exception when selecting remote server if parameters are null"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118622">118622</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unhandled exception when selecting remote server if parameters are null
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Android Viewer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>merttumer@outlook.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>