Dizzi's Support Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2009, 03:15:16 PM

Login with username, password and session length
Search:     Advanced search
PoseMagic2Pose in store now.
731 Posts in 153 Topics by 174 Members
Latest Member: fredericr
* Home Help Search Login Register
+  Dizzi's Support Forum
|-+  Advanced Library
| |-+  Bug Reports
| | |-+  1.0.1.0 Beta - Divide by Zero Error when Library frame too big
« previous next »
Pages: [1] Print
Author Topic: 1.0.1.0 Beta - Divide by Zero Error when Library frame too big  (Read 2023 times)
acanthis
Jr. Member
**
Posts: 51


« on: November 26, 2005, 05:56:51 AM »

How to cause it: Open AL 1.0.1.0 Beta. Drag the divider bar of the library window as far over to the right as it can go and let go of the mouse.

Result: Fails with the following exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
   at Advanced_Library.MyImageList.UpdateScrollBar()
   at Advanced_Library.MyImageList.MyImageList_SizeChanged(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Advanced_Library
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Documents%20and%20Settings/acanthis/Local%20Settings/Apps/2.0/K7Z40B1Q.HNV/07D30AHZ.R6A/adva..tion_ce6ab65508030bfe_0001.0000_f4f84ddaa3c9b65f/Advanced_Library.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Note: Can also fail when you try and maximise the Library window on startup, if you have somehow managed to drag the divider too far in the previous session.
Logged
Dizzi
Global Moderator
Sr. Member
*****
Posts: 329


« Reply #1 on: November 26, 2005, 06:49:23 AM »

Thanks, fixed with next release and latest beta
Logged
acanthis
Jr. Member
**
Posts: 51


« Reply #2 on: November 26, 2005, 07:19:06 AM »

Thanks, fixed with next release and latest beta

Confirmed. That problem is fixed in 1.0.1.2
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!