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

Free Support Forum - groupdocs.com

Illegal reflective access by com.groupdocs.conversion.internal.c.a.ps.internal.gJ.c

During convert xps to pdf. I get this warning:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.groupdocs.conversion.internal.c.a.ps.internal.gJ.c (file:/.m2/repository/com/groupdocs/groupdocs-conversion/22.3/groupdocs-conversion-22.3.jar) to field java.io.ByteArrayInputStream.buf
WARNING: Please consider reporting this to the maintainers of com.groupdocs.conversion.internal.c.a.ps.internal.gJ.c
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release


Please share following details and we’ll look into this scenario:

  • API version that you are using (e.g. 2010, 22.2)
  • Sample conversion code
  • Problematic XPS file



With file everything is ok I get proper pdf file

        Converter converter = new Converter(xpsPath);
        ConvertOptions convertOptions = new FileType().fromExtension("pdf").getConvertOptions();
        converter.convert(pdfPath, convertOptions);


We cannot reproduce this issue at our end using API version 22.3 (there’s no warning message in the console). Please share following details:

  • OS name and version
  • Java version
  • IDE version
  • A short video explaining steps to reproduce the issue

OS Name Microsoft Windows 10 Enterprise
Version 10.0.19042 Build 19042
Java 11.0.12
Intellij IDEA 2021.2.3


We are investigating this scenario. Your investigation ticket ID is CONVERSIONJAVA-1652.