[Geoserver-devel] [JIRA] (GEOS-7671) Params-Extractor Plugin context initialization failed

Torsten created an issue

GeoServer / BugGEOS-7671

Params-Extractor Plugin context initialization failed

Issue Type:

BugBug

Affects Versions:

2.9.1

Assignee:

Unassigned

Components:

Community modules

Created:

04/Aug/16 5:11 PM

Environment:

Linux, Java 8, Tomcat 8

Priority:

MediumMedium

Reporter:

Torsten

With this plugin installed, the context initialization fails and thus prevents correct startup of GeoServer.

Here is the relevant stack trace:

2016-08-04 09:34:09,305 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'paramsExtractorFilter' defined in URL [jar:file:/opt/webapps/geoserver/WEB-INF/lib/gs-params-extractor-2.9-SNAPSHOT.jar!/applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.geoserver.platform.resource.ResourceStore]: Could not convert constructor argument value of type [org.geoserver.config.GeoServerDataDirectory] to required type [org.geoserver.platform.resource.ResourceStore]: Failed to convert value of type [org.geoserver.config.GeoServerDataDirectory] to required type [org.geoserver.platform.resource.ResourceStore]; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.geoserver.config.GeoServerDataDirectory] to required type [org.geoserver.platform.resource.ResourceStore]: no matching editors or conversion strategy found
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:724)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
	at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1798)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.217.1#100008-sha1:fdd523c)

Atlassian logo