[Mono-bugs] [Bug 78331][Cri] New - GTK# and jscript,
Application undelcared variable?!
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 8 00:41:26 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jhope at lungshrimp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78331
--- shadow/78331 2006-05-08 00:41:26.000000000 -0400
+++ shadow/78331.tmp.21156 2006-05-08 00:41:26.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 78331
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details: Windows XP SP2 Tablet PC Edition
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: JScript
+AssignedTo: cesar at ciencias.unam.mx
+ReportedBy: jhope at lungshrimp.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: GTK# and jscript, Application undelcared variable?!
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+Trying to work with mjs and gtk# as per this example I found
+http://primates.ximian.com/~cnataren/blog/archive/2005/Oct-21.html
+
+I have tried refercing /:lib and /r: but it doesnt really seem to matter
+
+Steps to reproduce the problem:
+1. Copy the example from http://primates.ximian.com/~cnataren/blog/index.
+html
+2. Compile it??
+3. Run it??
+
+Actual Results:
+C:\sockpuppet\swfplay>mjs /pkg:gtk-sharp-2.0 mine.js
+warning JS1135: Variable 'Application' has not been declared
+warning JS1135: Variable 'Window' has not been declared
+warning JS1135: Variable 'Application' has not been declared
+Compilation succeeded
+
+C:\sockpuppet\swfplay>mono mine.exe
+
+Unhandled Exception: Microsoft.JScript.JScriptException: Unexpected type:
+value
+is null or undefined
+in <0x00103> Microsoft.JScript.Convert:ToObject (System.Object value,
+Microsoft.
+JScript.Vsa.VsaEngine engine)
+in <0x001a1> JScript 0:Global Code ()
+in <0x00054> JScript Main:Main (System.String[] )
+
+
+Expected Results:
+A nice window
+
+How often does this happen?
+All the time
+
+Additional Information:
More information about the mono-bugs
mailing list