[jboss-user] [JBoss Seam] - Debuggers can cause early bijection

quilleashm do-not-reply at jboss.com
Wed Dec 13 03:54:05 EST 2006


Found an interesting and vaguely irritating problem when debugging my Seam application.

My debugger (IDEA) in certain modes will execute toString() on all local/class variables that are visible at a breakpoint for display information.  For a Seam component that has interception enabled this results in all the interceptors being fired including bijection.  If this happens too early in the JSF lifecycle (e.g. restore view phase) then the bijection can try and inject other components that are not present yet (e.g. conversation scope) and you get an unknown error.

I have no great solution for this.  The only possiblility I can think of would be to exclude toString() from the interception which may have other side effects for implementations relying on this.

Cheers.

Mike.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993285#3993285

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993285



More information about the jboss-user mailing list