Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In release 2.27.2 Jackons was erroneously downgraded, which causes issues in Menas #2204

Open
benedeki opened this issue Dec 14, 2023 · 0 comments
Assignees
Labels
bug Something isn't working Menas Menas component affected priority: high Critical to the health of the project

Comments

@benedeki
Copy link
Collaborator

Describe the bug

In release 2.27.2 Jackons was erroneously downgraded, which causes issues in Menas

To Reproduce

Steps to reproduce the behavior OR commands run:

  1. Deploys Menas 2.27.1 to Tomcat
  2. See error

Expected behavior

Menas works

Log

[INFO]  2023-12-13 17:45:25,953 [main] org.apache.spark.SparkContext - Running Spark version 2.4.4
[WARN]  2023-12-13 17:45:26,170 [main] org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[INFO]  2023-12-13 17:45:26,251 [main] org.apache.spark.SparkContext - Submitted application: Menas Spark controller
[INFO]  2023-12-13 17:45:26,345 [main] org.apache.spark.SecurityManager - Changing view acls to: tomcat
[INFO]  2023-12-13 17:45:26,346 [main] org.apache.spark.SecurityManager - Changing modify acls to: tomcat
[INFO]  2023-12-13 17:45:26,347 [main] org.apache.spark.SecurityManager - Changing view acls groups to:
[INFO]  2023-12-13 17:45:26,347 [main] org.apache.spark.SecurityManager - Changing modify acls groups to:
[INFO]  2023-12-13 17:45:26,348 [main] org.apache.spark.SecurityManager - SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(tomcat); groups with view permissions: Set(); users  with modify permissions: Set(tomcat); groups with modify permissions: Set()
[INFO]  2023-12-13 17:45:26,677 [main] org.apache.spark.util.Utils - Successfully started service 'sparkDriver' on port 11986.
[INFO]  2023-12-13 17:45:26,705 [main] org.apache.spark.SparkEnv - Registering MapOutputTracker
[INFO]  2023-12-13 17:45:26,734 [main] org.apache.spark.SparkEnv - Registering BlockManagerMaster
[INFO]  2023-12-13 17:45:26,737 [main] org.apache.spark.storage.BlockManagerMasterEndpoint - Using org.apache.spark.storage.DefaultTopologyMapper for getting topology information
[INFO]  2023-12-13 17:45:26,738 [main] org.apache.spark.storage.BlockManagerMasterEndpoint - BlockManagerMasterEndpoint up
[INFO]  2023-12-13 17:45:26,756 [main] org.apache.spark.storage.DiskBlockManager - Created local directory at /opt/apache-tomcat-9.0.76/temp/blockmgr-a182e563-5c1b-432d-8ca0-b74f7eeaa236
[INFO]  2023-12-13 17:45:26,783 [main] org.apache.spark.storage.memory.MemoryStore - MemoryStore started with capacity 996.6 MB
[INFO]  2023-12-13 17:45:26,809 [main] org.apache.spark.SparkEnv - Registering OutputCommitCoordinator
[INFO]  2023-12-13 17:45:26,937 [main] org.apache.spark.executor.Executor - Starting executor ID driver on host localhost
[INFO]  2023-12-13 17:45:26,963 [main] org.apache.spark.util.Utils - Successfully started service 'org.apache.spark.network.netty.NettyBlockTransferService' on port 16969.
[INFO]  2023-12-13 17:45:26,964 [main] org.apache.spark.network.netty.NettyBlockTransferService - Server created on zausdcrweb0022.corp.dsarena.com:16969
[INFO]  2023-12-13 17:45:26,966 [main] org.apache.spark.storage.BlockManager - Using org.apache.spark.storage.RandomBlockReplicationPolicy for block replication policy
[INFO]  2023-12-13 17:45:27,001 [main] org.apache.spark.storage.BlockManagerMaster - Registering BlockManager BlockManagerId(driver, zausdcrweb0022.corp.dsarena.com, 16969, None)
[INFO]  2023-12-13 17:45:27,005 [dispatcher-event-loop-0] org.apache.spark.storage.BlockManagerMasterEndpoint - Registering block manager zausdcrweb0022.corp.dsarena.com:16969 with 996.6 MB RAM, BlockManagerId(driver, zausdcrweb0022.corp.dsarena.com, 16969, None)
[INFO]  2023-12-13 17:45:27,009 [main] org.apache.spark.storage.BlockManagerMaster - Registered BlockManager BlockManagerId(driver, zausdcrweb0022.corp.dsarena.com, 16969, None)
[INFO]  2023-12-13 17:45:27,010 [main] org.apache.spark.storage.BlockManager - Initialized BlockManager: BlockManagerId(driver, zausdcrweb0022.corp.dsarena.com, 16969, None)
[INFO]  2023-12-13 17:45:27,057 [main] org.spark_project.jetty.util.log - Logging initialized @17027ms
[INFO]  2023-12-13 17:45:27,237 [main] org.apache.spark.sql.internal.SharedState - Setting hive.metastore.warehouse.dir ('null') to the value of spark.sql.warehouse.dir ('file:/opt/apache-tomcat-9.0.76/spark-warehouse').
[INFO]  2023-12-13 17:45:27,238 [main] org.apache.spark.sql.internal.SharedState - Warehouse path is 'file:/opt/apache-tomcat-9.0.76/spark-warehouse'.
[INFO]  2023-12-13 17:45:27,810 [main] org.apache.spark.sql.execution.streaming.state.StateStoreCoordinatorRef - Registered StateStoreCoordinator endpoint
[INFO]  2023-12-13 17:45:27,857 [main] za.co.absa.enceladus.menas.HDFSConfig$$EnhancerBySpringCGLIB$$9f35dcff - Using hadoop configuration from /opt/hadoop_chewbacca
[INFO]  2023-12-13 17:45:27,871 [main] za.co.absa.enceladus.menas.HDFSConfig$$EnhancerBySpringCGLIB$$9f35dcff - Requested hadoop authentication: 'krb5'
[INFO]  2023-12-13 17:45:27,871 [main] za.co.absa.enceladus.menas.HDFSConfig$$EnhancerBySpringCGLIB$$9f35dcff - Using kerberos hadoop authentication
[INFO]  2023-12-13 17:45:27,942 [main] org.apache.hadoop.security.UserGroupInformation - Login successful for user svc-dedcet@CORP.DSARENA.COM using keytab file /opt/security_conf/krb/svc-dedcet.keytab
[WARN]  2023-12-13 17:45:28,520 [main] org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory - The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.
[INFO]  2023-12-13 17:45:28,681 [main] org.mongodb.driver.cluster - Cluster created with settings {hosts=[zajhb270cmon003.corp.dsarena.com:27017, zajhb270cmon004.corp.dsarena.com:27017, zajhbsdccmon002.corp.dsarena.com:27017], mode=MULTIPLE, requiredClusterType=REPLICA_SET, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500, requiredReplicaSetName='cibconf'}
[INFO]  2023-12-13 17:45:28,682 [main] org.mongodb.driver.cluster - Adding discovered server zajhb270cmon003.corp.dsarena.com:27017 to client view of cluster
[INFO]  2023-12-13 17:45:28,716 [main] org.mongodb.driver.cluster - Adding discovered server zajhb270cmon004.corp.dsarena.com:27017 to client view of cluster
[INFO]  2023-12-13 17:45:28,724 [main] org.mongodb.driver.cluster - Adding discovered server zajhbsdccmon002.corp.dsarena.com:27017 to client view of cluster
[INFO]  2023-12-13 17:45:28,912 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhb270cmon003.corp.dsarena.com:27017] org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:4260926}] to zajhb270cmon003.corp.dsarena.com:27017
[INFO]  2023-12-13 17:45:28,915 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhb270cmon004.corp.dsarena.com:27017] org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:4255639}] to zajhb270cmon004.corp.dsarena.com:27017
[INFO]  2023-12-13 17:45:28,924 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhbsdccmon002.corp.dsarena.com:27017] org.mongodb.driver.connection - Opened connection [connectionId{localValue:3, serverValue:12884582}] to zajhbsdccmon002.corp.dsarena.com:27017
[INFO]  2023-12-13 17:45:28,928 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhb270cmon004.corp.dsarena.com:27017] org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=zajhb270cmon004.corp.dsarena.com:27017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 10]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=4205227, setName='cibconf', canonicalAddress=zajhb270cmon004.corp.dsarena.com:27017, hosts=[zajhb270cmon003.corp.dsarena.com:27017, zajhbsdccmon002.corp.dsarena.com:27017, zajhb270cmon004.corp.dsarena.com:27017], passives=[], arbiters=[], primary='zajhbsdccmon002.corp.dsarena.com:27017', tagSet=TagSet{[]}, electionId=null, setVersion=62481, lastWriteDate=Wed Dec 13 15:45:47 UTC 2023, lastUpdateTimeNanos=442490293767271}
[INFO]  2023-12-13 17:45:28,934 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhbsdccmon002.corp.dsarena.com:27017] org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=zajhbsdccmon002.corp.dsarena.com:27017, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 10]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=9835746, setName='cibconf', canonicalAddress=zajhbsdccmon002.corp.dsarena.com:27017, hosts=[zajhb270cmon003.corp.dsarena.com:27017, zajhbsdccmon002.corp.dsarena.com:27017, zajhb270cmon004.corp.dsarena.com:27017], passives=[], arbiters=[], primary='zajhbsdccmon002.corp.dsarena.com:27017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000087, setVersion=62481, lastWriteDate=Wed Dec 13 15:45:47 UTC 2023, lastUpdateTimeNanos=442490300519966}
[INFO]  2023-12-13 17:45:28,935 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhbsdccmon002.corp.dsarena.com:27017] org.mongodb.driver.cluster - Setting max election id to 7fffffff0000000000000087 from replica set primary zajhbsdccmon002.corp.dsarena.com:27017
[INFO]  2023-12-13 17:45:28,935 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhbsdccmon002.corp.dsarena.com:27017] org.mongodb.driver.cluster - Setting max set version to 62481 from replica set primary zajhbsdccmon002.corp.dsarena.com:27017
[INFO]  2023-12-13 17:45:28,935 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhbsdccmon002.corp.dsarena.com:27017] org.mongodb.driver.cluster - Discovered replica set primary zajhbsdccmon002.corp.dsarena.com:27017
[INFO]  2023-12-13 17:45:28,935 [cluster-ClusterId{value='6579d1987f174c0448ac4499', description='null'}-zajhb270cmon003.corp.dsarena.com:27017] org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=zajhb270cmon003.corp.dsarena.com:27017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 10]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=22124696, setName='cibconf', canonicalAddress=zajhb270cmon003.corp.dsarena.com:27017, hosts=[zajhb270cmon003.corp.dsarena.com:27017, zajhbsdccmon002.corp.dsarena.com:27017, zajhb270cmon004.corp.dsarena.com:27017], passives=[], arbiters=[], primary='zajhbsdccmon002.corp.dsarena.com:27017', tagSet=TagSet{[]}, electionId=null, setVersion=62481, lastWriteDate=Wed Dec 13 15:45:47 UTC 2023, lastUpdateTimeNanos=442490301276993}
[WARN]  2023-12-13 17:45:29,319 [main] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpPutFormContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: Factory method 'httpPutFormContentFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
[INFO]  2023-12-13 17:45:29,336 [dispatcher-event-loop-1] org.apache.spark.MapOutputTrackerMasterEndpoint - MapOutputTrackerMasterEndpoint stopped!
[INFO]  2023-12-13 17:45:29,345 [main] org.apache.spark.storage.memory.MemoryStore - MemoryStore cleared
[INFO]  2023-12-13 17:45:29,346 [main] org.apache.spark.storage.BlockManager - BlockManager stopped
[INFO]  2023-12-13 17:45:29,355 [main] org.apache.spark.storage.BlockManagerMaster - BlockManagerMaster stopped
[INFO]  2023-12-13 17:45:29,360 [dispatcher-event-loop-1] org.apache.spark.scheduler.OutputCommitCoordinator$OutputCommitCoordinatorEndpoint - OutputCommitCoordinator stopped!
[INFO]  2023-12-13 17:45:29,365 [main] org.apache.spark.SparkContext - Successfully stopped SparkContext
[INFO]  2023-12-13 17:45:29,377 [main] org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener -

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[ERROR]  2023-12-13 17:45:29,379 [main] org.springframework.boot.SpringApplication - Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpPutFormContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: Factory method 'httpPutFormContentFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
  at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:155)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
  at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
  at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:388)
  at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:155)
  at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:135)
  at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:87)
  at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4936)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
  at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1023)
  at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1910)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
  at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
  at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:824)
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1617)
  at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
  at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
  at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:893)
  at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:795)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1328)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1318)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
  at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:866)
  at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:249)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.StandardService.startInternal(StandardService.java:428)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:923)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpPutFormContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: Factory method 'httpPutFormContentFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
  at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1245)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
  at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:226)
  at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:182)
  at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:177)
  at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAdaptableBeans(ServletContextInitializerBeans.java:159)
  at org.springframework.boot.web.servlet.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:80)
  at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:250)
  at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:237)
  at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
  at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152)
  ... 49 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: Factory method 'httpPutFormContentFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
  at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
  at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:583)
  ... 66 more
Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
  at org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter.<init>(AllEncompassingFormHttpMessageConverter.java:74)
  at org.springframework.web.filter.HttpPutFormContentFilter.<init>(HttpPutFormContentFilter.java:64)
  at org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter.<init>(OrderedHttpPutFormContentFilter.java:29)
  at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.httpPutFormContentFilter(WebMvcAutoConfiguration.java:163)
  at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$$EnhancerBySpringCGLIB$$9b1b8eb0.CGLIB$httpPutFormContentFilter$0(<generated>)
  at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$$EnhancerBySpringCGLIB$$9b1b8eb0$$FastClassBySpringCGLIB$$44dfb1fc.invoke(<generated>)
  at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:365)
  at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$$EnhancerBySpringCGLIB$$9b1b8eb0.httpPutFormContentFilter(<generated>)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
  ... 67 more
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException
  at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)
  at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
  ... 81 more
13-Dec-2023 17:45:29.383 SEVERE [main] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/opt/apache-tomcat-9.0.76/webapps/menas.war]
  java.lang.IllegalStateException: Error starting child
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:686)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1023)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1910)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:824)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1617)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
    at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:893)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:795)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1328)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1318)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:866)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:249)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:428)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:923)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478)
  Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/menas]]
    at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683)
    ... 37 more
  Caused by: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpPutFormContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: Factory method 'httpPutFormContentFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:155)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:388)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
    at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:155)
    at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:135)
    at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:87)
    at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4936)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    ... 38 more
  Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpPutFormContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: Factory method 'httpPutFormContentFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1245)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
    at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:226)
    at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:182)
    at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:177)
    at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAdaptableBeans(ServletContextInitializerBeans.java:159)
    at org.springframework.boot.web.servlet.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:80)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:250)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:237)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152)
    ... 49 more
  Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: Factory method 'httpPutFormContentFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:583)
    ... 66 more
  Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
    at org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter.<init>(AllEncompassingFormHttpMessageConverter.java:74)
    at org.springframework.web.filter.HttpPutFormContentFilter.<init>(HttpPutFormContentFilter.java:64)
    at org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter.<init>(OrderedHttpPutFormContentFilter.java:29)
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.httpPutFormContentFilter(WebMvcAutoConfiguration.java:163)
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$$EnhancerBySpringCGLIB$$9b1b8eb0.CGLIB$httpPutFormContentFilter$0(<generated>)
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$$EnhancerBySpringCGLIB$$9b1b8eb0$$FastClassBySpringCGLIB$$44dfb1fc.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:365)
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$$EnhancerBySpringCGLIB$$9b1b8eb0.httpPutFormContentFilter(<generated>)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
    ... 67 more
  Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
    ... 81 more
13-Dec-2023 17:45:29.386 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/apache-tomcat-9.0.76/webapps/menas.war] has finished in [13,892] ms
@benedeki benedeki added bug Something isn't working Menas Menas component affected priority: high Critical to the health of the project labels Dec 14, 2023
@benedeki benedeki self-assigned this Dec 14, 2023
@benedeki benedeki changed the title In release 2.27.2 Jackons was erroneously downgraded, which causes issues in _Menas_ In release 2.27.2 Jackons was erroneously downgraded, which causes issues in Menas Dec 20, 2023
benedeki added a commit that referenced this issue Dec 20, 2023
…uses issues in Menas

* Jackson versions upgraded to 2.10.4
benedeki added a commit that referenced this issue Jan 10, 2024
…uses issues in Menas (#2205)

* Jackson versions upgraded to 2.10.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Menas Menas component affected priority: high Critical to the health of the project
Projects
None yet
Development

No branches or pull requests

1 participant