[jboss-user] [JBoss Seam] - Re: Logger in page-scoped component, NPE in post-back.

2006-11-13 Thread tazo
Sory for my bad explanation, i will try again: 1. @Logger inserts instance of org.jboss.seam.log.LogImpl in a field of my component (lets name it 'mylog', not marked as transient) 2. LogImpl class has field log marked as transient. 3. After postback, 'myname' is restored, but it's LogImpl.log

[jboss-user] [JBoss Seam] - Re: Logger in page-scoped component, NPE in post-back.

2006-11-13 Thread tazo
So i looked at implementation of LogImpl class: log field is initialized in ctors and readObject. Nor ctors, nor readObject() are called in postback, i think it is bug. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985367#3985367 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Logger in page-scoped component, NPE in post-back.

2006-11-13 Thread [EMAIL PROTECTED]
LogImpl has the following method: void readObject(ObjectInputStream ois) | throws ClassNotFoundException, IOException |{ | ois.defaultReadObject(); | log = LogFactory.getLog(category); |} Are you trying to tell me that Java serialization is broken?

[jboss-user] [JBoss Seam] - Re: Logger in page-scoped component, NPE in post-back.

2006-11-12 Thread [EMAIL PROTECTED]
Right, you should not declare the Log field transient, it is injected at bean instantiation time, logging has nothing to do with Seam bijection! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985302#3985302 Reply to the post :