We're sorry GroupDocs doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.com

PDF to DOCX Conversion Exception in Java

I use groupdocs convertion version 20.10.3 to convert PDF to DOCX but get the error.
Please help advise.

class com.groupdocs.conversion.internal.c.a.t.private_.Exceptions.j: The string contains invalid characters
com.groupdocs.conversion.internal.c.a.t.private_.Exceptions.aH.e(Unknown Source)
com.groupdocs.conversion.internal.c.a.t.asf.a(Unknown Source)
com.groupdocs.conversion.internal.c.a.t.asf.a(Unknown Source)
com.groupdocs.conversion.internal.c.a.t.asf.a(Unknown Source)
com.groupdocs.conversion.internal.c.a.t.asf.a(Unknown Source)
com.groupdocs.conversion.internal.c.a.t.License.setLicense(Unknown Source)
com.groupdocs.conversion.internal.c.g.f.l.aspose.a.rJ(Unknown Source)
com.groupdocs.conversion.internal.c.g.f.l.aspose.a.y(Unknown Source)
com.groupdocs.conversion.internal.c.g.f.common.d.nZb(Unknown Source)
com.groupdocs.conversion.Converter.init(Unknown Source)
com.groupdocs.conversion.Converter.<init>(Unknown Source)
com.groupdocs.ui.conversion.ConversionServiceImpl.convert(ConversionServiceImpl.java:207)
com.groupdocs.ui.conversion.ConversionServiceImpl.convert(ConversionServiceImpl.java:171)
com.groupdocs.ui.editor.service.EditorServiceImpl.loadDocument(EditorServiceImpl.java:190)
com.groupdocs.ui.editor.EditorController.loadDocumentDescription(EditorController.java:89)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1 Like

@ley.le

Could you please share the problematic PDF?

I just renewed the Licenses and got this issue.

After investigating, I think that this is an issue with Licenses.
This was expected to fix in version 20.10.2 (https://docs.groupdocs.com/conversion/java/groupdocs-conversion-for-java-20-10-2-release-notes/)

but now it still happens on version 20.10.3. Could you please help reproduce?

Backend Java:
groupdocs-conversion: 20.10.3
groupdocs-editor: 20.11
groupdocs-viewer: 21.11

Frontend:
@groupdocs.examples.angular/conversion": “0.8.77”
@groupdocs.examples.angular/editor": “0.8.77”
@groupdocs.examples.angular/viewer": “0.8.77”

@ley.le

Are you getting any evaluation limitation tag in the output DOCX? If no, then your license is valid. Otherwise, please share the license file in a private message.

In order to investigate this issue at our end. We need a problematic PDF. Could you please share that?

test.pdf (3.8 KB)

Here is my test PDF

1 Like

@ley.le

We cannot reproduce this issue at our end. Have a look at this output.zip (3.2 MB). Please share a simple console application using that issue could be reproduced at our end. We’ll then further investigate this scenario. Furthermore, please try to use latest version of GroupDocs.Conversion for Java.

Hi @Atir_Tahir

We are using the editor, viewer, and conversion together. And we have tried the latest versions too, but still, get that issue.

Backend Java:
groupdocs-conversion: 20.10.3
groupdocs-editor: 20.11
groupdocs-viewer: 21.11

Frontend:
@groupdocs.examples.angular/conversion": “0.8.77”
@groupdocs.examples.angular/editor": “0.8.77”
@groupdocs.examples.angular/viewer": “0.8.77”

We still cannot reproduce this issue. Please share a sample application using that issue could be reproduced.

@Atir_Tahir we’ve shared the code to the paid support ticket. Thanks!

1 Like

Thank you @yasah!

@yasah

Alright.