hello
i implement my SPLITRECORD component which split record in two record. with one input ans two output. but i get buffer underflow exception in it.
when i run my graph output is as
*** CloverETL framework/transformation graph runner ver1.7, (c) 2002-05 D.Pavlis, released under GNU Lesser General Public License ***
Graph definition file: E:/CloverETL/Examples/testSplit.txt
phase No. 0
phase No. 0
phase No. 0
phase No. 0
Initializing DB connection: jdbc:postgresql://192.168.0.3/vtech0506 … OK
Initializing DB connection: jdbc:postgresql://192.168.0.3/olap … OK
[Clover] starting WatchDog thread …
[WatchDog] Thread started.
[WatchDog] Running on 1 CPU(s) max available memory for JVM 1570 KB
[Clover] Initializing phase: 0
initializing edges: all edges initialized successfully…
initializing nodes:
INPUT …OK
SPLIT …OK
OUTSALES …OK
OUTDATE …OK
[Clover] phase: 0 initialized successfully.
[WatchDog] Starting up all nodes in phase [0]
[WatchDog] INPUT … started
[WatchDog] SPLIT … started
[WatchDog] OUTSALES … started
[WatchDog] OUTDATE … started
[WatchDog] Sucessfully started all nodes in phase!
Nov 19, 2005 12:22:28 PM org.jetel.database.SQLUtil getFieldTypes
WARNING: No metadata obtained for table: “sales”, using workaround …
Nov 19, 2005 12:22:28 PM org.jetel.database.SQLUtil getFieldTypes
WARNING: No metadata obtained for table: “mydate”, using workaround …
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Unknown Source)
at java.nio.DirectByteBuffer.getChar(Unknown Source)
at org.jetel.data.StringDataField.deserialize(StringDataField.java:342)
at org.jetel.data.DataRecord.deserialize(DataRecord.java:170)
at org.jetel.graph.DirectEdge.readRecord(DirectEdge.java:125)
at org.jetel.graph.Edge.readRecord(Edge.java:238)
at org.jetel.graph.Node.readRecord(Node.java:536)
at org.jetel.component.DBOutputTable.runInNormalMode(DBOutputTable.java:405)
at org.jetel.component.DBOutputTable.run(DBOutputTable.java:360)
[WatchDog] Execution of phase [0] successfully finished - elapsed time(sec): 1
---------------------** Start of tracking Log for phase [0] **-------------------
Time: 19/11/05 12:22:29
Node Status Port #Records
---------------------------------------------------------------------------------
INPUT OK
Out:0 3
SPLIT OK
In:0 3
Out:0 3
Out:1 3
OUTSALES FATAL_ERROR
In:0 3
OUTDATE OK
In:0 3
---------------------------------** End of Log **--------------------------------
[WatchDog] Forcing garbage collection …
-----------------------** Summary of Phases execution **---------------------
Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
0 0 1 181
------------------------------** End of Summary **---------------------------
[Clover] WatchDog thread finished - total execution time: 1 (sec)
[Clover] Graph execution finished successfully
Execution of graph finished !