Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-7103

Fix NPE on missing ConnectClient properties

    XMLWordPrintable

    Details

      Description

      When accessing the ConnectClient view page on account management, if some properties are missing, it will end up in a NPE.

      Caused by: java.lang.NullPointerException at com.nuxeo.connect.adapter.ClientDocumentAdapter.isExpired(ClientDocumentAdapter.java:490) ~[nuxeo-connect-plugin-2024.2. 0-19-g4abb99d7-imp-NXS-7059-Create-View-Designer-functional-tests.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at graphql.schema.PropertyDataFetcherHelper.getPropertyViaGetterUsingPrefix(PropertyDataFetcherHelper.java:108)

        Attachments

          Activity

            People

            • Assignee:
              fbematol Florian Bematol
              Reporter:
              fbematol Florian Bematol
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: