Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
Woonsan, could you perhaps take a look because I don't get it:
The HstParameterInfoProxyFactoryImpl has moved to the hst-commons. I want logging in it. so added
private static final Logger log = HstServices.getLogger(HstParameterInfoProxyFactoryImpl.class.getName());
Since this, hst-jaxrs unit tests fail (initialization error of HstParameterInfoProxyFactoryImpl logger). Hence I added to
the following spring import
<import resource="classpath:/org/hippoecm/hst/site/container/SpringComponentManager-trace.xml" />
then it does not fail on initialization error, but it gives me for all tests:
testGetTextPageResource(org.hippoecm.hst.jaxrs.services.content.TestTextPageContentResource): Error creating bean with name 'resourceLifecycleManagementList' defined in class path resource [org/hippoecm/hst/site/container/SpringComponentManager-pipelines.xml]: Cannot create inner bean 'org.springframework.beans.factory.config.PropertyPathFactoryBean#6691177' of type [org.springframework.beans.factory.config.PropertyPathFactoryBean] while setting bean property 'sourceList'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPathFactoryBean#6691177': Post-processing of the FactoryBean's object failed; nested exception is java.lang.AssertionError
I have looked at it for quite some time, but I just can't seem to find the problem.
Could you have a look?
I'll now comment the parts that break the unit tests.
Also note that the tests work fine in eclipse, but not with 'mvn clean install'
Thanks in advance, regards Ard
Attachments
Issue Links
- is a result of
-
HSTTWO-2031 Downgrade org.aspectj:aspectjweaver:1.6.9 due to AssertionError with JUnit Tests and either Spring 3.0.4 or Spring 3.0.5
- Closed
- relates to
-
HSTTWO-2035 ParameterInfoInvocationHandler should be extendable
- Closed