Some more info, I'm not sure if all this has any relevance or not but here goes.

First this happens when I use a <h:commandLink> with a parameter, I haven't 
tested with a 'normal' post yet.

Seam is trying to find a value for A - A is Scoped as EVENT.

During the BEFORE RESTORE_VIEW phase the factory method for A is called, the 
stack from Component is:

  | 20:55:41,885 ERROR [STDERR]     at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
  | 20:55:41,885 ERROR [STDERR]     at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
  | 20:55:41,886 ERROR [STDERR]     at 
org.jboss.seam.Component.callComponentMethod(Component.java:1119)
  | 20:55:41,886 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1078)
  | 20:55:41,886 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstance(Component.java:1041)
  | 20:55:41,886 ERROR [STDERR]     at 
org.jboss.seam.Component.getInstance(Component.java:1027)
  | 20:55:41,886 ERROR [STDERR]     at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:43)
  | 20:55:41,886 ERROR [STDERR]     at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | 

also all the @In properties are null during this factory invokation.

.. lots of phases happen ...

then during INVOKE_APPLICATION the correct action-method is called, with the 
correct vales injected, including the @RequestParameter.

My guess is that this is the same kind of error as the (in)famous duplicate id 
error. Facelets/JSF is trying to recreate the tree before invoking the 
application ... and needs a value that happens to have a factory method ... but 
this is just a guess at this point.

/Magnus

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to