[RPC Fault faultString="java.lang.NullPointerException : null" faultCode="Server.Processing"

來源:互聯網
上載者:User

[RPC Fault faultString="java.lang.NullPointerException : null" faultCode="Server.Processing" faultDetail="null"]

(mx.messaging.messages::ErrorMessage)#0
body = (null)
clientId = "AA293E1E-9D0D-1347-DDC2-100D8D5170AB"
correlationId = "6E2D2E53-E29B-FE84-109C-853AC59D7724"
destination = "modpwd"
extendedData = (null)
faultCode = "Server.Processing"
faultDetail = (null)
faultString = "java.lang.NullPointerException ."
headers = (Object)#1
messageId = "AA448069-7C0B-673D-1A5F-543CA3361DF3"
rootCause = (null)
timestamp = 1329380116284
timeToLive = 0

類似於以上的這種錯誤資訊,在你確認 mxml中的 RemoteObject---> remote-config.xml中的destination id --->java代碼,這一條線上的對應沒有任何錯誤的話,那麼接下來,就應該檢查,java 代碼中的函數的形參,與flex 中的傳遞參數的 資料類型,是否一致,如果不一致,也會出現以上的問題。千萬要注意一致,不要期望blaze,會給你做資料類型轉換,必須都是String類型, 在兩邊各自的代碼內轉換類型。像用XML對象做參數,在java 中用String,擷取,是絕對擷取不到的。 要麼兩邊的資料類型完全一致,不然這些錯誤,你完全不知道在哪裡出錯。。。。。。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.