Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19298

Upgrade fasterxml to 2.17.0

XMLWordPrintable

    • Icon: Component Upgrade Component Upgrade
    • Resolution: Done
    • Icon: Major Major
    • 34.0.0.Beta1, 34.0.0.Final
    • 32.0.0.Final
    • None
    • None

      New version of wildfly-channels upgraded fasterxml library to 2.17.0.

      When installing prospero alongside WildFly server, this brings com.fasterxml.jackson.dataformat:jackson-dataformat-yaml dependency which causes conflict:

      16:25:32,525 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("prepare-revert") failed - address: ([("core-service" => "installer")]): java.lang.NoSuchMethodError: 'void com.fasterxml.jackson.core.base.GeneratorBase.<init>(int, com.fasterxml.jackson.core.ObjectCodec, com.fasterxml.jackson.core.io.IOContext)'
      	at org.jboss.prospero//com.fasterxml.jackson.dataformat.yaml.YAMLGenerator.<init>(YAMLGenerator.java:299)
      	at org.jboss.prospero//com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createGenerator(YAMLFactory.java:532)
      	at org.jboss.prospero//com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createGenerator(YAMLFactory.java:481)
      	at org.jboss.prospero//com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createGenerator(YAMLFactory.java:15)
      	at com.fasterxml.jackson.core.jackson-databind@2.15.4//com.fasterxml.jackson.databind.ObjectMapper.createGenerator(ObjectMapper.java:1215)
      	at com.fasterxml.jackson.core.jackson-databind@2.15.4//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3947)
      	at org.jboss.prospero//org.wildfly.channel.ChannelManifestMapper.toYaml(ChannelManifestMapper.java:85)
      	at org.jboss.prospero//org.wildfly.prospero.galleon.GalleonEnvironment.replaceManifestWithRestoreManifests(GalleonEnvironment.java:174)
      	at org.jboss.prospero//org.wildfly.prospero.galleon.GalleonEnvironment.<init>(GalleonEnvironment.java:92)
      	at org.jboss.prospero//org.wildfly.prospero.galleon.GalleonEnvironment$Builder.build(GalleonEnvironment.java:342)
      	at org.jboss.prospero//org.wildfly.prospero.actions.InstallationHistoryAction.prepareRevert(InstallationHistoryAction.java:126)
      	at org.jboss.prospero//org.wildfly.prospero.spi.ProsperoInstallationManager.prepareRevert(ProsperoInstallationManager.java:109)
      	at org.wildfly.installation-manager@24.0.0.Beta4-SNAPSHOT//org.wildfly.core.instmgr.InstMgrPrepareRevertHandler$1.execute(InstMgrPrepareRevertHandler.java:140)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1057)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:778)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:469)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1435)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:436)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.lambda$executeForResponse$0(ModelControllerImpl.java:246)
      	at org.wildfly.security.elytron-base@2.4.0.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304)
      	at org.wildfly.security.elytron-base@2.4.0.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.executeForResponse(ModelControllerImpl.java:246)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.executeOperation(ModelControllerImpl.java:240)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:223)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:228)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:150)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:146)
      	at org.wildfly.security.elytron-base@2.4.0.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:328)
      	at org.wildfly.security.elytron-base@2.4.0.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:285)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:237)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:208)
      	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:146)
      	at org.jboss.as.protocol@24.0.0.Beta4-SNAPSHOT//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:59)
      	at org.jboss.as.protocol@24.0.0.Beta4-SNAPSHOT//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:149)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at java.base/java.lang.Thread.run(Thread.java:1570)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
      

              spyrkob Bartosz Spyrko-Smietanko
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: