John Kininjjew
asked on
System.ArgumentNullException: ''dataType' argument cannot be null.
For some reason this has now become and issue. I am really not sure how as its been working fine.
I am getting a System.ArgumentNullExcepti on: ''dataType' argument cannot be null.
Parameter name: dataType'
I have attached a screen shot of this error and code. Help, I cant seem to see the issue here.
System.String-Error.PNG
I am getting a System.ArgumentNullExcepti
Parameter name: dataType'
I have attached a screen shot of this error and code. Help, I cant seem to see the issue here.
System.String-Error.PNG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The error was the decimal spelling. I really don't know why the debugger stopped on the Serial entry! Weird!
If you followed my second advice, the error would be eliminated by itself. Please consider to make more optimal code.
Was this line modified recently? If yes, are you sure all the characters are 7bit ASCII symbols, not some other languages?
Try to cache the data type objects in the beggining of the BuildItemsTable() method and use the same data type objects on each similar type Add() methods.