Breaktru Forum

eCigarette Forum => eJuice Calculator => Topic started by: johnnyyuma on May 06, 2015, 10:17:15 PM

Title: Unhandled exception has occured in your application
Post by: johnnyyuma on May 06, 2015, 10:17:15 PM
I keep getting this error message. What am I doing wrong? Thanks. I tried  the solution that was posted here without any luck.

http://breaktru.com/smf/index.php/topic,111.msg18687.html#msg18687

(http://i.imgur.com/4p2IW48.png)










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

************** Exception Text **************
System.InvalidCastException: Conversion from string "" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Operators.MultiplyObject(Object Left, Object Right)
   at eJuice_Me_Up.Form1.Button1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.PerformClick()
   at eJuice_Me_Up.Form1.OpenToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(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.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
eJuice Me Up
    Assembly Version: 15.4.3.0
    Win32 Version: 15.4.3.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Breaktru%20Software/eJuice%20Me%20Up/eJuice%20Me%20Up.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    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.5483 (Win7SP1GDR.050727-5400)
    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.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5488 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Microsoft.VisualBasic.PowerPacks.Vs
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.21022.8
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic.PowerPacks.Vs/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.PowerPacks.Vs.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    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.


Title: Re: Unhandled exception has occured in your application
Post by: Breaktru on May 07, 2015, 08:28:02 AM
What version are you using?
With the version you have now, when you receive the error, click Continue and then……..
Go to “Tools”, “Gram Set” and click “OK”.

Update:
A new version 15.5.4 should fix any errors
Title: Re: Unhandled exception has occured in your application
Post by: johnnyyuma on May 07, 2015, 10:25:48 AM
What version are you using?
With the version you have now, when you receive the error, click Continue and then……..
Go to “Tools”, “Gram Set” and click “OK”.



The solution works. Thanks Breaktru!

I have version 15.4.3.0.

(http://i.imgur.com/xFalZl8.png)

Title: Re: Unhandled exception has occured in your application
Post by: TVXpress on June 23, 2015, 01:38:52 PM
Was getting the same error, and found this post.
Solution worked.
Thanks breaktru!
Title: Re: Unhandled exception has occured in your application
Post by: ffrank on July 03, 2015, 11:15:37 PM
I'm not sure if this has has been reported, but the bug occurs in version 15.5.2.0.  The solution in this thread does work, but I just wanted to let you know the bug is still there.  BTW great calculator.  It's saving me lots of money!
Title: Re: Unhandled exception has occured in your application
Post by: Breaktru on July 06, 2015, 05:28:14 PM
I'm not sure if this has has been reported, but the bug occurs in version 15.5.2.0.  The solution in this thread does work, but I just wanted to let you know the bug is still there.  BTW great calculator.  It's saving me lots of money!

Thanks ffrank.
Check out version 15.5.4
Title: Re: Unhandled exception has occured in your application
Post by: ffrank on July 06, 2015, 05:39:09 PM
15.5.4 works perfectly.  Thanks for taking care of that so quickly.
Title: Re: Unhandled exception has occured in your application
Post by: novoleen on July 13, 2015, 07:11:48 AM
Loving the new version. Working flawlessly with me on Windows 8.1