NOAA-PMEL / LAS

Live Access Server
https://ferret.pmel.noaa.gov/LAS/
The Unlicense
13 stars 5 forks source link

gov.noaa.pmel.tmap.las.client.rpc.RPCException serialization error #1699

Open karlmsmith opened 6 years ago

karlmsmith commented 6 years ago

Reported by @karlmsmith on 8 Dec 2014 20:13 UTC Noticed the following in socat/tomcat/logs/localhost.2014-11-27.log on xtra:

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'gov.noaa.pmel.tmap.las.client.rpc.RPCException' 
was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.
For security purposes, this type will not be serialized.: instance = gov.noaa.pmel.tmap.las.client.rpc.RPCException:
Server returned HTTP response code: 500 for URL: http://xtra.pmel.noaa.gov:8660/erddap/tabledap/socatV3_c6c1_d431_8194.json?expocode,vessel_name,investigators,qc_flag&expocode="06AQ20080416"&distinct()

I was Judith Hauck reported problems if lots of WOCE flags are assigned, and that might be the cause of this Exception. This ticket is just to notify that GWT is having problems handling this custom Exception.

Maybe just needs serialVersionUID? Or maybe needs something more.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/las/ticket/1692

karlmsmith commented 6 years ago

Comment by @karlmsmith on 8 Dec 2014 20:17 UTC Later on in the log I see a problem with a socketWrite, which I suspect is from trying to WOCE the large number of data points, so not sure what raised the RPCException.