Hi

I'm writing a mailet for james-2.3.2.
I have this line in my service method.

log("service begin");

It throws an exception. Exception is logged in spoolmanager log.

11/07/13 05:07:43 ERROR spoolmanager: Exception in processor
<root>java.lang.AbstractMethodError:
org.apache.james.James.log(Lorg/apache/mailet/MailetContext$LogLevel;Ljava/lang/String;)V

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:134)

at com.sun.proxy.$Proxy9.log(Unknown Source)

at org.apache.mailet.base.GenericMailet.log(GenericMailet.java:203)

Any idea?

Sincerely,
*Prabu Natarajan*

Reply via email to