Login  Register

Re: Having trouble running Linear Hough Transform plug-in from Burger & Burge

Posted by Chuck Harrison-2 on Jul 24, 2010; 12:07am
URL: http://imagej.273.s1.nabble.com/Having-trouble-running-Linear-Hough-Transform-plug-in-from-Burger-Burge-tp3687499p3687501.html

Thanks, Johannes,

> Another is that you have multiple versions of LinearHT.class in your class
> path.
That was it; I had another version of LinearHT buried in my directories.

Bless you!
  Chuck

On Fri, Jul 23, 2010 at 3:09 PM, Johannes Schindelin
<[hidden email]> wrote:

> Hi,
>
> On Fri, 23 Jul 2010, Chuck Harrison wrote:
>
>> I get an error
>> java.lang.NoSuchMethodError: hough.LinearHT.getMaxLines(II)Ljava/util/List;
>>       at Plugin_Hough_Linear.run(Plugin_Hough_Linear.java:86)
>
> This error typically occurs when you compiled against another version of
> the class (in this case, hough.LinearHT) than you have available in your
> classpath.
>
> One possibility is that you edited LinearHT.java and compiled that class
> after compiling Plugin_Hough_Linear.java.
>
> Another is that you have multiple versions of LinearHT.class in your class
> path.
>
> If that does not help you along, I am afraid I need to see your source
> code to help further.
>
> Hth,
> Johannes
>
>