Free Support Forum - aspose.com

word转pdf,HashMap线程锁死的情况

您好,我正在使用Aspose.words for JAVA 20.6版本,高并发word文件转成pdf文件时出现锁死的现象,线程转储:"[STUCK] ExecuteThread: ‘251’ for queue: ‘weblogic.kernel.Default (self-tuning)’" daemon prio=10 tid=0x00007f5841c5f800 nid=0x58e1 runnable [0x00007f5373af7000]
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.transfer(HashMap.java:484)
at java.util.HashMap.resize(HashMap.java:463)
at java.util.HashMap.addEntry(HashMap.java:755)
at java.util.HashMap.put(HashMap.java:385)
at com.aspose.words.internal.zz84.zza(Unknown Source)
at com.aspose.words.internal.zz80.zzSg(Unknown Source)
at com.aspose.words.internal.zz80.zzVi(Unknown Source)
at com.aspose.words.zz0H.zzZ(Unknown Source)
at com.aspose.words.zz0H.zzZ(Unknown Source)
at com.aspose.words.zz0H.zzZ(Unknown Source)
at com.aspose.words.zz0H.zzZ(Unknown Source)
at com.aspose.words.zzYQ0.zzZt7(Unknown Source)
at com.aspose.words.zz0L.zzZt8(Unknown Source)
at com.aspose.words.zz0C.zzZxF(Unknown Source)
at com.aspose.words.zzZZY.zzr(Unknown Source)
at com.aspose.words.zzZZY.zzt(Unknown Source)
at com.aspose.words.zzZZY.zzM(Unknown Source)
at com.aspose.words.zzZZY.zzP(Unknown Source)
at com.aspose.words.zzZZY.zzS(Unknown Source)
at com.aspose.words.zzZZY.zzW(Unknown Source)
at com.aspose.words.zzZZY.zzXU(Unknown Source)
at com.aspose.words.zzZZY.zz2(Unknown Source)
at com.aspose.words.zzZGY.zzZ(Unknown Source)
at com.aspose.words.zzZGY.zzZ4N(Unknown Source)
at com.aspose.words.zzZGY.zzZ(Unknown Source)
at com.aspose.words.MailMerge.zzZ(Unknown Source)
at com.aspose.words.MailMerge.execute(Unknown Source)

能否排查并解决一下这个问题吗

@jjsoft

您能否请ZIP并附加您输入的Word文档以及简化的代码示例,以在我们结尾重现相同的问题? 我们将调查该问题,并为您提供更多信息。

独占相关模板.zip (28.3 KB)

@jjsoft

很遗憾,我们无法执行您的代码。 请创建简单的Java应用程序(无编译错误的源代码),以帮助我们重现您的问题并将其附加在此处进行测试。