Re: Velocity.log error message
Johannes Höchstädter <[email protected]> Fri, 05 Mar 2010 09:35:58 +0100
| Newsgroups | gmane.comp.java.scarab.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_10703_30803364.1267777168282 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: > 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] > *************************************************************************= ************************************************ > --=20 Johannes Ho"chsta"dter www.memocomp.de ------------------------------------------------------ http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D456&dsMessageId=3D24= 55319 To unsubscribe from this discussion, e-mail: [[email protected]= is.org]. ------=_Part_10703_30803364.1267777168282 Content-Type: text/html; charset=Big5 Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content=3D"text/html; charset=3DBig5" http-equiv=3D"Content-Type"> </head> <body bgcolor=3D"#ffffff" text=3D"#000000"> 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.<br> <br> For me this exception appears for ManageUserSearch.vm.<br> <br> 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.<br> <br> cheers<br> <br> Am 04.03.2010 04:13, schrieb FRED.YY.LIN =AAL=AB=C9=A9=B5: <blockquote cite=3D"mid:[email protected]" type=3D"cite"> <title></title> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DBig5"> <meta content=3D"MSHTML 6.00.2900.3603" name=3D"GENERATOR"> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">Dear All,= </font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">I got error messages in the velocity.log file that</font></span></div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">Error in evaluation of expression. Both arguments mube be of the same Class. </font>= </span></div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">Current left =3D class java.lang.Integer right =3D class java.lan= g.String.</font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">viewIssue= /ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)</font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">And the <= span class=3D"843050403-04032010"><font color=3D"#0000ff">viewIssue/ViewIssueTa= b1.vm [line 49, column 59] is </font></span></font></span></div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff"><span class=3D"843050403-04032010"></span></font></span> </div> <div><span class=3D"843050403-04032010"><span class=3D"843050403-04032010= "><font color=3D"#ff0000">#set ($attVal =3D $attrValues.get($att.getName().toUpperCase()))</font></span></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">From the error message.</font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">$attVal seems to be an Integer Object but I cannot see where attVal was defined. does any know about it ?</font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">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.</font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">Which procedure did the </font><font color=3D"#ff0000">attrValues.get refer to ?</font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">Can anyone help ? This single error message is more than 20MB per fe= w days .</font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">Thanks,</= font></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"><font color=3D"#0000ff">Fred</fon= t></span></div> <div><span class=3D"843050403-04032010"></span> </div> <div><span class=3D"843050403-04032010"></span> </div> <table> <tbody> <tr> <td bgcolor=3D"#ffffff"><font color=3D"#000000">*******************= ***************************************************************************= ***************************<br> 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]<br> ***************************************************************************= **********************************************<br> </font></td> </tr> </tbody> </table> </blockquote> <br> <pre class=3D"moz-signature" cols=3D"72">--=20 Johannes Höchstädter <a class=3D"moz-txt-link-abbreviated" href=3D"http://www.memocomp.de">www.m= emocomp.de</a></pre> </body> </html> ------=_Part_10703_30803364.1267777168282--