Saving a job after importing items from a csv file throws an exception and crashes MaxCut
AnsweredHi,
When I import items from a csv file and then try and save my job file I get the following error and MaxCut crashes without saving the job...
De objektverwijzing is niet op een exemplaar van een object ingesteld.
English translation:
The object reference is not set to an instance of an object.
Adding items to a new job manually and then saving them works fine. Please could you help?
-
Official comment
Hi, thanks for reporting this issue. I've been able to replicate it on our side using the files you sent through. To explain to our users what is happening I will go through the steps to replicate the bug.
Step 1: Make sure that you have "Unrecognized items set to none"
Step 2: Import the attached csv file
Step 3:See it's imported all items, even the item it was not able to recognize....
Step 4: Now click save, you get an exception...
Looking behind the scenes in the code, MaxCut is crashing is because it does not know how to serialize the unrecognized item.
As temporary work around while we fix the issue, you can do the following:
Change the unrecognized input item to something other than "none". To do this go to Settings > Item Defaults > Unrecognized Item. You should see a window similar to the one in the attachment. After you have changed the value, close MaxCut and re-open it (this way your settings are saved even if the program crashes on clicking save). Then re-do your import and remove any of the items that you don't want included.
Please sign in to leave a comment.
Comments
1 comment