[Gvsig_english] Problem with gvSIG 1.1.2 and exporting selection of a huge shapefile

Francisco José Peñarrubia fjp at scolab.es
Mon Mar 23 13:27:51 CET 2009


Hi Wolfgang.

I think I solved this bug (related to dbf files with a lot of fields. If 
is the same bug, is already solved in 1.9 version. You can try 1.9, and 
if it doesn't work, please, put the shape file in a web page, let me 
know and I will try to solve it.

Best regards.

Fran Peñarrubia
gvSIG Team
www.scolab.es

Wolfgang Qual escribió:
> Dear list,
> I just discovered a strange problem, when trying to export a selection of a very huge shapefile. This shapefile was imported from Oracle Spatial (no problem) and contains about 550.000 elements. I admit that this is very big, but until now, no problems were identified by us regarding big tables.
> I made a selection using the query builder (that worked), but when I choose "select to shapefile", gvSIG will not export the selected elements to a new layer. I attach the logfile, but here is the intersting part, I think. Any ideas are appreciated very much.
>
> java.lang.IllegalArgumentException
>         at java.nio.Buffer.position(Unknown Source)
>         at com.iver.utiles.bigfile.BigByteBuffer2.position(Unknown Source)
>         at com.iver.cit.gvsig.fmap.drivers.dbf.DbaseFile.getStringFieldValue(Unknown Source)
>         at com.iver.cit.gvsig.fmap.drivers.dbf.DBFDriver.getFieldValue(Unknown Source)
>         at com.hardcode.gdbms.engine.data.file.FileDataSourceAdapter.getFieldValue(Unknown Source)
>         at com.hardcode.gdbms.engine.data.DataSourceCommonImpl.getRow(Unknown Source)
>         at com.hardcode.gdbms.engine.data.AutomaticDataSource.getRow(Unknown Source)
>         at com.iver.cit.gvsig.fmap.layers.SelectableDataSource.getRow(Unknown Source)
>         at com.iver.cit.gvsig.ExportTo$WriterTask.run(Unknown Source)
>         at com.iver.andami.PluginServices$1.construct(Unknown Source)
>         at com.iver.utiles.swing.threads.SwingWorker$2.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)
> INFO AWT-EventQueue-1 com.hardcode.gdbms.engine.data.AutomaticDataSource - datasource closed
> INFO AWT-EventQueue-1 com.hardcode.gdbms.engine.data.AutomaticDataSource - timer start
> INFO AWT-EventQueue-1 com.hardcode.gdbms.engine.data.AutomaticDataSource - datasource closed
> INFO AWT-EventQueue-1 com.hardcode.gdbms.engine.data.AutomaticDataSource - timer start
> INFO AWT-EventQueue-1 com.hardcode.gdbms.engine.data.AutomaticDataSource - datasource closed
> INFO AWT-EventQueue-1 com.hardcode.gdbms.engine.data.AutomaticDataSource - timer start
> INFO AWT-EventQueue-1 com.hardcode.gdbms.engine.data.AutomaticDataSource - datasource closed
>
>
> Best regards,
> Wolfgang
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional



More information about the Gvsig_internacional mailing list