Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2009
    Location
    Noida
    Posts
    26

    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
    Pradeep Kr Chahal
    Software Designer
    Expertise in implementing Market Interface, Push technology, Publish-Subscribe Architecture
    pkumar.chahal@gmail.com
    http://www.pradeepchahal.com

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    973
    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

  1. Strange exception
    By Alex Zherdev in forum Client APIs
    Replies: 1
    Last Post: December 1st, 2011, 09:33 AM
  2. MetaDataAdapter filtering using isSelected()
    By pwestlake in forum Adapter APIs
    Replies: 2
    Last Post: April 21st, 2008, 01:39 PM
  3. DataProviderServer exception
    By ap7256 in forum Adapter APIs
    Replies: 2
    Last Post: October 18th, 2007, 10:15 AM
  4. MetaDataAdapter for the Portofolio demo
    By yanhu in forum Adapter APIs
    Replies: 1
    Last Post: July 24th, 2007, 05:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:14 PM.