osmosis 0.45 update failing on "PSQLException: Can't infer the SQL type to use for an instance of java.util.HashMap" #5405
Comments
Author: Jocelyn I've found that it is failing with this short change file:
I've tried on another machine, a Debian Jessie using openjdk 8 and postgresql 9.4, with only this node in database, but it doesn't fail. |
Author: brett[at]bretth.com Hmm, it does seem related to #5406. Thanks for the sample change file. I'll test it out as soon as I can. |
Author: brett[at]bretth.com I've tried that test file on fedora 21 running postgres 9.3.9 and it works. Perhaps this is postgres version related. One difference between 0.44.1 and 0.45 is the postgres JDBC driver version. Are you able to try recompiling with the older postgres JDBC driver? Modify gradle.properties and modify the following line:
to be
Then recompile (i.e. ./gradlew assemble). |
Author: Jocelyn I've just tried with your change, and it still fails:
|
Author: Jocelyn I've recompiled with version 0.44.1 (commit 0ae17d4999f712685088b44587c83df93a945294), and it works with this version. Let's try some git bisect magic... |
Author: Jocelyn According to git bisect, the first failing commit is bd4724b1aab8f9461e6b6026f742a97fbbf166a7, which is an update to latest postgis library. I'm still using postgis 1.5.3, so it is logical that osmosis 0.45 is failing. Should a note be put somewhere on minimal requirements for postgis ? |
Author: samisnunu Hi,
That's on: Please help |
Author: brett[at]bretth.com Replying to [comment:8 samisnunu]:
What version of Postgis are you using? |
Author: tkk The same for me: [kasparek@osm data]$ rpm -qa | grep postgis Osmosis 0.45, Centos 6. Osmosis 0.44.1 is OK. |
Author: tkk Replying to [comment:10 tkk]:
Still the same with: [kasparek@osm sources]$ rpm -qa | grep postgis and still no reaction from developers... |
Reporter: Jocelyn
[Submitted to the original trac issue database at 9.49am, Wednesday, 15th June 2016]
Hi,
I'm getting the following failure when running:
I'm not sure if it is failing because of the change file - I can join it if you need it.
I'm on Debian Jessie, with openjdk 8, and postgresql 9.1.
Could this bug be linked to #5406 ?
The text was updated successfully, but these errors were encountered: