james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex (JIRA)" <server-...@james.apache.org>
Subject [jira] Reopened: (JAMES-1157) Fetchmail doesn't work
Date Tue, 28 Dec 2010 19:01:01 GMT

     [ https://issues.apache.org/jira/browse/JAMES-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex reopened JAMES-1157:
-------------------------


> Fetchmail doesn't work
> ----------------------
>
>                 Key: JAMES-1157
>                 URL: https://issues.apache.org/jira/browse/JAMES-1157
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: FetchMail
>    Affects Versions: 3.0-M3
>         Environment: Mac Snow Leopard 
>            Reporter: Alex
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>
> I configured fetchmail adapter from this article: http://remoteadmin.org.uk/tutorials/42-linux/58-apache-james
> When I start James server it throws exception (below). It seems it can't read the list
of domains. But when I type a listdomains in terminal it returns 2 my domains.
> jvm 1    | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'fetchmail': Invocation of init method failed; nested exception
is java.lang.NullPointerException
> jvm 1    | org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'fetchmail': Invocation of init method failed; nested exception is java.lang.NullPointerException
> jvm 1    | 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
> jvm 1    | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
> jvm 1    | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
> jvm 1    | 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
> jvm 1    | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
> jvm 1    | 	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
> jvm 1    | 	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
> jvm 1    | 	at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
> jvm 1    | 	at org.apache.james.container.spring.Main.main(Main.java:31)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:597)
> jvm 1    | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> jvm 1    | 	at java.lang.Thread.run(Thread.java:680)
> jvm 1    | Caused by: java.lang.NullPointerException
> jvm 1    | 	at org.apache.james.fetchmail.ParsedConfiguration.validateDefaultDomainName(ParsedConfiguration.java:858)
> jvm 1    | 	at org.apache.james.fetchmail.ParsedConfiguration.setDefaultDomainName(ParsedConfiguration.java:839)
> jvm 1    | 	at org.apache.james.fetchmail.ParsedConfiguration.configure(ParsedConfiguration.java:358)
> jvm 1    | 	at org.apache.james.fetchmail.ParsedConfiguration.<init>(ParsedConfiguration.java:335)
> jvm 1    | 	at org.apache.james.fetchmail.FetchMail.configure(FetchMail.java:429)
> jvm 1    | 	at org.apache.james.fetchmail.FetchScheduler.init(FetchScheduler.java:148)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:597)
> jvm 1    | 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
> jvm 1    | 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
> jvm 1    | 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
> jvm 1    | 	... 21 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message