Re: TomEE/MyFaces: EL exception NulPointerException for h:selectOneMenu

2012-12-17 Thread Leonardo Uribe
Hi If @PostConstruct, there is no error in MyFaces or Tomcat. I think the bug is hidden in the application logic. Check the code related to p:ajax. If a component is not executed (do the lifecycle over it) and is rendered, the null could be added without notice. You need to be sure that all the co

Re: TomEE/MyFaces: EL exception NulPointerException for h:selectOneMenu

2012-12-17 Thread Howard W. Smith, Jr.
Leonardo, I just confirmed the following: 1. @PostConstruct, pf_RollingStockController.init() method is called 2. the h:selectOneMenu (below) is responsible, because the server log (below) will show that the setter has null as an argument value Please note that the test steps

Re: TomEE/MyFaces: EL exception NulPointerException for h:selectOneMenu

2012-12-17 Thread Leonardo Uribe
Hi In my opinion, the stack traces shows that @PostConstruct is not called or filterYear is set to null in some other place. If the container is not calling @PostConstruct, TomEE is the one to blame, but first I would check that assumption, using a debugger or with a System.out.println(). regard

Re: TomEE/MyFaces: 75040 is not a valid value for property totalMilesInOther

2012-12-17 Thread Howard W. Smith, Jr.
Interesting. Thanks Leonardo! On Mon, Dec 17, 2012 at 12:06 PM, Leonardo Uribe wrote: > Hi > > I can remember this issue. It is related to the way how EL expressions > are resolved. In some cases, EL cannot get the type of the expression > (sometimes return null, or the property comes from a ma

Re: TomEE/MyFaces: 75040 is not a valid value for property totalMilesInOther

2012-12-17 Thread Leonardo Uribe
Hi I can remember this issue. It is related to the way how EL expressions are resolved. In some cases, EL cannot get the type of the expression (sometimes return null, or the property comes from a map), so f:convertNumber cannot guess the type properly. In those cases, the solution is use from m

Re: TomEE/MyFaces: 75040 is not a valid value for property totalMilesInOther

2012-12-17 Thread Howard W. Smith, Jr.
removing the following, fixed the problem. I am using f:convertNumber on many other pages, it seems to only occur on the page that contains the xhtml i in my previous email. On Mon, Dec 17, 2012 at 11:18 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > xhtml (please note the f:con

Re: and IE8

2012-12-17 Thread Werner Punz
Am 15.12.12 15:45, schrieb Werner Punz: tried your test project with the same result. It works only in the compatibility mode of IE8. The Same error in the standard mode. BUT, when I remove the XHTML DocType line both tests work fine!!! Are you sure that you are not in the compatibility mode in