This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project. See the Kawa home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> > Please try this patch. > Unfortunately, when typing (toplevel '.x) (checkbutton '.x.c) I get the following error after the call to `checkbutton' (you have the definition in the code I sent you): java.lang.NullPointerException at gnu.bytecode.CodeAttr.emitGetField(Compiled Code) at gnu.expr.LambdaExp.loadHeapFrame(Compiled Code) at gnu.expr.Declaration.loadOwningObject(Compiled Code) at gnu.expr.Declaration.load(Compiled Code) at gnu.expr.ReferenceExp.compile(Compiled Code) at gnu.expr.ApplyExp.compile(Compiled Code) at gnu.expr.ApplyExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.BeginExp.compile(Compiled Code) at kawa.standard.convert.compile(Compiled Code) at gnu.expr.ApplyExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.ObjectExp.compile(Compiled Code) at gnu.expr.LambdaExp.compileAlloc(Compiled Code) at gnu.expr.LambdaExp.compile(Compiled Code) at gnu.expr.ObjectExp.compile(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.BeginExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.IfExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.ApplyExp.compile(Compiled Code) at gnu.expr.ApplyExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.BeginExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.BeginExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.LetExp.compile(Compiled Code) at gnu.expr.Expression.compileWithPosition(Compiled Code) at gnu.expr.Compilation.addClass(Compiled Code) at gnu.expr.Compilation.<init>(Compiled Code) at gnu.expr.LambdaExp.eval(Compiled Code) at gnu.expr.ModuleExp.evalModule(Compiled Code) at kawa.Shell.run(Compiled Code) at kawa.Shell.run(Compiled Code) at kawa.repl.main(Compiled Code) Aleks > --Per Bothner > Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner > > Index: ObjectExp.java > =================================================================== > RCS file: /cvs/kawa/kawa/gnu/expr/ObjectExp.java,v > retrieving revision 1.4 > diff -u -r1.4 ObjectExp.java > --- ObjectExp.java 1999/03/11 10:57:07 1.4 > +++ ObjectExp.java 1999/03/19 02:55:41 > @@ -12,6 +12,8 @@ > public ObjectExp () > { > type = null; > + // Make sure we actually generate a class. > + setCanRead(true); > } > > public String getJavaName () >