From: Eric B. R. <eb...@tc...> - 2002-11-07 21:00:03
|
On Thursday, November 7, 2002, at 09:11 AM, Endre St=F8lsvik wrote: > I get this error when trying to access some property. It is just on =20= > this > one single installation, and I can't seem to understand why. =20 > Everything is > (seems to be) exactly the same on the prod and devel sites, however, =20= > the > devel site is OK, while this one function always gives this exception =20= > on > the prod site: > > (Webmacro 1.0) <snip> this isn't WebMacro's fault. :) > The secondary stack trace: > > -- secondary stack trace -- > java.lang.IllegalAccessError: tried to access method =20 > java.lang.Object.clone()Ljava/lang/Object; from class =20 > com.corelets.statistics.SamplerHolder > at =20 > = com.corelets.statistics.SamplerHolder.getValues(SamplerHolder.java:208) <snip> > HERE =3D=3D>> ret.lastSample =3D (double[]) _lastSample.clone(); You found the line. I'm willing to bet that whatever object this =20 _lastSample variable is, at one point didn't "implements Cloneable" =20 (but now it does), and somehow your compiled .class files got out of =20 sync. Try rebuilding all your sources and doing it again. eric |