New Google Spreadsheets cannot be displayed using Google Spreadsheet Macro in Confluence

XMLWordPrintable

      **Summary**
      Newly created spreadsheet in Google cannot be displayed using the Google Spreadsheet macro. Error thrown as below

      java.lang.RuntimeException: java.lang.IllegalArgumentException: Trying to set foreign cookie
          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1137)
      caused by: java.lang.IllegalArgumentException: Trying to set foreign cookie
          at com.google.gdata.client.http.GoogleGDataRequest$GoogleCookie.<init>(GoogleGDataRequest.java:166)
      

      **Steps to reproduce**

      1. Create a new spreadsheet in Google Drive (Spreadsheet X)
      2. Login to OnDemand instance, <hostname>.atlassian.net with Google SSO
      3. Go to Confluence
      4. Create Page
      5. Insert Google Spreadsheet macro
      6. Choose file, spreadsheet X
      7. Observe that the error will be displayed in the preview
      8. Save

      **Expected Behaviour**
      The spreadsheet is display in the Confluence page

      **Current Behaviour**

        1. error.png
          57 kB
          Nursihah Amir

            Assignee:
            Unassigned
            Reporter:
            Nursihah Amir (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: