Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
Toolname ArgumentNullException after update
Toolname ArgumentNullException after update
Post Reply
Toolname ArgumentNullException after update
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
usyber
usyber
posted 10 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 10,
Visits: 106
I have solved the issue by recreating my control forms from ground up new. The problem maybe occurs due to mixture of used diagram assemblies after updating from v14 to v15. Rebuild does not solve the issue.
The deserialization statement then had a problem where all tool names within the NDiagramView.Controller.Tool collection are unnamed (Name property = null). Every time when I opened the VS designer the Form.resx was changed and after that the tool names were invalid.
this.nDrawingView.DesignTimeState = ((Nevron.Diagram.NBinaryState)(resources.GetObject("nDrawingView.DesignTimeState")));
By the way.
The Nevron support was really fast and highly committed to solve the issue! Thank you, therefore.
best regards,
Uli
Reply
Like
0
usyber
usyber
posted 10 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 10,
Visits: 106
Dear Nevron forum,
after updating from v14 to v15 and entering the new desktop license key the code throws a ArgumentNullException for the tool names.
Is this a license key problem or an assembly problem?
There is also a problem to get the existing tool by the name. The following expression returns null although the tool exists (The name is null).
var textTool = nDrawingView.Controller.Tools.GetToolByName(NDWFR.ToolCreateText);
Best regards,
Uli
Attachments
ToolNameArgumentNullException.png
(
930 views,
44.00 KB
)
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search