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

Change ComponentEvent data reference to Object

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: explorer-20.2.0
    • Component/s: Explorer

      Description

      To avoid compat issues with platform changes regarding Seralizable field ComponentEvent#data, change its type from Serializable to Object (see https://github.com/nuxeo/nuxeo/pull/4423/ relative to cleanup done with NXP-29801).

      For history, stack trace when using a released Explorer version referencing Serializable data (without revert with above PR):

      java.lang.NoSuchFieldError: data
          at org.nuxeo.apidoc.snapshot.SnapshotListener.handleEvent(SnapshotListener.java:100) ~[nuxeo-apidoc-core-20.1.0.jar:?]
          at org.nuxeo.runtime.model.impl.ComponentManagerImpl.sendEvent(ComponentManagerImpl.java:408) ~[nuxeo-runtime-11.4.12.jar:?]
          at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:498) ~[nuxeo-runtime-11.4.12.jar:?]
          at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponent(ComponentManagerImpl.java:579) ~[nuxeo-runtime-11.4.12.jar:?]
          at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponents(ComponentManagerImpl.java:544) ~[nuxeo-runtime-11.4.12.jar:?]
          at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:828) ~[nuxeo-runtime-11.4.12.jar:?]
      

      --> compat issue introduced with https://github.com/nuxeo/nuxeo/commit/55c22582c4f88309ddc34ce304722c3c22265c21#diff-e8aa14ccd56f64cc8f7a303efa9d55698e682b870f139d0d5d57a9f6c3496504R121

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m