1. 程式人生 > >Pentaho Data Integration 4.3之後的版本編寫的ktr檔案在4.3之前版本執行報錯

Pentaho Data Integration 4.3之後的版本編寫的ktr檔案在4.3之前版本執行報錯

錯誤資訊

INFO  25-04 09:01:18,032 - Pan - Start of run.
Processing has stopped because of an error: Index: 17, Size: 17
java.lang.IndexOutOfBoundsException: Index: 17, Size: 17
    at java.util.ArrayList.rangeCheck(ArrayList.java:604)
    at java.util.ArrayList.get(ArrayList.java:382)
    at org.pentaho.di
.core.logging.TransLogTable.loadXML(TransLogTable.java:143) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2663) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2376) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2337) at org.pentaho.di.trans.TransMeta
.<init>(TransMeta.java:2324) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2301) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2276) at org.pentaho.di.pan.Pan.main(Pan.java:293)

解決辦法

將ktr檔案中的log欄位整段刪除即可。