Giter Site home page Giter Site logo

Error generation report Exception in thread "main" org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException: about sonar-cnes-report HOT 5 CLOSED

cnescatlab avatar cnescatlab commented on August 23, 2024
Error generation report Exception in thread "main" org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException:

from sonar-cnes-report.

Comments (5)

begarco avatar begarco commented on August 23, 2024

It looks like something went wrong with the file you provided.

Do you use the Word template provided with the jar file?
Can you correctly open the Word template file with MS Word?
Des the filename in the command line correspond to the one of the file in your directory?

from sonar-cnes-report.

Moura8 avatar Moura8 commented on August 23, 2024

Hi begarco.
Yes the files names matches. i also try to add the issues template path, but no success.

java -jar sonar-report-cnes.jar --sonar.url http://localhost:9000 --sonar.project.id myID --report.template template.docx --issues.template issues-template.xlsx --report.locale en_US

I cant open the word template in the server because Im operating via SSH .i need to install some version of Word?

from sonar-cnes-report.

Moura8 avatar Moura8 commented on August 23, 2024

Alredy install libreoffice, same output error result :(

from sonar-cnes-report.

begarco avatar begarco commented on August 23, 2024

You don't need to have Office installed but can you open the file with it and tell me if Office warns you of a problem (corrupted file)?

Otherwise can you send me your file?

from sonar-cnes-report.

Moura8 avatar Moura8 commented on August 23, 2024

Indeed the file was corrupted somehow. Issue resolved, thank you so much!

from sonar-cnes-report.

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.