-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: NCC-1.4.24.4
-
Component/s: nuxeo-connect-client
-
Tags:
-
Team:NOS
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