Overview
This plugin contains a smart service to convert .docx documents to PDF using Aspose Libraries with support for custom fonts and optionally encrypt the final PDF document. It will also maintain the PDF structure for 508 compliance as well as compress the file to maintain a low file size. An Aspose JAVA Words license is required and must be provided to the smart service in order for it to work accordingly.
Key Features & Functionality
Hi Shaun.freeman(Author),
We have below error when we deployed this Plugin, and we also tried to remove the old one and redeploy, but the issue is same. Can you pls help share any guidance? Thank you
2021-07-29 01:27:25,823 [Appian Plugin Hot Deploy] INFO com.appiancorp.plugins.osgi.LoggingPluginFactoryDecorator - Plug-in Artifact 'com.appiancorp.ps.plugins.aspose-1.2.1.jar' SHA256 hash is 275d7e231635cd0265043f8f1063c7f94070b2e85b3c88f51709f6f02e90d4d9 2021-07-29 01:27:26,959 [Appian Plugin Hot Deploy] WARN com.appiancorp.type.config.plugin.PojoDatatypesConfig - The data type [uuid={http://types.appiancorp.com/ps}DocumentData] in plug-in [key=com.appiancorp.ps.plugins.aspose, module=DocumentData] was not imported because it or another data type in the plug-in module was already present on the system with a different structure, but the version of the plug-in that provided the existing data type could not be determined. If you intend to change the structure of this data type you must first delete the data type from the system and deploy this plug-in again. If the problem persists, check that all data type precedents of the data type are declared in the same plug-in module or are listed before this data type in the appian-plug.xml. If you did not intend to change the structure of this data type, this message can be safely ignored as it is a false positive in the structure comparison mechanism. Please submit the plug-in and accompanying log messages to Appian Support for further analysis. (APNX-1-4165-003) 2021-07-29 01:27:26,976 [Appian Plugin Hot Deploy] ERROR com.atlassian.plugin.manager.DefaultPluginManager - There was an error loading the descriptor 'Convert DocX to PDF (Aspose)' of plugin 'com.appiancorp.ps.plugins.aspose'. Disabling. com.atlassian.plugin.PluginException: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.process.admin.IncompatibleSmartServiceRegistrationException: The Smart Service Module was invalid: Illegal attempt to change the data type for smart service com.appiancorp.ps.plugins.aspose.DOCXToPDFUtil, input or output named fileDataList (APNX-1-4104-005) at com.appiancorp.plugins.ExceptionHandlingModuleDescriptor.enabled(ExceptionHandlingModuleDescriptor.java:68) at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1792) at com.appiancorp.plugins.AppianPluginManager.notifyModuleEnabled(AppianPluginManager.java:74) at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1568) at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1545) at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1214) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1170) at com.atlassian.plugin.manager.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:891) at com.appiancorp.plugins.AppianPluginManager.scanForNewPlugins0(AppianPluginManager.java:212) at com.appiancorp.plugins.AppianPluginManager.scanForNewPlugins(AppianPluginManager.java:204) at com.appiancorp.plugins.AppianPluginManager.scanResultIfNotDeployingPlugins(AppianPluginManager.java:192) at com.appiancorp.plugins.HotDeployerRunnable.run(HotDeployerRunnable.java:30) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.process.admin.IncompatibleSmartServiceRegistrationException: The Smart Service Module was invalid: Illegal attempt to change the data type for smart service com.appiancorp.ps.plugins.aspose.DOCXToPDFUtil, input or output named fileDataList (APNX-1-4104-005) at com.appiancorp.process.ActivityClassSupplierModern.registerInternal(ActivityClassSupplierModern.java:338) at com.appiancorp.process.ActivityClassSupplierLazyData.register(ActivityClassSupplierLazyData.java:86) at com.appiancorp.process.ActivityClassSupplier.get(ActivityClassSupplier.java:85) at com.appiancorp.process.SmartServiceModuleDescriptor.enabledInternal(SmartServiceModuleDescriptor.java:203) at com.appiancorp.plugins.ExceptionHandlingModuleDescriptor.enabled(ExceptionHandlingModuleDescriptor.java:66) ... 18 more 2021-07-29 01:27:26,984 [Appian Plugin Hot Deploy] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'Convert Docs To PDF' (com.appiancorp.ps.plugins.aspose) version 1.2.1: 'There was a problem loading the module descriptor: Convert DocX to PDF (Aspose).<br/>com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.process.admin.IncompatibleSmartServiceRegistrationException: The Smart Service Module was invalid: Illegal attempt to change the data type for smart service com.appiancorp.ps.plugins.aspose.DOCXToPDFUtil, input or output named fileDataList (APNX-1-4104-005)'