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

Fix connect client failure when CLID isn't validated in admin center

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.0
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Connect

      Description

      When a CLID is looking like this:

      b1c37e6c-210a-44a1-bb09-03d6ad4782b202046df8-4407-425d-9fb6-92c25f02c4f5
      

      without line feed and without

      user's dev instance
      

      It causes the following failure when clicking on "Nuxeo Connect" in admin center

      Caused by: javax.el.ELException: Error reading 'status' on type org.nuxeo.connect.client.jsf.ConnectStatusActionBean_$$_javassist_seam_30
      	at javax.el.BeanELResolver.getValue(BeanELResolver.java:110)
      	at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
      	at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
      	at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
      	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      	at org.jboss.el.parser.AstNot.getValue(AstNot.java:26)
      	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
      	... 292 more
      Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
      	at java.util.ArrayList.rangeCheck(ArrayList.java:638)
      	at java.util.ArrayList.get(ArrayList.java:414)
      	at org.nuxeo.connect.identity.LogicalInstanceIdentifier.load(LogicalInstanceIdentifier.java:202)
      	at org.nuxeo.connect.identity.LogicalInstanceIdentifier.load(LogicalInstanceIdentifier.java:210)
      	at org.nuxeo.connect.identity.LogicalInstanceIdentifier.instance(LogicalInstanceIdentifier.java:169)
      	at org.nuxeo.connect.identity.LogicalInstanceIdentifier.isRegistered(LogicalInstanceIdentifier.java:239)
      	at org.nuxeo.connect.connector.service.ConnectGatewayComponent.isInstanceRegistred(ConnectGatewayComponent.java:76)
      	at org.nuxeo.connect.client.status.ConnectStatusHolder.isRegistred(ConnectStatusHolder.java:57)
      	at org.nuxeo.connect.client.status.ConnectStatusHolder.getStatus(ConnectStatusHolder.java:89)
      	at org.nuxeo.connect.client.status.ConnectStatusHolder.getStatus(ConnectStatusHolder.java:63)
      	at org.nuxeo.connect.client.jsf.ConnectStatusActionBean.getStatus(ConnectStatusActionBean.java:155)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: