Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: johnno on Wed 16/07/2008 05:01:33

Title: Unhandled Error
Post by: johnno on Wed 16/07/2008 05:01:33
Hi,

I have installed AGS on a school network and keep getting the following message, this is after loading a template and trying to run the game....

Error: The process cannot access the file 'H:\Data\gfds\dbgrecv.tmp' because it is being used by another process.
Version: AGS 3.0.2.44

System.IO.IOException: The process cannot access the file 'H:\Data\gfds\dbgrecv.tmp' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path)
   at AGS.Editor.EngineCommunication._watcher_Changed(Object sender, FileSystemEventArgs e)
   at System.IO.FileSystemWatcher.OnChanged(FileSystemEventArgs e)
   at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlappe

Any help would be great,

Thankyou
Title: Re: Unhandled Error
Post by: Pumaman on Wed 16/07/2008 20:39:50
Hmm I was sure that was fixed in 3.0.2, I'll investigate it further.

You can get around it by using the Ctrl+F5 (Run Without Debugger) option, but obviously you won't be able to use the debugger as a result.
Title: Re: Unhandled Error
Post by: Dualnames on Wed 16/07/2008 21:23:25
Error: Object reference not set to an instance of an object.
Version: AGS 3.0.2.42

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.Label.CreateTextFormatFlags()
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


I get this a lot and a random object(it seems like random gets a pic like a white box with red borders. It doesn't bother me a lot and doesn't crash the editor..and Ithink someone has said that it has something to do with memory.. but anyway.
Title: Re: Unhandled Error
Post by: Pumaman on Wed 16/07/2008 23:09:21
Hmm that's a strange one, looks like it's some sort of internal .NET error. I'll have to see if I can find out more about this.