Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12005

NullPointerException when saving an oauth connection description

XMLWordPrintable

    • % %
    • +
    • Automated
    • Hide

      1. Create any oauth connection (twitter, salesforce)
      2. view the connection
      3. edit the description
      4. click to save the new description

      There is a NullPointerException on server log and there is a browser notification "Unexpected server error saving the connection."

      Show
      1. Create any oauth connection (twitter, salesforce) 2. view the connection 3. edit the description 4. click to save the new description There is a NullPointerException on server log and there is a browser notification "Unexpected server error saving the connection."
    • Fuse 7.5 Sprint 54 - Interim

      There is a NullPointerException when trying to save the description of an oauth connection (twitter, salesforce).

      Apparently it tries to retrieve the new tokens, but as there are no new tokens, hence the NPE.

      After the popup notification, click again on the save icon, the new description is saved.

      java.lang.NullPointerException: null
              at io.syndesis.server.credential.OAuth1Applicator.applyTo(OAuth1Applicator.java:49) ~[server-credential-1.9-SNAPSHOT.jar!/:1.9-SNAPSHOT]
              at io.syndesis.server.credential.OAuth1Applicator.applyTo(OAuth1Applicator.java:25) ~[server-credential-1.9-SNAPSHOT.jar!/:1.9-SNAPSHOT]
              at io.syndesis.server.credential.OAuth1CredentialProvider.applyTo(OAuth1CredentialProvider.java:72) ~[server-credential-1.9-SNAPSHOT.jar!/:1.9-SNAPSHOT]
              at io.syndesis.server.credential.Credentials.apply(Credentials.java:91) ~[server-credential-1.9-SNAPSHOT.jar!/:1.9-SNAPSHOT]
              at io.syndesis.server.endpoint.v1.handler.connection.ConnectionHandler.lambda$applyCredentialFlowStateTo$2(ConnectionHandler.java:194) ~[server-endpoint-1.9-SNAPSHOT.jar!/:1.9-SNAPSHOT]
              at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_181]
              at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812) ~[na:1.8.0_181]
              at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[na:1.8.0_181]
              at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498) ~[na:1.8.0_181]
              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) ~[na:1.8.0_181]
              at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_181]
              at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) ~[na:1.8.0_181]
              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_181]
              at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) ~[na:1.8.0_181]
              at io.syndesis.server.endpoint.v1.handler.connection.ConnectionHandler.applyCredentialFlowStateTo(ConnectionHandler.java:195) ~[server-endpoint-1.9-SNAPSHOT.jar!/:1.9-SNAPSHOT]
              at io.syndesis.server.endpoint.v1.handler.connection.ConnectionHandler.update(ConnectionHandler.java:221) ~[server-endpoint-1.9-SNAPSHOT.jar!/:1.9-SNAPSHOT]
      

            cmiranda@redhat.com Claudio Miranda
            cmiranda@redhat.com Claudio Miranda
            Matej Kralik Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: