4 Replies Latest reply on Oct 9, 2009 8:09 AM by nbelaevski

    another issue with 3.3.2.GA upgrade

    magiccreative

      hi,

      here is a converter which was functioning with 3.3.1:


      <f:convertNumber locale="de"
       pattern="#{*****.****(*****,********) ? '#,###,##0.00' : '0.00'}"/>
      
      


      after the upgrade this exception occurs:

      @36,36 value="#{****.*****}": java.lang.IllegalArgumentException: argument type mismatch



        • 1. Re: another issue with 3.3.2.GA upgrade
          nbelaevski

          Hi,

          Please post page code.

          • 2. Re: another issue with 3.3.2.GA upgrade
            magiccreative

            the page is included multiple times. As I mentioned it works with 3.3.1.GA


            
            <div xmlns="http://www.w3.org/1999/xhtml"
             xmlns:m="http://code.google.com/p/gmaps4jsf/"
             xmlns:ui="http://java.sun.com/jsf/facelets"
             xmlns:h="http://java.sun.com/jsf/html"
             xmlns:c="http://java.sun.com/jstl/core"
             xmlns:f="http://java.sun.com/jsf/core"
             xmlns:s="http://jboss.com/products/seam/taglib"
             xmlns:rich="http://richfaces.org/rich"
             xmlns:a4j="http://richfaces.org/a4j"
             id="*****"
             style="width: 100%; height: 100%;">
            
             <rich:column
             style="width: 75px; border: none; background-color: *****">
            
            
            
            <a4j:form ajaxSubmit="true">
            
             <div id="*****">
            
             <h:inputText value="#{*****}"
             size="7"
             maxlength="13"
             style="border-color: none"
             required="true"
             disabled="#{*****}"
             rendered="#{*****}"
             onchange="javascript:*****(*****,
             '#{*****}',
             '#{*****}',
             '#{*****}',
             '#{*****}',
             '#{*****}')">
             <f:validateDoubleRange minimum="0" maximum="999999999" />
             <f:convertNumber locale="de"
             pattern="#{*****}"/>
            
             </h:inputText>
            
             </div>
            
             </a4j:form>
            
            
            
             <h:inputText
             rendered="#{*****}"
             size="1" disabled="true" style="background-color: #E6E6FA; border-color: #E6E6FA;" />
            
            </rich:column>
            
            <rich:column id="*****"
             style="width: 75px; border: none; background-color: #{*****}">
            
            <div id="*****">
             <h:outputText
             value="#{*****}"
             style="text-align: left;"
             rendered="#{*****}" >
             <f:convertNumber locale="de" pattern="#,###,##0.00"/>
             </h:outputText>
            
             <h:outputText value="*****"
             rendered="#{*****}"
             style="border: none;" />
            
            </div>
            
            </rich:column></div>
            
            
            
            
            
            


            • 3. Re: another issue with 3.3.2.GA upgrade
              magiccreative

              I have debugged abit further. I was thinking the exception comes from NumberConverter but there the getAsObjectFunction converted right from "0,00" to 0 as Long.

              The exception comes much later @
              Http11Processor.process(Socket) line: 805


              And this happens only with 3.3.2, not with 3.3.1. Any ideas?

              • 4. Re: another issue with 3.3.2.GA upgrade
                nbelaevski

                Please post full exception stack trace.