Giter VIP home page Giter VIP logo

Comments (4)

na-ka-na avatar na-ka-na commented on August 29, 2024

Thanks for reporting. Without the file it'll be pretty hard to debug. But if you think the tool will be useful to you - I can try to create a debug binary - which will print out useful messages to debug and hopefully I can fix the issue looking at those. Lemme know if you think this is something worth doing.

from excelcompare.

toobaz avatar toobaz commented on August 29, 2024

I actually don't need the program any more - my need for Excel diffing was very short lived. That said, I can test a debug binary if you think the resulting messages would be valuable to you.

from excelcompare.

na-ka-na avatar na-ka-na commented on August 29, 2024

I added a --debug flag, it will generate a stack trace, can you paste that? run as: excel_cmp --debug . download release here: https://github.com/na-ka-na/ExcelCompare/releases/download/0.5.1/ExcelCompare-0.5.1.zip

from excelcompare.

toobaz avatar toobaz commented on August 29, 2024

Here it is:

    pietro@debiousci:~/cancellami/qv$ excel_cmp --debug problema.xls problema.xls 
    java.lang.RuntimeException: Failed to read as excel file: problema.xls
        at com.ka.spreadsheet.diff.SpreadSheetDiffer.loadSpreadSheet(SpreadSheetDiffer.java:256)
        at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.java:132)
        at com.ka.spreadsheet.diff.SpreadSheetDiffer.doDiff(SpreadSheetDiffer.java:102)
        at com.ka.spreadsheet.diff.SpreadSheetDiffer.main(SpreadSheetDiffer.java:90)
    Caused by: java.lang.RuntimeException: Unexpected missing row when some rows already present
        at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:212)
        at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:137)
        at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:338)
        at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:115)
        at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:206)
        at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:188)
        at com.ka.spreadsheet.diff.SpreadSheetDiffer.loadSpreadSheet(SpreadSheetDiffer.java:241)
        ... 3 more

from excelcompare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.