Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread Michaël Michaud
Hi Uwe, > I would say : >> it is thrown by PostgisFeatureInputStreamIn >> it is tranformed into an error (no need to add throws clause to the >> method) >> it is wrapped into a string including sql + exception message + sql >> message >> it is thrown to the caller (see the stacktrace) > > This i

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread edgar . soldin
On 18.04.2013 08:59, Michaël Michaud wrote: >> it is thrown by PostgisFeatureInputStreamIn >> >> it is tranformed into an error (no need to add throws clause to the >> >> method) >> >> it is wrapped into a string including sql + exception message + sql >> >> message >> >> it is thrown to the cal

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread Uwe Dalluege
Am 18.04.2013 10:40, schrieb edgar.sol...@web.de: > On 18.04.2013 08:59, Michaël Michaud wrote: >>> it is thrown by PostgisFeatureInputStreamIn > it is tranformed into an error (no need to add throws clause to the > method) > it is wrapped into a string including sql + exception messag

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread edgar . soldin
On 18.04.2013 12:40, Uwe Dalluege wrote: > Am 18.04.2013 10:40, schrieb edgar.sol...@web.de: >> On 18.04.2013 08:59, Michaël Michaud wrote: it is thrown by PostgisFeatureInputStreamIn >> it is tranformed into an error (no need to add throws clause to the >> method) >> it is wrapped

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread Uwe Dalluege
Hi Michaël, I think I know why we get different behaviours of OpenJUMP. It is an JRE problem, I believe! I tested it now on several computer and different JRE. I *see* the error message (like you) on computer with JRE 1.6.0_30 (x86) and (amd64) 1.6.0_31 (x86) 1.6.0_33 (x86) 1.7.0_02 (amd64) 1.7

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread Uwe Dalluege
Hi, in the class TaskMonitorManager (package com.vividsolutions.jump.workbench.ui.task;) there is a method "public void run ( )" (line 148) under "finally" you will find: dialog.setVisible( false ); dialog.dispose(); When I comment out dialog.dispose(); then I see the error-gui with JRE 1.

[JPP-Devel] How to get map pixel X and Y with BeanShell?

2013-04-18 Thread Rahkonen Jukka
Hi, How could I get the pixel coordinates of the clicked point inside the map window with BeanShell? My aim is to prototype a WMS GetFeatureInfo request and for that I would need the image coordinates of the point as X and Y. The top left corner of the map is X=0 and Y=0. Refernce: http://w

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread Michaël Michaud
Hi Uwe, Good catch ! I could reproduce the bug with th elast JRE. I did not remove dispose as I think it it is usefull to free all resources attached to the TaskMonitor dialog box, but I moved it after the error message display. Available in r3513 Michaël > Hi, > > in the class TaskMonitorManag

Re: [JPP-Devel] How to get map pixel X and Y with BeanShell?

2013-04-18 Thread Michaël Michaud
Hi Jukka, Here is the snippet, should be wrapped in a CursorTool though : // --- // Get Coordinate on click // to prototype GetFeatureInfo // --- import java.awt.event.*; import java.awt.geom

Re: [JPP-Devel] Run Datastore Query with no error-message

2013-04-18 Thread Uwe Dalluege
Hi Michaël, hi Ede, I tested it on two computer with different environments and it works fine. Thank you for your patience and your help! Have a nice weekend. Uwe Am 18.04.2013 23:32, schrieb Michaël Michaud: > Hi Uwe, > > Good catch ! > I could reproduce the bug with th elast JRE. > I did no

[JPP-Devel] Zoom to WMS Layer with Projects

2013-04-18 Thread Uwe Dalluege
Hi, there is a problem with Zoom to WMS Layer and opening a project. I use OJ3513 CORE, JRE 1.7.0_21 (amd64) and the url: http://geo.hcu-hamburg.de:8081/cgi-bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map 1. Open WMS Layer with the url above. 2. Zoom to WMS layer This works. Everything is