-
April 12th, 2010, 03:58 PM
#1
Exception in metadataAdapter
some time I am facing following exception on closing client by killing client in metadataAdapter
Exception in thread "TIMER FOR PUMPS PARKING DESTROYER" java.lang.NullPointerException
at com.iontrading.lightstreamer.dataadapter.MixedMeta dataAdapter.notifySessionClose(MixedMetadataAdapte r.java:205)
and i think because of this exception I am not getting unsubscription call at dataAdapter
Please let me know the reason of this exception
-
April 13th, 2010, 09:18 AM
#2
The exception stack information reports a custom class, hence the exception is internal to the Metadata Adapter and occurs during the invocation of the custom notifySessionClose callback, which is outside our scope.
So, I can't confirm your assumption about unsubscriptions, as the exception occurs after all the housekeeping operations related to session closing have been accomplished.
An exception occurring at that stage should also not affect further operation by the "TIMER FOR PUMPS PARKING DESTROYER" thread.
If you notice that unsubscriptions don't occur when you expect them, please collect some log of the subscription lifecycle. It is produced by the "LightstreamerLogger.subscriptions" logger at DEBUG level. Unfortunately, this log is quite huge, as it includes the update events.
Similar Threads
-
By Alex Zherdev in forum Client SDKs
Replies: 1
Last Post: December 1st, 2011, 09:33 AM
-
By pwestlake in forum Adapter SDKs
Replies: 2
Last Post: April 21st, 2008, 01:39 PM
-
By ap7256 in forum Adapter SDKs
Replies: 2
Last Post: October 18th, 2007, 10:15 AM
-
By yanhu in forum Adapter SDKs
Replies: 1
Last Post: July 24th, 2007, 05:08 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 04:20 PM.
Bookmarks