0 Replies Latest reply on Sep 18, 2010 2:48 PM by hadar1

    RPC fault exception

    hadar1 Level 1

      Hi,

       

      I am receiving the below exception when calling a method from flex4 to blazeds code.

      The java method is :

      public List<RowData> getData(int start, int end)

       

      And it get called from Flex after Enable paging:

      server.getData()

       

      What can cause this exception ?

       

      The exception :

      [RPC Fault faultString="java.lang.NullPointerException : null" faultCode="Server.Processing" faultDetail="null"]
          at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\4.x\frameworks\projects\ rpc\src\mx\rpc\AbstractInvoker.as:345]
          at mx.rpc::Responder/fault()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:68]
          at mx.rpc::AsyncRequest/fault()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.a s:113]
          at NetConnectionMessageResponder/statusHandler()[E:\dev\4.x\frameworks\projects\rpc\src\mx\m essaging\channels\NetConnectionChannel.as:604]
          at mx.messaging::MessageResponder/status()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messagi ng\MessageResponder.as:264]