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

File cannot be open #1

Open
acountAcount opened this issue Oct 25, 2023 · 3 comments
Open

File cannot be open #1

acountAcount opened this issue Oct 25, 2023 · 3 comments

Comments

@acountAcount
Copy link

acountAcount commented Oct 25, 2023

您好,
我这边遇到了一个这样的问题,打开word的时候失败了
可能是DOCXReader styleStrID空了
这个是我的源文件:
链接:https://pan.baidu.com/s/1DlxKFOUdmeRW9kGBPxTGlQ
提取码:qsog

请教一下这个该如何兼容了?
2023-10-25 22:04:41.040 20831-30148 System.err com.cherry.doc W java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
2023-10-25 22:04:41.041 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.doc.DOCXReader.processParaAttribute(DOCXReader.java:1246)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.doc.DOCXReader.processParagraph(DOCXReader.java:1211)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.doc.DOCXReader.access$100(DOCXReader.java:119)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.doc.DOCXReader$DOCXSaxHandler.onEnd(DOCXReader.java:5463)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.dom4j.io.DispatchHandler.onEnd(DispatchHandler.java:223)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.dom4j.io.SAXContentHandler.endElement(SAXContentHandler.java:289)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at org.apache.harmony.xml.ExpatParser.endElement(ExpatParser.java:167)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at org.apache.harmony.xml.ExpatParser.appendBytes(Native Method)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:526)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:487)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:324)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:287)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.dom4j.io.SAXReader.read(SAXReader.java:489)
2023-10-25 22:04:41.042 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.dom4j.io.SAXReader.read(SAXReader.java:361)
2023-10-25 22:04:41.043 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.doc.DOCXReader.openFile(DOCXReader.java:194)
2023-10-25 22:04:41.043 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.fc.doc.DOCXReader.getModel(DOCXReader.java:140)
2023-10-25 22:04:41.044 20831-30148 System.err com.cherry.doc W at com.cherry.lib.doc.office.system.FileReaderThread.run(FileReaderThread.java:137)
2023-10-25 22:04:41.167 20831-21126 OpenGLRenderer com.cherry.doc D Jank detected:LongTimeDrawing,dealing:3 pid:20831 type:4 start time:43033411428251 duration:1101090956 jank count:1 latest_frame_duration:1101090956 continuous drop:0
2023-10-25 22:04:41.167 20831-21126 OpenGLRenderer com.cherry.doc I Davey! duration=1101ms;

@Victor2018
Copy link
Owner

Victor2018 commented Oct 26, 2023

URL 只有是可以下载的URL地址都是可以浏览的,暂时不支持直接网盘文件地址,后续会更新支持,敬请关注

@acountAcount
Copy link
Author

我是直接打开word的本地文件;
因为这里不好上传文件,本地文件我上传到这个地址了
这个能帮忙下载下这个链接的文件,本地打开看一下吗?

@Victor2018
Copy link
Owner

我是直接打开word的本地文件; 因为这里不好上传文件,本地文件我上传到这个地址了 这个能帮忙下载下这个链接的文件,本地打开看一下吗?

v2.9.0可以打开了,暂时这种方式,后续会持续优化升级

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