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

@nata06

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

version:

<dependency>
            <groupId>com.groupdocs</groupId>
            <artifactId>groupdocs-conversion</artifactId>
            <version>22.3</version>
        </dependency>

With file everything is ok I get proper pdf file

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

@nata06

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

@nata06

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

Hello, do you know when do you resolve the issue?
Regards,

1 Like

@nata06

This ticket is still under investigation .However, you’ll be notified in case of any update.