When using seam logger in my class, it throws NullPointerException. But similar code works
in Authenticator class that seam-gen creates.
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.log.Log;
...
@Name("activityLogger")
public class ActivityLogger {
@Logger
Log seamLogger;
...
public void log() {
OrgUserActivityLogHome orgUserActivityLogHome = new OrgUserActivityLogHome();
...
seamLogger.info("seam logger test #0", "ok"); <-- line throwing
exception
...
}
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084877#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...