Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19535

Fix Live Connect for One Drive

    XMLWordPrintable

    Details

      Description

      nuxeo-liveconnect-1.1.1 for One Drive is broken. An exception is raised when trying to connect.

      2016-04-20 17:47:41,041 WARN  [http-bio-0.0.0.0-8080-exec-2] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] Exception in JAX-RS processing
      java.lang.IllegalArgumentException: key expires_in
              at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:880)
              at com.google.api.client.json.JsonParser.parse(JsonParser.java:381)
              at com.google.api.client.json.JsonParser.parse(JsonParser.java:354)
              at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:87)
              at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:81)
              at com.google.api.client.http.HttpResponse.parseAs(HttpResponse.java:459)
              at org.nuxeo.ecm.liveconnect.onedrive.oauth.OneDriveAuthorizationCodeTokenRequest.execute(OneDriveAuthorizationCodeTokenRequest.java:44)
              at org.nuxeo.ecm.platform.oauth2.providers.NuxeoOAuth2ServiceProvider.handleAuthorizationCallback(NuxeoOAuth2ServiceProvider.java:124)
              at org.nuxeo.ecm.webengine.oauth2.OAuth2Callback$1.run(OAuth2Callback.java:82)
              at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:117)
              at org.nuxeo.ecm.webengine.oauth2.OAuth2Callback.doGet(OAuth2Callback.java:88)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
              at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ObjectOutInvoker._dispatch(AbstractResourceMethodDispatchP
      rovider.java:258)
              at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJav
      
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: