|
|
Re: NullPointerException in DescriptorEventManager.notifyListener [message #651169 is a reply to message #651044] |
Fri, 28 January 2011 07:11 |
Steffen Ewert Messages: 6 Registered: January 2011 |
Junior Member |
|
|
Hi James,
thanks for your reply.
The error comes only sometimes (very occasionally). After the error occurred all is running fine again (until the error occurred again after some weeks). That means also that eclipseLink is already initialised and works fine if the error occurred.
The only thing I do is register the listener inside the orm.xml (see my first post). I do not deregister the listener inside of my code. I have search the listener class inside of my project and I have found it only in the orm.xml and the listener's class file by self (and in some jar's).
That what I will try now is to catch and log all exceptions inside of listener methods. May be there is anything wrong (but I don't believe it). I'm also thinking to add some logs in the listener methods, but I must check if the performance is good enough, because the system is already productive and the error is so occasionally that I cannot reproduce it in the test environment ...
[Updated on: Fri, 28 January 2011 07:12] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02735 seconds