-
1. Re: WARN org.jboss.seam.faces.environment.SeamApplicationWrapper Cannot attempt extension on null
soudmaijer Mar 29, 2011 3:36 PM (in response to esteve)Same problem here... Seam 3 faces module and GlassFish.
-
2. Re: WARN org.jboss.seam.faces.environment.SeamApplicationWrapper Cannot attempt extension on null
mausbull.stephan.pabinger.gmail.com Apr 4, 2011 7:06 AM (in response to esteve)I get the same warnings in my project (Seam 3.Final).
Any news about this?Stephan
-
3. Re: WARN org.jboss.seam.faces.environment.SeamApplicationWrapper Cannot attempt extension on null
andrewwheeler Apr 5, 2011 5:19 AM (in response to esteve)This isn't a problem with seam faces. The seam application wrapper intercepts the creation of validators and converters so that they can act like CDI beans. In other words they can have resources injected using the @Inject annotation.
In my particular case the faces application is trying to create a converter for java.sql.Date. From my point of view this is very strange as I don't use java.sql.Date anywhere.
Turning on debug reveals:
[org.jboss.seam.faces.environment.SeamApplicationWrapper] Creating converter for targetClass java.sql.Date [org.jboss.seam.faces.environment.SeamApplicationWrapper] Cannot attempt extension on null [org.jboss.seam.faces.environment.SeamApplicationWrapper] Creating converter for converterId javax.faces.DateTime [org.jboss.seam.faces.environment.SeamApplicationWrapper] Extending class: javax.faces.convert.DateTimeConverter [org.jboss.seam.faces.environment.SeamApplicationWrapper] Creating converter for targetClass java.sql.Date [org.jboss.seam.faces.environment.SeamApplicationWrapper] Cannot attempt extension on null [org.jboss.seam.faces.environment.SeamApplicationWrapper] Creating converter for targetClass java.sql.Date [org.jboss.seam.faces.environment.SeamApplicationWrapper] Cannot attempt extension on null [org.jboss.seam.faces.environment.SeamApplicationWrapper] Creating converter for targetClass java.sql.Date [org.jboss.seam.faces.environment.SeamApplicationWrapper] Cannot attempt extension on null
Note: SeamApplicationWrapper delegates to the installed faces Application to create the converter.
I have one date field on my page and I'm using the Richfaces calendar. If I replace the calendar with a simple inputText then it all goes away. I haven't trawled through the Richfaces code but it looks like a strong suspect.
If it is not a java.sql.Date causing your problem then it may be any other type for which there is not a standard converter. To find out what is causing your problem just up the logging level and all will be revealed.