we are getting below error when we are trying to deploy the Dynamic document generator plugin. can anyone help on this.
06:31:12,337 INFO [stdout] (Appian Plugin Hot Deploy) 2018-09-10 06:31:12,337 [Appian Plugin Hot Deploy] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'Dynamic Document Generator' (DynamicDocumentGen) version 1.5.1: 'There was a problem loading the module descriptor: TextDocFromXslt.<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 DynamicDocumentGen.TextDocFromXslt, input or output named XslParameters (APNX-1-4104-005)'
Discussion posts and replies are publicly visible
Hi All,
We are also facing the same issue. I had saved XSLParameter CDT initially. Then to upgrade the plugin, i tried to redeploy the same but got the error as mentioned by in this post. Hence, we have deleted the CDT from Appian Designer and tried to redeploy the plugin. It seems like the old version of CDT still exists in the environment and is not allowing to deploy the plugin.
Please let us know if you have the resolution.
Change the plugin key, and redeploy it
Hi Bhaskar,
We would like to use the plugin as provided in AppMarket without changing anything. Is there a way to resolve in such case.
Hope you have resolved the issue by changing the plugin key, Could you please give some insight on how to change this plugin key.
I am facing the same issue with this plugin, I have removed the cdt from the environment, now it does not even allow me to deploy the plugin.
If you could share the updated plugin with new plugin key , that will be helpful.
Did you manage to resolve this issue? We are facing the same situation. I managed to find the CDT in DT_MODEL table, there were multiple versions of XslParameter, we tried to remove but did not help. Couldn't find where else CDT versions are stored.
Hi for this you need to download the plugin and edit the XSLParameter type java file, recompile the plugin and install on the server.
DynamicDocumentGen-1.7.5.jar\src\com\appiancorp\ps\xmlfo\types\XslParameter.java
Follow KB Article that alexisg841 posted:
https://community.appian.com/support/w/kb/320/kb-1097-illegal-attempt-to-change-the-data-type-for-smart-service-x-x-x-input-or-output-named-name-error-thrown-during-plugin-deployment
We are facing jar related issues when compiling the changed version of this plugin.
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
Exception in thread "main" org.docx4j.openpackaging.exceptions.Docx4JException: Couldn't load file from ........eclipse-workspace\test\sample-docs\word\sample-docx.xml
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:296)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:265)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:168)
at org.docx4j.samples.AltChunkAddOfTypeDocx.main(AltChunkAddOfTypeDocx.java:58)
Caused by: java.io.FileNotFoundException: C:\Users\6\eclipse-workspace\test\sample-docs\word\sample-docx.xml (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:285)
... 3 more
Is there a location where i can download all the related jar for this plugin.