Profile Picture

Possible bug in NTreeNodePath class

Posted By Dzmitry Lavysh 7 Years Ago
Author
Message
Dzmitry Lavysh
Problem Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 2, Visits: 15

The issue:Before selecting any item in TreeView, try hold "Shift" key and click on some item

 This will causes an exception in NTreeNodePath class.(FormatException.Input string was not in a correct format).The exception is thrown because the OwnerCollection for selected NLightItem is null and internal array with items doesn't processed correctly.
The exception place: Nevron.UI.WinForm.Controls.dll -> class NTreeNodePath -> method l1lll11I11() -> line this.m_Indices[index] = int.Parse(strArray[index]);

This occurs because strArray  contains one empty item and this item is empty string.



Tags
Bug
Nevron Support
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)

Group: Forum Members
Last Active: 10 hours ago
Posts: 2,962, Visits: 3,363
Hello Dzmitry,

Could you describe the scenario you are going through to get this error?
I could not replicate it.
Thanks.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic