tfilelist -> tUnite -> tShapefileOutput: problem

One Star

tfilelist -> tUnite -> tShapefileOutput: problem

HI,
I have a problem uner TOS 4.12 that I haven't met before when tryning to merge N Shapefiles
tfilelist -> tUnite -> tShapefileOutput
The message is:
Démarrage du job PCI_Vecteur a 13:46 06/12/2011.
connecting to socket on port 3390
connected
No source CRS found nor forced.
Exception in component sShapefileInput_1_GI
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Unknown Source)
at java.nio.DirectByteBuffer.getDouble(Unknown Source)
at org.geotools.data.shapefile.shp.ShapefileReader.nextRecord(ShapefileReader.java:452)
at org.geotools.data.shapefile.ShapefileAttributeReader.next(ShapefileAttributeReader.java:102)
at org.geotools.data.FIDFeatureReader.next(FIDFeatureReader.java:96)
at org.geotools.data.FIDFeatureReader.next(FIDFeatureReader.java:55)
at org.geotools.data.store.FeatureReaderIterator.next(FeatureReaderIterator.java:71)
at org.geotools.data.store.FeatureReaderIterator.next(FeatureReaderIterator.java:41)
at org.geotools.feature.collection.DelegateFeatureIterator.next(DelegateFeatureIterator.java:58)
at general.pci_vecteur_0_1.PCI_Vecteur.tFileList_4Process(PCI_Vecteur.java:1543)
at general.pci_vecteur_0_1.PCI_Vecteur.runJobInTOS(PCI_Vecteur.java:2170)
at general.pci_vecteur_0_1.PCI_Vecteur.main(PCI_Vecteur.java:2032)
disconnected
Job PCI_Vecteur terminé à 13:46 06/12/2011.
Any help would greatly appreciated.
Mathieu

One Star Fxp
One Star

Re: tfilelist -> tUnite -> tShapefileOutput: problem

Hello,
couldn't you use tFileList > tShapeFileOutput with append mode turned on (see advanced parameters) ?
HTH.
Francois
One Star

Re: tfilelist -> tUnite -> tShapefileOutput: problem

I tried again with TOS 4.2.2
For sShapefileOutput, I have
Main
Extra
Stats & Logs
Version
In which section qis the append mode?
One Star

Re: tfilelist -> tUnite -> tShapefileOutput: problem

That's ok, I found it.
Thanks a lot!
I used to pick the tUnite component under TOS < 4.1 before the append mode existed
One Star

Re: tfilelist -> tUnite -> tShapefileOutput: problem

j'ai l'impression que ça bugge sous TOS 4.1.2
Je vais tenter sous TOS 4.2.2.
je vous tiens au jus!
One Star

Re: tfilelist -> tUnite -> tShapefileOutput: problem

Under TOS 4.2.2, I've just processed the merge of several polygons with success:
tflieList -> sShapefileInput -> sShapeFileOutput (mode ajout)
But I get errors with points
If I deactivate sShapeFileOuput, the eros still occurs, so I think it concerns sShapeFilenput
Démarrage du job PCI a 16:01 06/12/2011.
connecting to socket on port 3450
connected
No source CRS found nor forced.
Exception in component sShapefileInput_1_GI
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Unknown Source)
at java.nio.DirectByteBuffer.getDouble(Unknown Source)
at org.geotools.data.shapefile.shp.ShapefileReader.nextRecord(ShapefileReader.java:452)
at org.geotools.data.shapefile.ShapefileAttributeReader.next(ShapefileAttributeReader.java:102)
at org.geotools.data.FIDFeatureReader.next(FIDFeatureReader.java:96)
at org.geotools.data.FIDFeatureReader.next(FIDFeatureReader.java:55)
at org.geotools.data.store.FeatureReaderIterator.next(FeatureReaderIterator.java:71)
at org.geotools.data.store.FeatureReaderIterator.next(FeatureReaderIterator.java:41)
at org.geotools.feature.collection.DelegateFeatureIterator.next(DelegateFeatureIterator.java:58)
at perso.pci_0_1.PCI.tFileList_1Process(PCI.java:1328)
at perso.pci_0_1.PCI.runJobInTOS(PCI.java:1878)
at perso.pci_0_1.PCI.main(PCI.java:1752)
disconnected
Job PCI terminé à 16:01 06/12/2011.
One Star

Re: tfilelist -> tUnite -> tShapefileOutput: problem

I get anothe error with LineStrings and the same process:
Démarrage du job PCI a 16:12 06/12/2011.
connecting to socket on port 3388
connected
No source CRS found nor forced.
Exception in component sShapefileOutput_2_SO
java.lang.NullPointerException
at org.geotools.data.shapefile.ShapefileFeatureWriter.write(ShapefileFeatureWriter.java:348)
at org.geotools.data.shapefile.ShapefileFeatureWriter.next(ShapefileFeatureWriter.java:288)
at org.geotools.data.shapefile.ShapefileFeatureWriter.next(ShapefileFeatureWriter.java:56)
at org.geotools.data.InProcessLockingManager$1.next(InProcessLockingManager.java:312)
at org.geotools.data.InProcessLockingManager$1.next(InProcessLockingManager.java:304)
null
at perso.pci_0_1.PCI.tFileList_1Process(PCI.java:1480)
at perso.pci_0_1.PCI.runJobInTOS(PCI.java:1878)
at perso.pci_0_1.PCI.main(PCI.java:1752)
disconnected
Job PCI terminé à 16:12 06/12/2011.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog