Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57B55D64B for ; Thu, 23 May 2013 00:28:40 +0000 (UTC) Received: (qmail 29866 invoked by uid 500); 23 May 2013 00:28:40 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 29747 invoked by uid 500); 23 May 2013 00:28:39 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 29694 invoked by uid 99); 23 May 2013 00:28:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 00:28:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [203.94.134.242] (HELO mail.uecomm.com.au) (203.94.134.242) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 00:28:31 +0000 Received: from Umelx15.corp.uecomm.com.au (Not Verified[10.190.0.206]) by mail.uecomm.com.au with MailMarshal (v6,8,4,9558) (using TLS: SSLv23) id ; Thu, 23 May 2013 10:28:44 +1000 Received: from UMELX10.corp.uecomm.com.au ([10.190.0.202]) by umelx15 ([10.190.0.206]) with mapi id 14.02.0247.003; Thu, 23 May 2013 10:28:07 +1000 From: "Separovic, Jason" To: "user@pivot.apache.org" Subject: Exception thrown during paint() Thread-Topic: Exception thrown during paint() Thread-Index: Ac5XTGYlb2I0dxCTSMW+K+2ex/9P7Q== Date: Thu, 23 May 2013 00:28:06 +0000 Message-ID: <5DF08F1BFB57B74AACC565D0B19A0BCA8791EB@umelx10> Accept-Language: en-AU, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.190.1.19] Content-Type: multipart/alternative; boundary="_000_5DF08F1BFB57B74AACC565D0B19A0BCA8791EBumelx10_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_5DF08F1BFB57B74AACC565D0B19A0BCA8791EBumelx10_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Just as I was putting this email together I solved on my own problem. I s= hould have gone straight to the source as this was the best way to figure= =20out what was going on. So this message is now more of an enhancement request as the following ex= ception message would have saved me debug time: Line 86 org.apache.pivot.json.JSON.java throw new IllegalArgumentException("Getter Method for Bean Property \"" += =20key + "\" not found in \"" + root.getClass().getName() + "\""); Exception thrown during paint(): java.lang.IllegalArgumentException: Gett= er Method for Bean Property "id" not found in "au.com.uecomm.fulfillment.= psf.model.Transaction" Line 86 currently looks like: throw new IllegalArgumentException("Property \"" + key + "\" not found.")= ; Exception thrown during paint(): java.lang.IllegalArgumentException: Prop= erty "id" not found. Cheers, Jason This message and its attachments may contain legally privileged or confid= ential information. It is for the intended addressee(s) only. If you are not the intended recipient you must not disclose or use the in= formation contained in it. If you have received this email in error pleas= e notify us immediately by return email and delete the document. Any views expressed in this message are those of the individual sender, e= xcept where the sender specifies and with authority, states them to be th= e views of the Company. Uecomm accepts no liability for any damage caused by this email or its at= tachments due to viruses, interference, interception, corruption or unaut= horised access. #########################################################################= ############ This e-mail message has been scanned for Viruses and Content and cleared = by NetIQ MailMarshal #########################################################################= ############ --_000_5DF08F1BFB57B74AACC565D0B19A0BCA8791EBumelx10_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =

Hi,

 

Just as I was putting this email together I solved= =20on my own problem. I should have gone straight to the source as this w= as the best way to figure out what was going on.

 

So this message is now more of an enhancement requ= est as the following exception message would have saved me debug time:

 

 

Line 86 org.apache.piv= ot.json.JSON.java

throw new IllegalArgumentException(= "Getter =20Method for Bean Property \"" + key + "\" not found in \"" &#= 43; root.getClass().getName() + "\"");

 

Exception thrown during paint(= ): java.lang.IllegalArgumentException: Getter Method for Bean Property &= quot;id" not found in "au.com.uecomm.fulfillment.psf.model.Tran= saction"

 

 

Line 86 currently looks like:

throw new IllegalArgumentException(= "Property =20\"" + key + "\" not found.");

 

Exception thrown during paint(= ): java.lang.IllegalArgumentException: Property "id" not found= .

 

 

Cheers,

 

Jason

 

This=20 message and its attachments may contain legally privileged or confidentia= l=20 information. It is for the intended addressee(s) only.

I= f=20 you are not the intended recipient you must not disclose or use the infor= mation=20 contained in it. If you have received this email in error please notify u= s=20 immediately by return email and delete the document.

Any=20 views expressed in this message are those of the individual sender, excep= t where=20 the sender specifies and with authority, states them to be the views of t= he=20 Company.

U= ecomm=20 accepts no liability for any damage caused by this email or its attachmen= ts due=20 to viruses, interference, interception, corruption or unauthorised=20 access.


This e-mail message has been scanned for Viruses and Content and cleared = by=20 NetIQ MailMarshal
--_000_5DF08F1BFB57B74AACC565D0B19A0BCA8791EBumelx10_--