[postgis-users] Problem with Postgisdriver-1.2.0 and Jump 1.2-Alpha1

Uwe Dalluege uwe.dalluege at rzcn.haw-hamburg.de
Wed May 11 23:23:10 PDT 2005


Hallo,

I am working with jump 1.2-alpha1, PostgreSQL 8.01 and the jump plug-in
postgisdriver-1.2.0.jar
receiving from http://postgis.refractions.net/download.php with CVS Access.
The original .jar file does not contain the two files DataSource.java2xml
and
DataSourceQuery.java2xml. So I extend the .jar file with these two files.

DataSource.java2xml and DataSourceQuery.java2xml:

<?xml version="1.0"?>
<root>
  <element xml-name="properties" java-name="properties"/>
</root>

I hope this is ok?!

Now I can load a dataset from PostgreSQL into JUMP, save the dataset to
PostgreSQL and I can save
the Task in JUMP. But when I try to open the Task again, I get the
following error message:


java.sql.SQLException: ERROR: syntax error at or near "null"
 at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorI
mpl.java:1365)
 at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja
va:1160)
 at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:172)
 at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j
ava:387)
 at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2St
atement.java:312)
 at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statem
ent.java:219)
 at
net.refractions.postgis.PostGISConnection.executeQuery(PostGISConnection.jav
a:82)
 at
net.refractions.postgis.PostGISConnection.executeQuery(PostGISConnection.jav
a:569)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.executeQuery(O
penProjectPlugIn.java:184)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProje
ctPlugIn.java:172)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.loadLayers(Ope
nProjectPlugIn.java:162)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.run(OpenProjec
tPlugIn.java:99)
 at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run
(TaskMonitorManager.java:148)
 at java.lang.Thread.run(Unknown Source)
java.lang.IllegalStateException: ERROR: syntax error at or near "null"
 at
net.refractions.postgis.PostGISConnection.executeQuery(PostGISConnection.jav
a:179)
 at
net.refractions.postgis.PostGISConnection.executeQuery(PostGISConnection.jav
a:569)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.executeQuery(O
penProjectPlugIn.java:184)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProje
ctPlugIn.java:172)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.loadLayers(Ope
nProjectPlugIn.java:162)
 at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.run(OpenProjec
tPlugIn.java:99)
 at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run
(TaskMonitorManager.java:148)
 at java.lang.Thread.run(Unknown Source)



Do I need another postgisdriver with jump1.2-Alpha1?


Greetings from Hamburg

Uwe




More information about the postgis-users mailing list