Results 1 to 2 of 2
  1. #1

    Question Unexpected PushServerException ("Wrong Item Number")

    Hi!
    I've got a strange issue with the Lightstreamer .Net Client after migration from SimpleTableInfo to ExtendedTableInfo.
    When I'm trying to get data from streamer using an ExtendedTableInfo object Lightstreamer .Net Client throws a PushServerException (with "Wrong Item Number" as message):
    Code:
    2015-08-17 11:57:11,175: Read data: 1,2|402668921|-1|400615766|2441.550000000|0.000000000|2447.450000000|0.000000000|50.0000|6|1|1|\u005C/Date(1439801830000)\u005C/|$|30|true|7|400250261
    2015-08-17 11:57:11,175: Read event for item n╟2 in table n╟1 with values [402668921, -1, 400615766, 2441.550000000, 0.000000000, 2447.450000000, 0.000000000, 50.0000, 6, 1, 1, \/Date(1439801830000)\/, , 30, true, 7, 400250261]
    2015-08-17 11:57:11,181: Closing stream connection
    2015-08-17 11:57:11,196: Error in received valuesLightstreamer.DotNet.Client.PushServerException: Wrong item number
       at Lightstreamer.DotNet.Client.FullTableManager.ProcessUpdate(ServerUpdateEvent values, Int32 itemPos, Int32 itemIndex)
       at Lightstreamer.DotNet.Client.FullTableManager.DoUpdate(ServerUpdateEvent values)
       at Lightstreamer.DotNet.Client.MyServerListener.OnUpdate(ITableManager table, ServerUpdateEvent values)
    When I've used SimpleTableInfo object everything worked fine.
    What I'm doing wrong?

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    That's probably because there was an issue moving from SimpleTableInfo to ExtendedTableInfo as while the former expects a group id the latter expects a list of item names. The list of item names is then composed into a group id to be sent to the server by joining all the item names separating them with a white space. Note that for ExtendedTableInfo to be used the Metadata adapter on the server must be able to correctly interpret the group id as composed by the ExtendedTableInfo.


    Hope this information will help you solve your issue,


 

 

Similar Threads

  1. Replies: 1
    Last Post: January 8th, 2014, 09:41 AM
  2. Replies: 2
    Last Post: March 29th, 2013, 03:59 AM
  3. Replies: 7
    Last Post: June 7th, 2010, 10:38 AM
  4. PushServerException: "No more answer from server"
    By mnfjorge in forum Client SDKs
    Replies: 2
    Last Post: March 16th, 2010, 09:21 PM
  5. Replies: 3
    Last Post: February 19th, 2010, 12:14 AM

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 05:47 PM.