View previous topic :: View next topic |
Author |
Message |
althurm
Joined: 09 Aug 2016 Posts: 9
|
Posted: Mon Aug 29, 2016 6:42 pm Post subject: Unhandled exception when making new sale |
|
|
Hello All,
I have my license tracker server setup as SQL server and am able to make new sales fine on my machine. On another machine I have a different user that is trying to make sales on the same SQL Server db. When I do new sale I try to select a product in the product dropdown. When I select my desired product I am getting an exception thrown by the software:
"An unhandled exception occured in Infralution License Tracker."
Exception Type: ObjectDisposedException
Message: Cannot access a disposed object.
Object Name: 'VirtualListBox'.
And it goes on to list the stack trace, etc... Has anyone seen this or have any idea what might cause this? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Aug 29, 2016 10:12 pm Post subject: |
|
|
Can you repeat the error? If so can you please post the exact steps that cause the error. Also if you could post the stack trace (pressing Control-C will copy the message dialog text to the clipboard) that would help. _________________ Infralution Support |
|
Back to top |
|
|
althurm
Joined: 09 Aug 2016 Posts: 9
|
Posted: Tue Aug 30, 2016 1:58 pm Post subject: |
|
|
Basicaly I had created a product variant
1. Open License Tracker
2. Click New Sale
3. At the Product dropdown I see My parent product and when I click the dropdown arrow I see the product variant under that.
4. Choose the Product variant which is 2nd in the dropdown list
The exception then comes. There seems to be an issue with how the GUI handles mouse clicks (just figured this out). Because if I use the keyboard and just tab to the dropdown and use the arrow keys to select the product then it seems to work fine. Not sure if this matters but, machine showing the issue is Win 7 x64 with .net framework 3.5
---------------------------
Unhandled Exception
---------------------------
An unhandled exception occurred in Infralution License Tracker. Please contact Infralution and provide the information given below:
Exception Type: ObjectDisposedException
Message: Cannot access a disposed object.
Object name: 'VirtualListBox'.
Stack Trace:
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.PointToClientInternal(Point p)
at Infralution.Controls.VirtualListBox.OnDragSelectTimerTick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Click Retry to attempt to continue, Abort to terminate the program or Ignore to continue and ignore any further errors.
---------------------------
Abort Retry Ignore |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Aug 30, 2016 10:09 pm Post subject: |
|
|
So this happens without another user also accessing the database?
Unfortunately I can't replicate this issue. Are you able to replicate it each time?
What version of License Tracker are you using?
How many products are there in the drop down list? _________________ Infralution Support |
|
Back to top |
|
|
althurm
Joined: 09 Aug 2016 Posts: 9
|
Posted: Wed Aug 31, 2016 10:55 am Post subject: |
|
|
I am able to replicate it. Actually, one of two things will happen When I try to select the 2nd product in the list:
1. The exception occurs
2. Nothing happens and the dropdown goes back up and the 1st product remains selected
If I keep trying to select the 2nd selection eventually the exception will occur
Version 6.2.0.0
There are only 2 products in the dropdown |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Aug 31, 2016 11:39 pm Post subject: |
|
|
That's strange. I've set up License Tracker to replicate your configuration but still can't replicate an error. Do you get the same issue with other dropdowns (for instance the Customer dropdown in the Sale dialog)?
Are you doing anything unusual - or is there anything unusual about your machine? _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Sep 01, 2016 12:42 am Post subject: |
|
|
Even though I can't replicate the issue I think I can see how the error may occur. I have uploaded a beta version of the next release (6.3.0) which includes a fix for this. You can you download this beta version from:
www.infralution.com/downloads/InfralutionLicensingSetup6-3-0Beta.exe
If you can install this and verify whether it fixes the issue on your machine. We will then release the version formally after some further testing. _________________ Infralution Support |
|
Back to top |
|
|
althurm
Joined: 09 Aug 2016 Posts: 9
|
Posted: Thu Sep 01, 2016 3:56 pm Post subject: |
|
|
Unfortunately, the machine that has the issue is in our software loading cell on our manufacturing floor. I do not have authorization to install and test beta software on that machine. We have rewritten our procedure to just use the keyboard at the New Sale dialog. Essentially the manufacturing engineer will just tab to each dropdown and use the arrow keys to make his selection. Thanks |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Sep 01, 2016 10:53 pm Post subject: |
|
|
Have you seen the issue on any other machines that you can access?
We will release Version 6.3 with the change anyway - since it does no harm. _________________ Infralution Support |
|
Back to top |
|
|
|