<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I am getting this exception:<br><blockquote>java.lang.ClassCastException: org.postgis.PGgeometry cannot be cast to org.postgis.PGgeometry<br></blockquote>Never seen anything like this!<br><br>This happens at this code line:<br><blockquote>PGgeometry loc = (PGgeometry) map.get("loc");<br></blockquote><br>I grep'ed the whole of JBoss directories, and the only jar file that contains PGgeometry is postgis-1.5.0SVN.jar<br><blockquote><div align="left">jar tvf postgis-1.5.0SVN.jar | grep PGgeometry<br> 2983 Thu Jul 30 09:12:02 GMT+05:30 2009 org/postgis/PGgeometry.class<br> 866 Thu Jul 30 09:12:02 GMT+05:30 2009 org/postgis/PGgeometryLW.class<br></div></blockquote><br>Has anybody seen this? Any idea why this might be happening?<br><br>Thanks,<br>Satish<br><br /><hr />Are you an untamed, bizarre or daring explorer? Find out now! <a href='http://www.ExploreMyWay.com' target='_new'>Drag n' drop</a></body>
</html>