Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordUtils failed for another word file #5

Open
rny opened this issue Aug 11, 2022 · 1 comment
Open

WordUtils failed for another word file #5

rny opened this issue Aug 11, 2022 · 1 comment

Comments

@rny
Copy link

rny commented Aug 11, 2022

WordUtils.getInstance(basicSet).word2html();

basicSet can not be loaded for the second time because it is singleton. e.g.

// first time call

basicSet with doc fileA.docx to html fileA.html
WordUtils.getInstance(basicSet).word2html();

// success

// then delete fileA.docx and fileA.html

// second time call

basicSet with doc fileB.docx to html fileB.html
WordUtils.getInstance(basicSet).word2html();

// failed. 

@baby-watch
Copy link

Yes,This is a very frustrating error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants