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 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
Hi All,
We have similar issue, we went through all recommendations mentioned here (change appian-plugin key, change @XmlElement name, also we checked all mappings with XslParameter class) but at the end of all manipulations we received an error below.
com.atlassian.plugin.PluginException: com.appiancorp.suiteapi.common.exceptions.AppianException: Of the specified classes [com.appiancorp.ps.xmlfo.types.XslParameter], the following cannot be found: [com.appiancorp.ps.xmlfo.types.XslParameter] (APNX-1-4165-002)
Also in some tutorials about representing metadata as XML is mentioned that it is needed to change the corresponding value in schema.xml, which is not created in the project. Also many libraries is missed in the decompiled code, so i used Maven to add dependencies. Is it possible to share a source code of that plugin? Can that last issue be because of improperly created biuld.xml? (I used Apache And to build a .jar file)
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.
Hi,
I am facing same kind of issue for another Plugin. Could you please help me with the solution if your issue got resolved