[Gvsig_english] gvSIG and Oracle Spatial: error when setting up a working area

Wolfgang Qual wolfgang.qual at muenchen.de
Thu Aug 4 13:44:09 CEST 2011


Dear list,

we just discovered a new problem with gvSIG's oracle spatial function. 
In order to save resources, we would like to load only a defined part of 
an oracle spatial layer.
In order to do so, I activated the option "working area" within the 
layer-loading dialogue. However, when clicking on "OK", the following 
error message appears (in the logfile)

"[...]t java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager - 
Error al cargar la capa: String index ou
t of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at org.gvsig.crs.CrsFactory.getCRS(CrsFactory.java:127)
        at org.gvsig.crs.CrsFactory.get(CrsFactory.java:216)
        at com.iver.cit.gvsig.fmap.crs.CRSFactory.getCRS(CRSFactory.java:17)
        at 
es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialDriver.setData(OracleSpatialDriver.ja
va:369)
        at 
com.prodevelop.cit.gvsig.vectorialdb.wizard.WizardVectorialDB.getLayer(WizardVectorialDB.java:293)
        at 
com.iver.cit.gvsig.AddLayer.loadGenericWizardPanelLayers(AddLayer.java:234)
        at com.iver.cit.gvsig.AddLayer.addLayers(AddLayer.java:282)
        at com.iver.cit.gvsig.AddLayer.execute(AddLayer.java:178)
        at 
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
        at 
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown 
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)[...]"

I used gvSIG 1.11 on a linux machine. Any comments are appreciated very 
much!

Best,
Wolfgang

-- 
Wolfgang Qual

Landeshauptstadt München
Referat für Gesundheit und Umwelt
Umweltschutz, Umweltvorsorge
RGU-UW 11
Team Klimaschutz, Energie

Bayerstraße 28a
80335 München

Telefon:  +49 - 89 - 233 - 4 77 17
Telefax:  +49 - 89 - 233 - 4 77 05
E-Mail:   wolfgang.qual at muenchen.de
Internet: http://www.muenchen.de/rgu

Bitte beachten Sie die Hinweise zur elektronischen
Kommunikation mit der Landeshauptstadt München:
http://www.muenchen.de/ekomm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: oracle_working_area.jpg
Type: image/jpeg
Size: 77813 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110804/ce458fe4/attachment.jpg 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gvSIG.log
Url: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110804/ce458fe4/attachment.txt 


More information about the Gvsig_internacional mailing list