ok... it seems impossible for localeContext and formattingLocale to be null,
so it's must be the rendering context which SHOULD be created since you
extend CoreRenderKit. Can you override the encodeBegin method in your render
kit and see if it get called at all?
On Thu, Jun 26, 2008 at 10:20 AM, Simon Lessard <[EMAIL PROTECTED]>
wrote:
> Rogerio,
>
> Hmmm, nah. I simply assumed that the NullPointerException was on the
> RenderingContext as it's the most common mistake in that case usually, but
> if you extend CoreRenderKit, it isn't your problem (sorry that I didn't see
> that first). More specifically, the line that seem to break in your case is
> arc.getLocaleContext().getFormattingLocale().getVariant(); So either arc,
> localeContext or formattingLocale is null. If it'S not arc, then let me
> check what could make localeContext or formattingLocale null...
>
>
> ~ Simon
>
>
> On Thu, Jun 26, 2008 at 9:52 AM, Rogerio Baldini <
> [EMAIL PROTECTED]> wrote:
>
>>
>> Simon,
>>
>> I am already extending CoreRenderKit.
>>
>> public class PlcRenderKit extends CoreRenderKit {
>>
>> public PlcRenderKit() {
>> super();
>> }
>>
>> I am not understanding your position.
>> Do you think I could overwrite encodeBegin method and do somethink else?
>>
>> This is CoreRenderKit method.
>> public void encodeBegin(FacesContext context)
>> {
>> /*CoreRenderingContext arc = */new CoreRenderingContext();
>> // If there's any prior state, make sure our current "add" doesn't drop
>> it
>> DialogServiceImpl.pinPriorState(context);
>> }
>>
>> Thanks a lot.
>> Regards.
>> Rogerio Baldini.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-Trinidad--Problem-upgrading-to-version-1.0.5-of-trinidad.-tp14952357p18134401.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>