[postgis-users] Weird ClassCastException
Satish Murthy
satish_m at hotmail.com
Sat Aug 22 05:43:53 PDT 2009
Here is an explanation for this: http://www.jspwiki.org/wiki/A2AClassCastException
Sorry, this is obviously nothing to do with postgis.
Thanks,
Satish
From: satish_m at hotmail.com
To: postgis-users at postgis.refractions.net
Date: Sat, 22 Aug 2009 12:16:47 +0000
Subject: [postgis-users] Weird ClassCastException
I am getting this exception:
java.lang.ClassCastException: org.postgis.PGgeometry cannot be cast to org.postgis.PGgeometry
Never seen anything like this!
This happens at this code line:
PGgeometry loc = (PGgeometry) map.get("loc");
I grep'ed the whole of JBoss directories, and the only jar file that contains PGgeometry is postgis-1.5.0SVN.jar
jar tvf postgis-1.5.0SVN.jar | grep PGgeometry
2983 Thu Jul 30 09:12:02 GMT+05:30 2009 org/postgis/PGgeometry.class
866 Thu Jul 30 09:12:02 GMT+05:30 2009 org/postgis/PGgeometryLW.class
Has anybody seen this? Any idea why this might be happening?
Thanks,
Satish
Are you an untamed, bizarre or daring explorer? Find out now! Drag n' drop
_________________________________________________________________
Log on to MSN India for a lowdown on what’s hot in the world today
http://in.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090822/39b1a84e/attachment.html>
More information about the postgis-users
mailing list