found this list, so I apologize to anyone who reads it twice.
I'm getting the following error when calling a CFC from Flex 2 beta
3:
[RPC Fault faultString="java.lang.NullPointerException"
faultCode="Server.Processing" faultDetail="null"]
at mx.rpc::AbstractInvoker/
[L=http://www.adobe.com/2006/flex/mx/internal::faultHandler()]
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[/L]
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::NetConnectionMessageResponder/NetConnectionChannel.as$42
:NetConnectionMessageResponder::statusHandler()
at mx.messaging::MessageResponder/status()
The CFC simply returns a string "hello" to the Flex app.
<cfcomponent>
<cffunction name="blah" access="remote" returnType="string">
<cflog text="blah fired" log="Application">
<cfreturn "hello">
</cffunction>
</cfcomponent>
My calls in the application are:
<mx:RemoteObject source="cfc.Addresses" id="ad"
destination="ColdFusion">
<mx:method name="blah" result="listAddresses(event)"/>
</mx:RemoteObject>
and listAddresses() looks like:
private function listAddresses(event:ResultEvent):void
{
Alert.show("executed");
}
I've tried a couple of different return types for the CFC function,
verified all my cases. The entry to the log file is written so I
know it executes all the way into the CFC function. It seems to be
some issue with the handling of the return types.
I thought I was going to make progress once I got Flex running and
finally accessing CFC files (took a complete reinstall of CF and
Flex CF Connectivity)
Any help would be appreciated.
Regards,
Chris Maloney
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

