Re: Velocity.log error message
Hussayn Dabbous <[email protected]> Fri, 05 Mar 2010 10:34:28 +0100
| Newsgroups | gmane.comp.java.scarab.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_11091_7048309.1267781210843
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi;
20 mbytes in a few days sounds a lot to me. Do you have a high volume of
traffic on Scarab or is it just so
that you get these errors almost on every request ? And to which version
of scarab are you referring ?
I was looking up in trunk at location:
src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm
There i found:
#set ($fieldStyle =3D $!attVal.Attribute.Style)
which is something i added last year to add css styling for attributes.
But that works for me. And i also
do not get massive amounts of such errors as you report.
regards,
Hussayn
Johannes H=C3=B6chst=C3=A4dter wrote:
> Yeah you are right. I get a similar output in my log file, for another
> vm file, but currently I don't have a clue for this.
>
> For me this exception appears for ManageUserSearch.vm.
>
> If the tracker would be working, it throws an horrible exception since a
> few weeks now, than I would say, that you should leave a bug report, but
> that's not the case... sorry, maybe later. Maybe you will get the clue
> on your own.
>
> cheers
>
> Am 04.03.2010 04:13, schrieb FRED.YY.LIN =E6=9E=97=E5=AE=A5=E5=BB=B6:
> =20
>> Dear All,
>> I got error messages in the velocity.log file that
>> Error in evaluation of expression. Both arguments mube be of the same
>> Class.
>> Current left =3D class java.lang.Integer right =3D class java.lang.Strin=
g.
>> viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
>> And the viewIssue/ViewIssueTab1.vm [line 49, column 59] is
>> #set ($attVal =3D $attrValues.get($att.getName().toUpperCase()))
>> From the error message.
>> $attVal seems to be an Integer Object but I cannot see where attVal
>> was defined. does any know about it ?
>> Also, I checked \om\AttributeValue.java and cannot find a "get"
>> method. I don't know if all the returned value of "get" is numeric and
>> can be transformed into an Integer object. In that case the class type
>> error may be resolved.
>> Which procedure did the attrValues.get refer to ?
>> Can anyone help ? This single error message is more than 20MB per few
>> days .
>> Thanks,
>> Fred
>> ************************************************************************=
*************************************************
>> This email message, including any attachments, is for the sole use of
>> the intended recipient(s) and may contain confidential and privileged
>> information. Any unauthorized review, use, disclosure or distribution
>> is prohibited. If you are not the intended recipient, please contact
>> the sender by reply e-mail and destroy all copies of the original
>> message. [Delta Electronic, INC. Taiwan]
>> ************************************************************************=
*************************************************
>>
>> =20
>
> =20
--=20
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenh=C3=B6fer Allee 125
50935 K=C3=B6ln
tel.: +49 221 560 11 0
fax.: +49 221 560 11 20
mailto:[email protected]
http://www.saxess.de
http://www.saxess.com
http://www.saxess.org
------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D456&dsMessageId=3D24=
55346
To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].
------=_Part_11091_7048309.1267781210843
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type">
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
Hi;<br>
<br>
20 mbytes in a few days sounds a lot to me. Do you have a high volume
of traffic on Scarab or is it just so<br>
that you get these errors almost on every request ? And to which
version of scarab are you referring ? <br>
I was looking up in trunk at location:<br>
<br>
src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm<br>
<br>
There i found:<br>
<br>
=C2=A0=C2=A0=C2=A0 #set ($fieldStyle =3D $!attVal.Attribute.Style)<br>
<br>
which is something i added last year to add css styling for attributes.
But that works for me. And i also<br>
do not get massive amounts of such errors as you report.<br>
<br>
regards,<br>
Hussayn<br>
<br>
Johannes H=C3=B6chst=C3=A4dter wrote:
<blockquote cite=3D"mid:[email protected]" type=3D"cite">
<pre wrap=3D"">Yeah you are right. I get a similar output in my log file,=
for another
vm file, but currently I don't have a clue for this.
For me this exception appears for ManageUserSearch.vm.
If the tracker would be working, it throws an horrible exception since a
few weeks now, than I would say, that you should leave a bug report, but
that's not the case... sorry, maybe later. Maybe you will get the clue
on your own.
cheers
Am 04.03.2010 04:13, schrieb FRED.YY.LIN =E6=9E=97=E5=AE=A5=E5=BB=B6:
</pre>
<blockquote type=3D"cite">
<pre wrap=3D"">Dear All,
I got error messages in the velocity.log file that
Error in evaluation of expression. Both arguments mube be of the same
Class.
Current left =3D class java.lang.Integer right =3D class java.lang.String.
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
And the viewIssue/ViewIssueTab1.vm [line 49, column 59] is
#set ($attVal =3D $attrValues.get($att.getName().toUpperCase()))
From the error message.
$attVal seems to be an Integer Object but I cannot see where attVal
was defined. does any know about it ?
Also, I checked \om\AttributeValue.java and cannot find a "get"
method. I don't know if all the returned value of "get" is numeric and
can be transformed into an Integer object. In that case the class type
error may be resolved.
Which procedure did the attrValues.get refer to ?
Can anyone help ? This single error message is more than 20MB per few
days .
Thanks,
Fred
***************************************************************************=
**********************************************
This email message, including any attachments, is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original
message. [Delta Electronic, INC. Taiwan]
***************************************************************************=
**********************************************
</pre>
</blockquote>
<pre wrap=3D""><!---->
</pre>
</blockquote>
<br>
<br>
<pre class=3D"moz-signature" cols=3D"120">--=20
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenh=C3=B6fer Allee 125
50935 K=C3=B6ln
tel.: +49 221 560 11 0
fax.: +49 221 560 11 20
<a class=3D"moz-txt-link-freetext" href=3D"mailto:[email protected]">mailto:in=
[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://www.saxess.de">http://www=
.saxess.de</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://www.saxess.com">http://ww=
w.saxess.com</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://www.saxess.org">http://ww=
w.saxess.org</a>
</pre>
</body>
</html>
------=_Part_11091_7048309.1267781210843--