我真他妈的想骂人


#1

我们使用这个软件出现问题几个月了都不修改,我们的问题也不回答


#2

@lding,

首先请接受我们谦虚的道歉,造成延误和不便。 现在,您可以分享一些有关您所面临的问题的详细信息,包括有关API导致问题的详细信息,以便我们能够相应地解决此问题。


#3

7.zip (21.1 KB)
testing file.zip (21.2 KB)
几个月前根据你们同事要求提交的论坛,敷衍我几个月但是一直没有处理
https://forum.aspose.com/t/probems-on-aspose-license/161489

一、报错信息:
1、 16.8.0没有出现以下的报错;
2、17.1.0~17.6有时候会有这个问题;
3、17.7、17.8、17.9、17.10 必然出现以下报错。

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
at com.aspose.words.zzYZX.zzX(Unknown Source)
at com.aspose.words.zzYZX.zzY(Unknown Source)
at com.aspose.words.ShapeRenderer.(Unknown Source)
at com.aspose.words.ShapeBase.getShapeRenderer(Unknown Source)
at com.aspose.words.zzZJY.zzh(Unknown Source)
at com.aspose.words.zzZJX.zzf(Unknown Source)
at com.aspose.words.zzZK2.visitShapeStart(Unknown Source)
at com.aspose.words.Shape.zzZ(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Shape.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Paragraph.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.HeaderFooter.accept(Unknown Source)
at com.aspose.words.zzZXB.zzZw(Unknown Source)
at com.aspose.words.zzZXB.zzZ(Unknown Source)
at com.aspose.words.zzZXB.zzX(Unknown Source)
at com.aspose.words.zzZXB.zzZSL(Unknown Source)
at com.aspose.words.zzZXB.zzZSW(Unknown Source)
at com.aspose.words.zzZSP.zzZ(Unknown Source)
at com.aspose.words.zzZHX.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)
at com.huawei.bi.common.util.ImportFiles.main(ImportFiles.java:910)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at com.aspose.words.zzYZX.zzZ(Unknown Source)
at com.aspose.words.zzYZX.zzX(Unknown Source)
… 26 more
Caused by: java.lang.NullPointerException
at com.aspose.words.zzYUW.zzX(Unknown Source)
at com.aspose.words.zzYZX.zzZ(Unknown Source)
at com.aspose.words.zzYZX.zzZ(Unknown Source)
… 27 more
二、测试使用的代码:
public static void main(String[] args)
throws IOException, ParserConfigurationException, TransformerException, XmlException, OpenXML4JException
{

      String filePath = "D:\\7\\7.docx";
    
    Document doc;
    try
    {
        doc = new Document(filePath);
        HtmlSaveOptions saveOptions = new HtmlSaveOptions();
        saveOptions.setCssStyleSheetType(CssStyleSheetType.EXTERNAL);
        doc.save("D:\\7\\" + "7_out.html", saveOptions); 
    }
    catch (Exception e)
    {
        e.printStackTrace();
    }

}
三、测试环境准备:
1、 aspose-words version information
Manifest-Version: 1.0
Application-Name: Aspose.Words for Java
Implementation-Title: Aspose.Words for Java
Bundle-SymbolicName: com.aspose.words
Implementation-Version: 17.7
Release-Date: 2017.07.01
Specification-Vendor: Aspose Pty Ltd
Bundle-ManifestVersion: 2

2、 JDK1.8
3、 Testing word document :Attachment 7.docx

运行后存在如下问题:

1、使用最新版本的aspose java版本进行转换word成html时,aspose报致命错误,导致程序异常:
1.Using the latest version aspose java to transform word to html, appose occurred fatal error and program exception
附异常日志以及测试文件。
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
at com.aspose.words.zzZ04.zzX(Unknown Source)
at com.aspose.words.zzZ04.zzY(Unknown Source)
at com.aspose.words.ShapeRenderer.(Unknown Source)
at com.aspose.words.ShapeBase.getShapeRenderer(Unknown Source)
at com.aspose.words.zzZK4.zzh(Unknown Source)
at com.aspose.words.zzZK3.zzf(Unknown Source)
at com.aspose.words.zzZK8.visitShapeStart(Unknown Source)
at com.aspose.words.Shape.zzZ(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Shape.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Paragraph.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.HeaderFooter.accept(Unknown Source)
at com.aspose.words.zzZXF.zzZx(Unknown Source)
at com.aspose.words.zzZXF.zzZ(Unknown Source)
at com.aspose.words.zzZXF.zzX(Unknown Source)
at com.aspose.words.zzZXF.zzZSS(Unknown Source)
at com.aspose.words.zzZXF.zzZT3(Unknown Source)
at com.aspose.words.zzZSU.zzZ(Unknown Source)
at com.aspose.words.zzZI3.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

2、将附件7.docx使用word 2013打开另存副本后,转html可以成功,但是转换后,文本变成了图片。


#4

@lding,

在使用最新版本的Aspose.Words即17.10版本时,我们设法在我们的结尾再现了这个问题。 我们已经在我们的错误跟踪系统中记录了此问题。 此问题的ID为WORDSNET-16034。 您的线程也已被链接到适当的问题,一旦解决,您将收到通知。 抱歉给你带来不便。


#5

有结果?这个问题你们解决了?


#6

@lding,

感谢您的询问。 不幸的是,你的问题尚未解决。 我们已经从我们的产品团队向ETA询问了这个问题,一旦有任何估算可以更新。 对您造成的不便,我们深表歉意。