webtier@glassfish.java.net

Re: [webtier] "an error occurred when processing your submitted infromation"

From: Jeffrey Blattman <jeffrey.blattman_at_gmail.com>
Date: Thu, 13 Aug 2009 11:55:22 -0700

jim,

wouldn't JSF deployment be much simpler if it /wasn't/ part of EE? then
each app just bundles what version they want to run, and regardless of
what container they run on, they have the same behavior. i know, the
reality is probably that JSF has all sort of dependencies on other EE
components ...

having a spec is fine, but the reality is that every EE container has
different impls, and / or different versions of impls. having a spec
will never match actually running the same exact code everywhere.

btw, i found the "problem". JSF didn't like,

<ice:inputText
value="#{viewCondition.startIp[0]}"
size="3"
maxlength="3"/>

where startIp is an int[]. i changed the int[] to a MyObject[] with a
value field on MyObject and it works now.

<ice:inputText
value="#{viewCondition.startIp[0]*.value*}"
size="3"
maxlength="3"/>

it sort of makes sense that it didn't work now that i think about it.
but not sure why GF was different. i've run the same code on 8+ other
containers. anyway.

On 8/13/09 11:35 AM, Jim Driscoll wrote:
> And once you upgrade, you should see the stack trace in the logs.
> It's probably a EL bug of some kind in your code, but the stack trace
> *should* make it obvious.
>
> Jim
>
> On 8/13/09 11:31 AM, Jim Driscoll wrote:
>> Try upgrading to the latest version of JSF (1.2_13) - it includes a fix
>> for the lack of logging. Sorry, should have thought of that in the first
>> place.
>>
>> Instructions for upgrading Glassfish v2 to 1.2_13 are in the release
>> notes for that release.
>>
>> Jim
>>
>> On 8/13/09 11:24 AM, Jeffrey Blattman wrote:
>>> that's the thing. nothing in the logs expect a repeat of the faces
>>> messages. as below ...
>>>
>>> ...
>>> sourceId=form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3375[severity=(ERROR
>>>
>>>
>>> 2), summary=(form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3375: An
>>> error
>>> occurred when processing your submitted information. ),
>>> detail=(form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3375: An error
>>> occurred when processing your submitted information. )]
>>> sourceId=form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3372[severity=(ERROR
>>>
>>>
>>> 2), summary=(form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3372: An
>>> error
>>> occurred when processing your submitted information. ),
>>> detail=(form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3372: An error
>>> occurred when processing your submitted information. )]
>>> sourceId=form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3371[severity=(ERROR
>>>
>>>
>>> 2), summary=(form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3371: An
>>> error
>>> occurred when processing your submitted information. ),
>>> detail=(form:j_id166:j_id485:0:j_id2696:j_id3328:j_id3371: An error
>>> occurred when processing your submitted information. )]
>>> ... and so on ...
>>>
>>> On 8/13/09 11:16 AM, Jim Driscoll wrote:
>>>> What's in your logs? You should get a stack trace in the logs. After
>>>> that, it should be comparatively simple to debug.
>>>>
>>>> Jim
>>>>
>>>> On 8/13/09 8:40 AM, Jeffrey Blattman wrote:
>>>>> on glassfish v2.1, i get this strange faces message at a particular
>>>>> point in my app. only on glassfish. nothing in the log, except a
>>>>> duplication of the faces messages i see on the screen. screen cap is
>>>>> attached. i am using icefaces. after the error occurs, any action
>>>>> causes
>>>>> the error to repeat, until i refresh the page (clearing my request
>>>>> scope
>>>>> beans).
>>>>>
>>>>> the fields of the form are bound to an array of ints. so it's like,
>>>>>
>>>>> private int[] startIp = new int[4];
>>>>> private int[] endIp = new int[4];
>>>>>
>>>>> and then,
>>>>>
>>>>> <ice:inputText
>>>>> value="#{viewCondition.startIp[0]}"
>>>>> size="3"
>>>>> maxlength="3"/>
>>>>> <ice:inputText
>>>>> value="#{viewCondition.startIp[1]}"
>>>>> size="3"
>>>>> maxlength="3"/>
>>>>> ... etc ...
>>>>>
>>>>> any idea how to go about debugging this?
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>