I have a couple of MS Project files that cause an 'Object reference not set to an instance of an object.' message when calling the Read method on the ProjectReader class (using a stream). I can provide you with a copy of the file if its any help.
We are using version 2.0.0.6 of Tasks.
This is causing some problems for customers of ours and we would appreciate some support (as my previous 2 support posts to this forum have gone unacknowleged).
Last beta version is 2.0.0.13. We also published 2.1.0 release which is actually the same 2.0.0.13 version. Please try it. If you still have any problems with 2.1.0 release then please provide project file that cause the exception.
I've tried the 2.1 version of Tasks but am still getting the issue as reported. I have attached an example file to an e-mail I sent to tyumen@aspose.com.
I've downloaded v2.1.1, and it seems to have solved some of the problems it hasn't solved all.
I've tried it on the test file I think I sent earlier attached to an email to alcrus. This still fails. I've also tried it on one of our customer files we were having problems with and it now works.
Let me know if you require another copy of the test file that is still failing.
I downloaded the update from the link provided. Ran the msi, took the repair option.
I still get the problem on the file I attached to the last post for you to test.
After running the repair the tasks assembly in the bin folder didn't look to be any different to the previous one. Could it be the link you attached was for the previous version?
In case of problem with updating you should uninstall previous version of Aspose.Tasks. After that delete Aspose.Tasks folder in “Program Files\Aspose” and then install new version. Version of the new dll should be 2.1.1.2.
We installed the latest Aspose.Tasks dll and still experience the "Object reference not set to an instance of an object" error. I attached the file that causes the error.
When you say a new version is available (I see the zip file in this topic), does this mean that the MSI available from the download section has also been updated?
Msi installer is not updated yet. We are going to publish official hot fix 2.1.2 at the end of this week. Small fixes usually posted in the forum at first to avoid frequent updating of main downloads. I can post Msi installer if you need it.
Thank you very much for your help. I installed the new version and now can upload the .mpp file I had sent you. But now I have a problem with the file attached, the error is the same, "Object not set...". If I use the previous version of Aspose.Tasks dll, everything is ok with this file.
It looks like mpp12 project files have one more way to define empty resources. I hope it was last one so probably we found all of them with your help now. Thank you for the example and please download attached new Aspose.Tasks.