Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8206
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: java.lang.VerifyError running Eclipse project |
| Date | 2011-09-22 08:33 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <5798675.575.1316705613833.JavaMail.geo-discussion-forums@prib32> (permalink) |
| References | <YZqdnbShV6yWXufTnZ2dnUVZ_r2dnZ2d@westnet.com.au> |
Qu0ll wrote: > 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<String> 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? Looks like 'ResultsModel' in the link to the unnamed client is an out-of-date version. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
java.lang.VerifyError running Eclipse project "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-09-22 15:09 +1000
Re: java.lang.VerifyError running Eclipse project Lew <lewbloch@gmail.com> - 2011-09-22 08:33 -0700
Re: java.lang.VerifyError running Eclipse project "Qu0ll" <Qu0llSixFour@gmail.com> - 2011-09-23 02:23 +1000
Re: java.lang.VerifyError running Eclipse project Lew <lewbloch@gmail.com> - 2011-09-22 10:19 -0700
csiph-web