Help with java.lang.IllegalStateException: Cannot change buffer size after data has been written

2014-07-16 Thread Felipe Jaekel
Not sure if this is this a MyFaces issue, but as I don't remember having it when my projects were running with with Mojarra, I'd like to see if you can help me. I'm eventually seeing this exception in my Tomcat 7.0.47 log: java.lang.IllegalStateException: Cannot change buffer size after data has

Re: Help with java.lang.IllegalStateException: Cannot change buffer size after data has been written

2014-07-16 Thread Howard W. Smith, Jr.
On Wed, Jul 16, 2014 at 7:52 AM, Felipe Jaekel fkjae...@gmail.com wrote: Not sure if this is this a MyFaces issue, but as I don't remember having it when my projects were running with with Mojarra, I'd like to see if you can help me. I'm eventually seeing this exception in my Tomcat 7.0.47

null Long values displayed as 0

2014-07-16 Thread l.pe...@senat.fr
Dear all, I just finished to struggle with the display of nullable Long or Integer values. I am using Primefaces 5.0.1 / MyFaces 2.2.4 / OpenWebBeans 1.2.2 / Tomcat 7.0.39. Those values are the result of the evaluation of EL expressions that I create with the following function :

Re: null Long values displayed as 0

2014-07-16 Thread titou10 titou10
Maybe you could try to add property org.apache.el.parser.COERCE_TO_ZERO=false to your JVM Denis/MTL 2014-07-16 13:00 GMT-04:00 l.pe...@senat.fr l.pe...@senat.fr: Dear all, I just finished to struggle with the display of nullable Long or Integer values. I am using Primefaces 5.0.1 / MyFaces

Re: null Long values displayed as 0

2014-07-16 Thread l.pe...@senat.fr
On 16/07/2014 19:15, titou10 titou10 wrote: Maybe you could try to add property org.apache.el.parser.COERCE_TO_ZERO=false to your JVM Denis/MTL No, COERCE_TO_ZERO is useful in the opposite way, when submitting the value. BTW, I already use it. Thx anyway. Ludovic | | AVANT D'IMPRIMER, PENSEZ

Re: null Long values displayed as 0

2014-07-16 Thread Leonardo Uribe
Hi All files from org.apache.el comes from the EL library, so it is out of MyFaces scope. I think you cannot override the EL coercion rules, unless you change the underlying EL library. regards, Leonardo 2014-07-16 12:20 GMT-05:00 l.pe...@senat.fr l.pe...@senat.fr: On 16/07/2014 19:15,