posted 12 years ago
I have a large portlet application developed using the beehive pageflow framework that is bundled with WebLogic Portal 8.1. The application works great 95% of the time, however occasionally the pageflow loses all of its state/data and causes a Null Pointer Exception to be thrown since all the pageflow variables suddenly become null. The error appears to happen randomly anywhere throughout the pageflow and is not associated with a particular page. It is not easily reproduceable but I set up a Selenium script to jump through the pages of the workflow over and over again and I can reliably reproduce the error after 1,000 or so page requests. The error seems to happen quicker/occur more frequently if there is a lot of traffic on the website (during business hours) but is much harder to reproduce after hours. I've monitored the heap memory and do not see anything out of ordinary and even tried bumping up the maximum heap memory with no luck. As far as I can tell the session is still in tact after the error occurs but the data for that particular pageflow is completely lost.
Has anyone else encountered issues like this? I do not believe it is a bug in my code, it looks to be a problem with Weblogic/Beehive framework although I have not found any documentation to support this.
Please help I've been working on this for a week and am about to pull my hair out.