[Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-01-18 Thread Ian Carr
I have tried to upgrade two applications to the Trinidad 1.0.5 release from 1.0.4. One worked fine the second results in an exception during application startup. Both applications start fine with 1.0.4. I have checked the configurations and can't see anything obviously in error. Does anybody ha

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-01-18 Thread Matthias Wessendorf
that file "NamedLocaleInfoScriptlet" was add when fixing 797. stay tuned. -M On Jan 18, 2008 4:37 AM, Ian Carr <[EMAIL PROTECTED]> wrote: > I have tried to upgrade two applications to the Trinidad 1.0.5 release from > 1.0.4. One worked fine the second results in an exception during application

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-01-18 Thread Yee-wah Lee
I'll take a look at this. The line at which the code is failing indicates the LocaleContext is null, or the FormattingLocale is null. Not sure which is the problem here. If anyone else has seen this problem, please reply with details on your environment. Thanks, Yee-Wah Matthias Wessendorf

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-02-14 Thread Yee-wah Lee
After some testing, the problem was due to the RenderingContext being null. Scriptlet initialization was happening during a static block of the SimpleInputColorRenderer, not during the render phase, which explains why the RenderingContext is null. This doesn't appear to be a problem for Trini

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Rogerio Baldini
gt;> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>> >>>> >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> >>>> >>>> at java.lang.reflect.Method.invoke(Method.java:585) >>>> at >>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) >>>> at >>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) >>>> Caused by: java.lang.NullPointerException >>>> at >>>> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.LocaleInfoScriptlet.getSupportedLocaleVariant(LocaleInfoScriptlet.java:168) >>>> >>>> >>>> at >>>> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.NamedLocaleInfoScriptlet.(NamedLocaleInfoScriptlet.java:62) >>>> >>>> >>>> at >>>> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.NamedLocaleInfoScriptlet.registerNamedLocales(NamedLocaleInfoScriptlet.java:47) >>>> >>>> >>>> at >>>> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.XhtmlScriptletFactory.registerAllScriptlets(XhtmlScriptletFactory.java:75) >>>> >>>> >>>> at >>>> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlUtils.(XhtmlUtils.java:531) >>>> >>>> >>>> ... 35 more >>>> >>>> >>>> Thanks in advance >>>> >>>> Ian >>>> >>>> >>> >>> >>> >>> >> > > > -- View this message in context: http://www.nabble.com/-Trinidad--Problem-upgrading-to-version-1.0.5-of-trinidad.-tp14952357p18132958.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Simon Lessard
t; >>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) > >>>> at > >>>> > org.apache.catalina.core.StandardService.start(StandardService.java:450) > >>>> > >>>> at > >>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:709) > >>>> at > >>>> org.apache.catalina.startup.Catalina.start(Catalina.java:551) > >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >>>> at > >>>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >>>> > >>>> at > >>>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >>>> > >>>> at java.lang.reflect.Method.invoke(Method.java:585) > >>>> at > >>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) > >>>> at > >>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) > >>>> Caused by: java.lang.NullPointerException > >>>> at > >>>> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.LocaleInfoScriptlet.getSupportedLocaleVariant(LocaleInfoScriptlet.java:168) > >>>> > >>>> at > >>>> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.NamedLocaleInfoScriptlet.(NamedLocaleInfoScriptlet.java:62) > >>>> > >>>> at > >>>> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.NamedLocaleInfoScriptlet.registerNamedLocales(NamedLocaleInfoScriptlet.java:47) > >>>> > >>>> at > >>>> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.XhtmlScriptletFactory.registerAllScriptlets(XhtmlScriptletFactory.java:75) > >>>> > >>>> at > >>>> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlUtils.(XhtmlUtils.java:531) > >>>> > >>>> ... 35 more > >>>> > >>>> > >>>> Thanks in advance > >>>> > >>>> Ian > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > > > > > > > > -- > View this message in context: > http://www.nabble.com/-Trinidad--Problem-upgrading-to-version-1.0.5-of-trinidad.-tp14952357p18132958.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Rogerio Baldini
gt;>>> at >> >>>> >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) >> >>>> >> >>>> at >> >>>> >> org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) >> >>>> >> >>>>

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Simon Lessard
ava.lang.reflect.Constructor.newInstance(Constructor.java:494) > >> >>>> at java.lang.Class.newInstance0(Class.java:350) > >> >>>> at java.lang.Class.newInstance(Class.java:303) > >> >>>> at > >> >>&g

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Rogerio Baldini
t;> >>>> >> >> >> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputColorRenderer.(InputColorRenderer.java:33) >> >> >>>> >> >> >>>> at >> >> >>>> >> >> >> fsl.trinidad.extensions.kit.FSLIn

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Simon Lessard
gt;> at > >> >> >>>> > >> >> > >> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer.(XhtmlRenderer.java:53) > >> >> >>>> > >> >> >>>> at >

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Rogerio Baldini
rds. 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.

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Simon Lessard
t "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. > >

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Simon Lessard
gt;> 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(c

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-06-26 Thread Rogerio Baldini
es renderkit. I will submit an addition to the patch to allow for extended renderers not being in the Trinidad renderkit." But I don't know how to solve that. Thanks, Rogerio. -- View this message in context: http://www.nabble.com/-Trinidad--Problem-upgrading-to-version-1.0.5-of-trinidad.

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-07-07 Thread Yee-wah Lee
Hi Rogerio, The patch is attached to issue 797 (trin11_797_deferredRenderers.patch ) https://issues.apache.org/jira/browse/TRINIDAD-797 It looks like the fix was not ported to the 1.2.x branch. I wi

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-07-08 Thread Matthias Wessendorf
On Tue, Jul 8, 2008 at 3:55 AM, Yee-wah Lee <[EMAIL PROTECTED]> wrote: > Hi Rogerio, > > The patch is attached to issue 797 (trin11_797_deferredRenderers.patch > ) > https://issues.apache.org/jira/browse/T

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-07-08 Thread Scott O'Bryan
Yeah, it should have been ported Yee. Sorry about the oversite. Scott Yee-wah Lee wrote: Hi Rogerio, The patch is attached to issue 797 (trin11_797_deferredRenderers.patch ) https://issues.apache

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-07-08 Thread Yee-wah Lee
Hi, Since TRINIDAD-797 was closed, I created TRINIDAD-1150 to track this issue: https://issues.apache.org/jira/browse/TRINIDAD-1150 And attached both patches (1.1 and 1.2 trunk) for completeness, though only the 1.2 trunk needs to be applied at this time. Thanks, Yee-Wah Scott O'Bryan wrote

Re: [Trinidad] Problem upgrading to version 1.0.5 of trinidad.

2008-07-09 Thread Matthias Wessendorf
committed to 1.2 trunk -M On Wed, Jul 9, 2008 at 3:37 AM, Yee-wah Lee <[EMAIL PROTECTED]> wrote: > Hi, > > Since TRINIDAD-797 was closed, I created TRINIDAD-1150 to track this issue: > https://issues.apache.org/jira/browse/TRINIDAD-1150 > > And attached both patches (1.1 and 1.2 trunk) for comple