-
January 30th, 2008, 01:03 PM
#1
com.lightstreamer.i.jc cannot be cast to java.lang
Hi Lightstreamer team,
While testing my apps, I received this message and exception below. Can you explain to me what this means ?
AFAIK, I never try to do such thing as "update management" what so ever.
as for the exception, I was trying to send a message to lightstreamer to delete a row in a dynametaplus table. the map is a HashMap<String,String> table.
Please give me a way to solve these problems ?
TIA, Dyan
30.Jan.08 19:58:25,833 <ERROR> Update management failed
java.lang.ClassCastException: com.lightstreamer.i.jc cannot be cast to java.lang
.String
at com.lightstreamer.d.pb.b(pb.java)
at com.lightstreamer.d.pb.a(pb.java)
at com.lightstreamer.d.pb.b(pb.java)
at com.lightstreamer.d.pb.a(pb.java)
at com.lightstreamer.d.eb.a(eb.java)
at com.lightstreamer.d.nb.smartUpdate(nb.java)
-
January 31st, 2008, 11:34 AM
#2
We need to investigate; as the Map values are already ensured to be Strings, the passed Map seems to be OK.
May you please specify the Server edition and version/build?
-
February 12th, 2008, 02:22 PM
#3
After investigating with ddhanis, this turned out to be a side effect of reusing the objects sent to the ItemEventListener, which, however, is not supported by the ItemEventListener specifications.
-
March 3rd, 2009, 01:32 PM
#4
Hi Dario,
We're getting a similar error message (stack trace below) - is it the same issue that ddhanis came across? We're running version 3.4.8, Vivace edition.
Many thanks,
Richard
03-Mar-09 09:09:57,578 |ERROR|LightstreamerLogger.pump |PUMP POOLED THREAD 4 |Unexpected error while sending data
java.lang.ClassCastException: java.lang.String cannot be cast to com.lightstreamer.c.gc
at com.lightstreamer.a.j.a(j.java)
at com.lightstreamer.b.b.c.a(c.java)
at com.lightstreamer.b.b.j.a(j.java)
at com.lightstreamer.b.b.k.a(k.java)
at com.lightstreamer.b.j.a(j.java)
at com.lightstreamer.b.a.s.a(s.java)
at com.lightstreamer.b.a.i.a(i.java)
at com.lightstreamer.b.a.i.a(i.java)
at com.lightstreamer.b.a.c.a(c.java)
at com.lightstreamer.b.a.db.d(db.java)
at com.lightstreamer.b.a.db.k(db.java)
at com.lightstreamer.b.l.a(l.java)
at com.lightstreamer.c.vb.run(vb.java)
at com.lightstreamer.c.u.a(u.java)
at com.lightstreamer.c.v.run(v.java)
03-Mar-09 09:09:57,578 |ERROR|LightstreamerLogger.scheduler |PUMP POOLED THREAD 4 |Unexpected error while sending data
com.lightstreamer.f.bb: java.lang.ClassCastException: java.lang.String cannot be cast to com.lightstreamer.c.gc
at com.lightstreamer.b.a.c.a(c.java)
at com.lightstreamer.b.a.db.d(db.java)
at com.lightstreamer.b.a.db.k(db.java)
at com.lightstreamer.b.l.a(l.java)
at com.lightstreamer.c.vb.run(vb.java)
at com.lightstreamer.c.u.a(u.java)
at com.lightstreamer.c.v.run(v.java)
03-Mar-09 09:09:57,578 |INFO |LightstreamerLogger.connections |PUMP POOLED THREAD 4 |Failed HTTP connection on Lightstreamer HTTP Server from 192.168.71.110:1357
03-Mar-09 09:09:57,578 |ERROR|LightstreamerLogger.connections |PUMP POOLED THREAD 4 |Failure in HTTP connection on Lightstreamer HTTP Server
com.lightstreamer.f.bb: java.lang.ClassCastException: java.lang.String cannot be cast to com.lightstreamer.c.gc
at com.lightstreamer.b.a.c.a(c.java)
at com.lightstreamer.b.a.db.d(db.java)
at com.lightstreamer.b.a.db.k(db.java)
at com.lightstreamer.b.l.a(l.java)
at com.lightstreamer.c.vb.run(vb.java)
at com.lightstreamer.c.u.a(u.java)
at com.lightstreamer.c.v.run(v.java)
-
March 4th, 2009, 08:19 AM
#5
Yes, it should be.
Though the exception message is slightly different, the reuse of a HashMap previously supplied through "update" or "smartUpdate" could lead to that exception.
Is it possible for you to check the Data Adapter code?
Note that the Server can't perform any preliminary check on this condition for performance reasons.
Similar Threads
-
By kirthin in forum General
Replies: 1
Last Post: November 18th, 2009, 09:44 PM
-
By mnenchev in forum General
Replies: 3
Last Post: September 29th, 2009, 08:54 AM
-
By rsouissi in forum Client SDKs
Replies: 10
Last Post: July 15th, 2009, 10:02 AM
-
By k.mcc2009 in forum Adapter SDKs
Replies: 1
Last Post: May 21st, 2009, 09:41 AM
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 11:25 PM.
Bookmarks