[ https://issues.apache.org/jira/browse/ADFFACES-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf resolved ADFFACES-458. ----------------------------------------- Resolution: Fixed Fix Version/s: 2.0.0-incubating-core-SNAPSHOT thx to scott, again > JSF1.2 ExternalContext methods do not handle null request/response > ------------------------------------------------------------------ > > Key: ADFFACES-458 > URL: https://issues.apache.org/jira/browse/ADFFACES-458 > Project: MyFaces ADF-Faces > Issue Type: Bug > Affects Versions: 2.0.0-incubating-core-SNAPSHOT > Environment: JSF 1.2 Branches only > Reporter: Scott O'Bryan > Assigned To: Matthias Weßendorf > Fix For: 2.0.0-incubating-core-SNAPSHOT > > Attachments: 14-ADFFACES-458.patch > > > The Trinidad ServletExternalContext is designed to support the > TrinidadConfigurators. As a result, one can construct an externalContext > with a null request and response. Throughout the rest of the class, when a > method is executed that requires a request and/or a response and one is not > present, an UnsupportedOperationException is thrown. The methods in question > will throw a NullPointerException. Therefore, we need to add a > _checkRequest(); or _checkResponse(); call to the following methods: > getRequestCharacterEncoding > getRequestContentType > getResponseCharacterEncoding > getResponseContentType > setRequestCharacterEncoding > setResponseCharacterEncoding -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.