Hello,
I am using Aspose.PDF (version 11.1.0.0) and purchase the Aspose.Total .Net License Less than a year ago, for 3 main operations:
1. reading pdf file by converting the pdf page to an image.
2. merging pdf files into one file.
3. text extraction.
1. reading pdf file by converting the pdf page to an image.
2. merging pdf files into one file.
3. text extraction.
Today we have faced a horrible problem in one of our live installations; for some reason Aspose.PDF started raising exceptions such as:
[EXCEPTION ] --> Object reference not set to an instance of an object.
[STACK TRACE] --> at ..(Stream )
at ..(String , Assembly )
[STACK TRACE] --> at ..(Stream )
at ..(String , Assembly )
the problem with Aspose.PDF is when this error starts showing up all actions performed using Aspose.PDF throws the same exception. It looks like something static inside the Aspose.PDF gets broken and the problem gets persistent. No actions can be performed until the whole process is killed and restarted. Please note that this is a web application with hundreds of users and killing the process means the system gets down for all of them.
Such a problem is causing our system being unfunctional for a couple of hours, and users get effected. The client is really really upset about this problem, and we have to find a solution right away.
Below are some facts about the problem, which we hope can help you figure out what is wrong.
1. This issue does not happen all the time; in fact it happenned for the first time in last 2 weeks.
2. When the exception starts showing up, Aspose.PDF dll is totally unusable (throws same exception for every action such as merge files, extract text etc.), until the process (w3wp) is restarted.
3. The issue is 90% related to something static inside Aspose.PDF
4. We have no idea about how to reproduce this (and hope it will not happen again, otherwise the client will kill me)
5. We have no idea about what triggerred this problem
6. Killing the w3wp process fixed the problem; however this is a terrible solution for any enterprise systems.
7. We absolutely do not cache any object related to Aspose.PDF; for each action it is created, license set and used.
2. When the exception starts showing up, Aspose.PDF dll is totally unusable (throws same exception for every action such as merge files, extract text etc.), until the process (w3wp) is restarted.
3. The issue is 90% related to something static inside Aspose.PDF
4. We have no idea about how to reproduce this (and hope it will not happen again, otherwise the client will kill me)
5. We have no idea about what triggerred this problem
6. Killing the w3wp process fixed the problem; however this is a terrible solution for any enterprise systems.
7. We absolutely do not cache any object related to Aspose.PDF; for each action it is created, license set and used.
Today, my system has been non-functional for about 7 hours due to this issue. As a company, i am really in a though situation now since client asks for an explanation as well as a solid situation.
I either need to figure out what causes this so that we can avoid it. Maybe you can provide possible reasons. I also need a solution; even a way to "refresh" the Aspose.PDF static stuff so that system functions properly without totally taking it down.
I have the same problem as the related post and I got to the same conclusions as they have, How did you solved their problem ??
please do not say "be patient". This has been the worst problem I have faced so far.
Thanks in advance.