Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3205

nuxeo client registration failed for partnersportal

    XMLWordPrintable

    Details

      Description

      Improve error handling when registration failed, and prevent NPE.

      See NXCONNECT-2247 for reproduction.

      Username: XXXXX@nuxeo.com
      
      Please enter your token: 
      Instance type (dev|preprod|prod): [dev] dev
      Description: partners
      Unhandled response code: 500
      Cannot execute command. null
      java.lang.NullPointerException: null
      	at org.nuxeo.connect.identity.LogicalInstanceIdentifier.<init>(LogicalInstanceIdentifier.java:85) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.connect.identity.LogicalInstanceIdentifier.<init>(LogicalInstanceIdentifier.java:80) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.connect.connector.service.ConnectGatewayComponent.localRegisterInstance(ConnectGatewayComponent.java:83) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.launcher.connect.ConnectRegistrationBroker.registerLocal(ConnectRegistrationBroker.java:53) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.launcher.connect.ConnectRegistrationBroker.registerRemote(ConnectRegistrationBroker.java:64) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.launcher.NuxeoLauncher.registerRemoteInstance(NuxeoLauncher.java:1625) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.launcher.NuxeoLauncher.registerRemoteInstance(NuxeoLauncher.java:1620) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.launcher.NuxeoLauncher.register(NuxeoLauncher.java:1528) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1261) ~[nuxeo-launcher-30777.jar:?]
      	at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1113) [nuxeo-launcher-30777.jar:?]
      logger_name com.nuxeo.connect.gateway.jaxrs.GatewayRoot
      mdc { 
      PathInfo /connect-gateway/remoteRegisterInstance
      

       

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: