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


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

java.lang.VerifyError running Eclipse project

From "Qu0ll" <Qu0llSixFour@gmail.com>
Newsgroups comp.lang.java.programmer
Subject java.lang.VerifyError running Eclipse project
Date 2011-09-22 15:09 +1000
Message-ID <YZqdnbShV6yWXufTnZ2dnUVZ_r2dnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


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?

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

Back to comp.lang.java.programmer | Previous | NextNext 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