Yes, sure :)  Here it comes below...

The 'fetchmail.xml' comes below too, just to be on the safe side...

Thanks and best regards,
Sergey


INFO | jvm 1 | 2011/03/15 21:09:06 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exporter' defined in class path resource [spring-beans.xml]: Cannot resolve reference to bean 'fetchmail' while setting bean property 'beans' with key [TypedStringValue: value [org.apache.james:type=component,name=fetchmail], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fetchmail': Invocation of init method failed; nested exception is java.lang.NullPointerException INFO | jvm 1 | 2011/03/15 21:09:06 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exporter' defined in class path resource [spring-beans.xml]: Cannot resolve reference to bean 'fetchmail' while setting bean property 'beans' with key [TypedStringValue: value [org.apache.james:type=component,name=fetchmail], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fetchmail': Invocation of init method failed; nested exception is java.lang.NullPointerException INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.container.spring.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:37) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.container.spring.Main.main(Main.java:29) INFO | jvm 1 | 2011/03/15 21:09:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2011/03/15 21:09:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/03/15 21:09:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/03/15 21:09:06 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2011/03/15 21:09:06 | at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2011/03/15 21:09:06 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fetchmail': Invocation of init method failed; nested exception is java.lang.NullPointerException INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
INFO   | jvm 1    | 2011/03/15 21:09:06 |  ... 24 more
INFO | jvm 1 | 2011/03/15 21:09:06 | Caused by: java.lang.NullPointerException INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.fetchmail.ParsedConfiguration.validateDefaultDomainName(ParsedConfiguration.java:884) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.fetchmail.ParsedConfiguration.setDefaultDomainName(ParsedConfiguration.java:865) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.fetchmail.ParsedConfiguration.configure(ParsedConfiguration.java:366) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.fetchmail.ParsedConfiguration.<init>(ParsedConfiguration.java:343) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.fetchmail.FetchMail.configure(FetchMail.java:434) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.apache.james.fetchmail.FetchScheduler.init(FetchScheduler.java:148) INFO | jvm 1 | 2011/03/15 21:09:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2011/03/15 21:09:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/03/15 21:09:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/03/15 21:09:06 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293) INFO | jvm 1 | 2011/03/15 21:09:06 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
INFO   | jvm 1    | 2011/03/15 21:09:06 |  ... 33 more
STATUS | wrapper  | 2011/03/15 21:09:08 | <-- Wrapper Stopped


<?xml version="1.0"?>
<!--
...
-->
<!-- See http://james.apache.org/server/3/config.html for usage -->
<fetchmail enabled="true">
 <fetch name="info">
   <accounts>
     <account user="..." password="..."
         recipient="[email protected]" ignorercpt-header="true" />
     </accounts>
   <blacklist reject="true" leaveonserver="false" markseen="false">
     </blacklist>
   <fetchall>true</fetchall>
   <fetched leaveonserver="false" markseen="false" />
   <host>pop3.spaceweb.ru.</host>
   <interval>300000</interval>
   <javaMailFolderName>INBOX</javaMailFolderName>
   <javaMailProviderName>pop3</javaMailProviderName>
   <recipientnotfound defer="false" reject="false" leaveonserver="false"
       markseen="false" />
   <recursesubfolders>false</recursesubfolders>
   <remoterecipient reject="true" leaveonserver="false" markseen="false" />
   <undeliverable leaveonserver="true" markseen="true" />
   <userundefined reject="true" leaveonserver="true" markseen="true" />
   </fetch>
</fetchmail>




----- Original Message ----- From: "Norman Maurer" <[email protected]>
To: "James Users List" <[email protected]>
Sent: Wednesday, March 16, 2011 8:51 AM
Subject: Re: 3.0-M2 - problem with fetchmail enabling


Hi there,

could you post the "full" stacktrace please...

Thanks,
Norman


2011/3/16 USHAKOV, Sergey <[email protected]>

Hi all,

I've got 3.0-M2 installed and running successfully. Everything was perfect
until I configured and enabled fetchmail.

With fetchmail enabled I got the following error in the wrapper.log:

INFO | jvm 1 | 2011/03/15 21:09:06 | WrapperSimpleApp: Encountered an
error running main:
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'exporter' defined in class path resource
[spring-beans.xml]: Cannot resolve reference to bean 'fetchmail' while
setting bean property 'beans' with key [TypedStringValue: value
[org.apache.james:type=component,name=fetchmail], target type [null]];
nested exception is
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'fetchmail': Invocation of init method
failed;
nested exception is java.lang.NullPointerException
INFO   | jvm 1    | 2011/03/15 21:09:06 |
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'exporter' defined in class path resource [spring-beans.xml]:
Cannot resolve reference to bean 'fetchmail' while setting bean property
'beans' with key [TypedStringValue: value
[org.apache.james:type=component,name=fetchmail], target type [null]];
nested exception is
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'fetchmail': Invocation of init method
failed;
nested exception is java.lang.NullPointerException
INFO   | jvm 1    | 2011/03/15 21:09:06 |  at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
...

My initial guess is that the problem may be related to 'target type [null]'
in the error message, but I cannot figure out what exactly is
misconfigured...

Any ideas are most welcome.

Thanks and best regards,
Sergey Ushakov


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]







---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to