Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!216.196.98.142.MISMATCH!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail NNTP-Posting-Date: Thu, 22 Sep 2011 00:09:31 -0500 From: "Qu0ll" Newsgroups: comp.lang.java.programmer Subject: java.lang.VerifyError running Eclipse project Date: Thu, 22 Sep 2011 15:09:23 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 Message-ID: Lines: 35 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 124.169.4.250 X-Trace: sv3-DSci961XfgpL3ux8W7xXDBM767KxQsUHRXUMbsi6gm+qJbBiY9StubCjXe4AG516GmKwPcu/UQxapsx!yk9cBHhhU8uQnEvkOSCboXpswVKCldoBisL+ETKHLG7yJKiOBpGZyyUe90Ar3+BQghp9VbAhuolD!64fNkGnNZZo3HUd2lfJ6 X-Complaints-To: abuse@westnet.com.au X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2490 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8195 I am getting the following error when I run my Eclipse RCP application: java.lang.VerifyError: (class: com/mybiz/myproj/model/ResultsModel, method: buildModel signature: (Ljava/lang/String;Lcom/mybiz/myproj/search/DocumentType;Z)Ljava/util/List;) Incompatible argument to function which I don't comprehend. The actual signature for the buildModel() method is: List buildModel(String, DocumentType, boolean) so it seems to have lost the boolean 3rd parameter unless that's what the Z indicates in the error? I only added this boolean parameter recently. What could be causing this error? Figuring it's a stale class definition floating around somewhere I have done a clean and build but it hasn't helped. Curiously, this method references a class from another Eclipse plug-in of mine and if I comment out references to that class then I don't get the error (although the code doesn't work of course!). So why would referencing a foreign class somewhere in the method definition cause Java to think that the signature of the method is wrong? Any ideas? -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]