2006/3/12, Martin Maly <[EMAIL PROTECTED]>:
> I tried to look into this, but cannot reproduce the exception no matter
> how hard I try. Are you running IronPython with any command line parameters?

I am running IronPython with Mono (latest dev version). Perhaps that matters.

This bug happens only on interactive console. Running script is fine.

Here's the transcript with -X:ExceptionDetail:

IronPython 1.0.2258 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> class C:
...     x = 1
...
Object reference not set to an instance of an object
in <0x00060> System.Reflection.Emit.ILGenerator:Emit (OpCode opcode,
System.Reflection.MethodInfo method)
in <0x00024> IronPython.Compiler.CodeGen:Emit (OpCode opcode,
System.Reflection.MethodInfo meth)
in <0x0008b> IronPython.Compiler.CodeGen:EmitCall
(System.Reflection.MethodInfo mi)
in <0x000f9> IronPython.Compiler.ClassDef:Emit (IronPython.Compiler.CodeGen cg)
in <0x0001f> IronPython.Compiler.GlobalSuite:Emit
(IronPython.Compiler.CodeGen cg)
in <0x001c5> IronPython.Compiler.OutputGenerator:GenerateSnippet
(IronPython.Compiler.CompilerContext context, IronPython.Compiler.Stmt
body, System.String name, Boolean printExprStmts)
in <0x000bf> IronPython.Hosting.PythonEngine:DoOneInteractive
(IronPython.Runtime.Frame topFrame)
in <0x0002f> IronPython.Hosting.PythonEngine:RunInteractiveLoop ()
SystemError: Object reference not set to an instance of an object
>>>

Mono people? Any idea?

Seo Sanghyeon
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to