Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

class not registered com win32

Avatar

Former Community Member
hi i´m having this error when i´m trying to convert a pdf in to a jpeg file i can´t find any solution can someone help me:



18:40:56,853 ERROR [STDERR] com.jniwrapper.win32.com.ComException: COM object me

thod returns error code: 0x80040154; Class not registered



this its the part of my code..



String xmlconfg = gen.getPDFExportXML("JPEG", 20, null);



File dataFile = new File("C:\\ErroresInst_LifeCycle.pdf");

String userData = "JobSourceIdentification";

String userQueue = "TestOutType";



Document idpDoc = new Document(dataFile, false);

idpDoc.setMaxInlineSize(1024 * 1024);

idpDoc.passivate();







AESAPIResults apiResults = gen.submitJob("EJB Test Client ", idpDoc, dataFile.getName(), xmlconfg,null, APIConstants.DEFAULT_JOB_PRIORITY, null, null, "en_US", null);

String jobId = apiResults.jobID;



best regards...
0 Replies