[2854] in java-interest

home help back first fref pref prev next nref lref last post

Re: frustrating error

daemon@ATHENA.MIT.EDU (Anselm.BairdSmith)
Wed Oct 18 07:06:28 1995

Date: Wed, 18 Oct 1995 09:53:35 +0100
From: "Anselm.BairdSmith" <Anselm.Baird_Smith@inria.fr>
To: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
Cc: java-interest@java.Eng.Sun.COM, mentor@io.org
In-Reply-To: <9510172225.AA20489@bendenweyr.Eng.Sun.COM>


Jim Graham writes:
 > 
 > >   java.lang.NoSuchMethodError
 > >     at sun.applet.AppletPanel.run(AppletPanel.java:221)
 > >     at java.lang.Thread.run(Thread.java)
 > > 
 > > Now, that's helpful! Just which method is missing? (I would normally go
 > > chasing off to look at sun.applet.AppletPanel, but I don't have that
 > > file...).
 > 
 > I believe this will happen if you don't implement a constructor with a
 > null argument list.  You will have a "null constructor" if you don't
 > implement any constructors at all (a null constructor is inserted for
 > you) or if you explicitly implement a constructor with an empty argument
 > list.  But, if your Applet implements a constructor that has some arguments
 > and doesn't explicitly implement a null constructor, you will get this
 > error...

I also get this error when some files are out of compilation sync
(i.e: recompiling every thing eliminates it).

This might help too,

Anselm.

Anselm.BairdSmith@inria.fr - http://www.inria.fr/koala/abaird.html


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post