7 Replies Latest reply on Aug 15, 2018 12:06 PM by Ponvinayagan Krishnasamy

    Extract API 2.0 10-5-2 not working for Linux Java (64-bit)

    franz.knuth

      I have troubles running the new Extract API 2.0 under Linux with the Java (64-bit) version. The Windows Java (64-bit) version works fine for me. The Extract API 2.0 does not seem to like Linux paths. I have two minimal examples illustrating the problem:

       

      import com.tableausoftware.hyperextract.Extract;
      import com.tableausoftware.TableauException;
      
      
      public class Main {
          public static void main(String[] args) throws TableauException {
              Extract extract = new Extract("/home/xyz/Test.hyper");
          }
      }
      
      
      

       

      This gives the exception:

      Exception in thread "main" com.tableausoftware.TableauException: invalid file path
              at com.tableausoftware.hyperextract.Extract.<init>(Unknown Source)
              at tableau_extract_from_data_virtuality.Main.main(Main.java:6)
      

       

       

      import com.tableausoftware.hyperextract.Extract;
      import com.tableausoftware.TableauException;
      
      
      public class Main {
          public static void main(String[] args) throws TableauException {
              Extract extract = new Extract("Test.hyper");
          }
      }
      
      
      

       

      This gives the exception:

      Exception in thread "main" com.tableausoftware.TableauException: extract path must have .hyper extension
              at com.tableausoftware.hyperextract.Extract.<init>(Unknown Source)
              at tableau_extract_from_data_virtuality.Main.main(Main.java:6)
      

       

       

      Is there anything I am doing wrong or does the Extract API 2.0 Linux Java version has a bug?