Uploaded image for project: 'Browser Developer Extensions'
  1. Browser Developer Extensions
  2. BDE-221

Usage of deprecated API removed in 2023.x breaks hot reload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.1.5
    • Component/s: Base Code

      Description

      Framework.getLocalService() was removed in 2023.x

      nuxeo-presales-docker-nuxeo-1  | Caused by: groovy.lang.MissingMethodException: No signature of method: static org.nuxeo.runtime.api.Framework.getLocalService() is applicable for argument types: (java.lang.Class) values: [interface org.nuxeo.connect.packages.PackageManager]
      nuxeo-presales-docker-nuxeo-1  | Possible solutions: getService(java.lang.Class)
      nuxeo-presales-docker-nuxeo-1  | 	at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1518) ~[groovy-all-2.4.21.jar:2.4.21]
      nuxeo-presales-docker-nuxeo-1  | 	at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1504) ~[groovy-all-2.4.21.jar:2.4.21]
      nuxeo-presales-docker-nuxeo-1  | 	at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:52) ~[groovy-all-2.4.21.jar:2.4.21]
      nuxeo-presales-docker-nuxeo-1  | 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) ~[groovy-all-2.4.21.jar:2.4.21]
      nuxeo-presales-docker-nuxeo-1  | 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) ~[groovy-all-2.4.21.jar:2.4.21]
      nuxeo-presales-docker-nuxeo-1  | 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) ~[groovy-all-2.4.21.jar:2.4.21]
      nuxeo-presales-docker-nuxeo-1  | 	at script16760160084982137485462.run(script16760160084982137485462.groovy:5) ~[?:?]
      nuxeo-presales-docker-nuxeo-1  | 	at org.nuxeo.ecm.automation.core.scripting.Scripting$GroovyScript.eval(Scripting.java:171) ~[nuxeo-automation-core-2023.0.85.jar:?]
      nuxeo-presales-docker-nuxeo-1  | 	at org.nuxeo.ecm.automation.core.operations.RunInputScript.run(RunInputScript.java:61) ~[nuxeo-automation-core-2023.0.85.jar:?]
      nuxeo-presales-docker-nuxe
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: