我已經使用Devkit創建了一個mule連接器,它只是接受一個字符串,當我試圖通過使用連接器運行mule應用程序時,它會傳播「無法調用myProcessor。消息有效載荷的類型:字符串「。我該怎麼辦?無法調用方法。消息有效負載的類型爲:字符串
Exception stack is:
1. Parameter username in method connect can't be null because is not @Optional (org.mule.modules.duoasset.connection.UnableToAcquireConnectionException)
org.mule.modules.duoasset.connectivity.DuoAssetConnectorConnectionManager:260 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/modules/duoasset/connection/UnableToAcquireConnectionException.html)
2. Failed to invoke myProcessor. Message payload is of type: String (org.mule.api.MessagingException)
org.mule.devkit.processor.DevkitBasedMessageProcessor:128 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
org.mule.modules.duoasset.connection.UnableToAcquireConnectionException: Parameter username in method connect can't be null because is not @Optional
at org.mule.modules.duoasset.connectivity.DuoAssetConnectorConnectionManager.getEvaluatedConnectionKey(DuoAssetConnectorConnectionManager.java:260)
at org.mule.modules.duoasset.connectivity.DuoAssetConnectorConnectionManager.getEvaluatedConnectionKey(DuoAssetConnectorConnectionManager.java:39)
at org.mule.modules.duoasset.process.ManagedConnectionProcessInterceptor.execute(ManagedConnectionProcessInterceptor.java:58)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
您可以發佈更多堆棧跟蹤嗎? –
@RyanCarter發佈 – Sajeetharan
專家級畫筆技巧+1 – vikingsteve