预览word文档失败-报错Cannot read properties of null (reading 'glyphGroupInfo')

阅读次数 83

首次进入页面文件预览成功,刷新页面后,预览word文档失败,报错Cannot read properties of null (reading 'glyphGroupInfo') <img src="https://solution-community.wps.cn/uploads/post/4WKd1QaPbPb.png" alt="image.png"/>

3 Answers

glyphGroupInfo这个问题,需提供问题文档的访问地址,或者告知下复现方法,否则我们无法进行问题的排查

我们也产生了同样的问题,获取的是oss存储的文件,文件链接是oss带鉴权的临时访问地址;复现方法:首次打开文件成功,能够正常编辑与保存,再次打开就会产生与上述一样的报错;

<img src="https://solution-community.wps.cn/uploads/post/5rHGH9PwSj5.png" alt="同样出现相同问题,偶发性"/>

<img src="https://solution-community.wps.cn/uploads/post/5rHLXrLxM8w.png" alt="发现这个问题是在触发instance.ready的时候出现的错误的"/>