Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-7468

Able to read memo fields in DBF files



    • Type: Improvement
    • Status: Open
    • Severity: Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.2.1 (4.1.0 GA Suite Release)
    • Fix Version/s: Backlog
    • Component/s: Step
    • Labels:
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.


      I'm trying to modify XBase class and javadbf classes to get memo fields but I'm not a java programmer...

      I applied the patch found on http://sarovar.org/projects/javadbf/ to make javadbf able to read memo fields. I attached the javadbf source code. But when I replace the old class (the jar file goes in /libext/ directory) for the new one in kettle and I try to use the XBase step it cracks with the following error (at this point I think it should still work because I'm not using the new DBFReader constructor for the memo) :

      java.lang.NoSuchMethodError: com.linuxense.javadbf.DBFField.getDataType()B org.pentaho.di.trans.steps.xbaseinput.XBase.getFields(XBase.java:105) org.pentaho.di.trans.steps.xbaseinput.XBaseInputMeta.getOutputFields(XBaseInputMeta.java:328) org.pentaho.di.trans.steps.xbaseinput.XBaseInput.processRow(XBaseInput.java:108)
      org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) java.lang.Thread.run(Unknown Source)

      I don't understand why kettle is not finding the getDataType method from the XBase class because I didn't change that class

      So the aim of this case is to make XBase class use the new javaDBF package

      thanks a lot


          Issue Links



              • Assignee:
                bronson Mr Charles Bronson
              • Votes:
                1 Vote for this issue
                1 Start watching this issue


                • Created: