Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8206

Re: java.lang.VerifyError running Eclipse project

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: java.lang.VerifyError running Eclipse project
Date Thu, 22 Sep 2011 08:33:33 -0700 (PDT)
Organization http://groups.google.com
Lines 32
Message-ID <5798675.575.1316705613833.JavaMail.geo-discussion-forums@prib32> (permalink)
References <YZqdnbShV6yWXufTnZ2dnUVZ_r2dnZ2d@westnet.com.au>
Reply-To comp.lang.java.programmer@googlegroups.com
NNTP-Posting-Host 2620:0:1000:fd42:224:d7ff:fe69:5838
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1316705615 1928 127.0.0.1 (22 Sep 2011 15:33:35 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Thu, 22 Sep 2011 15:33:35 +0000 (UTC)
In-Reply-To <YZqdnbShV6yWXufTnZ2dnUVZ_r2dnZ2d@westnet.com.au>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=2620:0:1000:fd42:224:d7ff:fe69:5838; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
User-Agent G2/1.0
X-Google-Web-Client true
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8206

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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