Converting IFC to JPG

Hi there,

I got a below error on convering “IFC” to “JPG”:
Caused by: java.lang.NullPointerException
at com.groupdocs.conversion.internal.c.a.cd.internal.ix.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.cd.internal.ix.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.cd.internal.ix.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.cd.internal.kJ.o.a(Unknown Source)
… 25 more

sample codes:
File srcFile = new File(“.\sample_npe.ifc”);
String convertedFile = new File(“.\sample_npe.jpg”).getAbsolutePath();
CadLoadOptions loadOptions = new CadLoadOptions();
loadOptions.setFormat(CadFileType.Ifc);
//loadOptions.setHideComments(true);
Converter converter = new Converter(srcFile.getAbsolutePath(),() → loadOptions);
ImageConvertOptions imagesaveOption = new ImageConvertOptions();
imagesaveOption.setFormat(ImageFileType.Jpg);
imagesaveOption.setPageNumber(1);
imagesaveOption.setPagesCount(1);
converter.convert(convertedFile, imagesaveOption);

JDK 1.8
groupdocs-conversion-23.10.jar

Attached a sample file, please advice.
sample_npe.zip (469.8 KB)

thanks,
James

@James.Sung
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CONVERSIONJAVA-2143

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.