Hi Martin, I just spent some time resurrecting my code. I now use the following implementation (from the jar manifest):
Implementation-Version: 1.0.9 (2005-04-13 13:17 EDT) I don't seem to be able to recreate the problem straight away. However, I'll devote some time to this 'old' code next week so I might still run into the problem again. In that case I'll send you an exception trace. With kind regards, Walter Snel > [ > http://issues.apache.org/jira/browse/MYFACES-210?page=comments#action_12319351 > ] > > Martin Marinschek commented on MYFACES-210: > ------------------------------------------- > > I don't understand where those NPEs would occurr. > > The thing is that this converter configuration stuff is something MyFaces > specific - no other Application implementation will support this or need > to support this, as it is not defined in the SPEC (it is only outlined in > an appendix to the SPEC, but as an optional possibility). > > I checked the source code now and as far as I could realize there was no > place where the 'null's weren't checked for - can you help me out? > > regards, > > Martin > > > >> Undesired dependency on ApplicationImpl in FacesConfigurator >> ------------------------------------------------------------ >> >> Key: MYFACES-210 >> URL: http://issues.apache.org/jira/browse/MYFACES-210 >> Project: MyFaces >> Type: Bug >> Components: JSF 1.1 >> Versions: 1.0.9 beta >> Environment: Custom ApplicationFactory and Application Objects >> Reporter: Walter Snel >> Assignee: Martin Marinschek >> Priority: Minor > >> >> Manfred's recent additions related to the configurability of Converters >> created a dependency on a particular Application implementation in the >> FacesConfigurator. >> I noticed this because I'm using a custom ApplicationFactory that >> returns a custom Facade (with augmentations) to the ApplicationImpl >> class. >> In this case the FacesConfigurator doesn't call the >> addConverterConfiguration. This, later on, leads to horrible nullpointer >> exceptions when any of standard converters are used. Perhaps we could >> consider using relfection instead of the current 'instanceof' mechanism >> to find out if the addConverterConfiguration() method is supported ? > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira > Walter Snel Senior Consultant TMNS bv Castellum D Loire 132 2491 AJ Den Haag The Netherlands T +31 70 3011 720 M +31 6 53116993 F +31 70 3011 721 E [EMAIL PROTECTED] W www.tmns.com -------------------------------------------------------------------------------- Note: This message shall not constitute any obligations. The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. TMNS bv. --------------------------------------------------------------------------------
