Error with Flex 2.0 Beta 3, java.lang.NullPointerException


hi,

i using flex 2.0, beta 3. trying follow cfc/flex examples @ http://adobechats.breezecentral.com/p41466198/

i seem error reason. not sure why. not point line number or anything. app should call method getusers() does, seems throw error when function called.

<cffunction name="getusers" access="remote" returntype="any" >
<cfset var q = "" />
<cfset var = arraynew(1) />
<cfset var u = "" />
<cfquery name="q" datasource="flexcf">
select *
splusers
</cfquery>
<cfoutput query="q">
<cfscript>
u = createobject("component","user");
u.setid(q.id);
u.setfname(q.fname);
u.setlname(q.lname);
u.setemail(q.email);
arrayappend(a,u);
</cfscript>
</cfoutput>
<cfreturn />
</cffunction>



rpc fault faultstring="java.lang.nullpointerexception" faultcode="server.processing" faultdetail="null"]
@ mx.rpc::abstractinvoker/ http://www.adobe.com/2006/flex/mx/internal::faulthandler()
@ mx.rpc::responder/fault()
@ mx.rpc::asyncrequest/fault()
@ ::netconnectionmessageresponder/netconnectionchannel.as$42:netconnectionmessageresponder: :statushandler()
@ mx.messaging::messageresponder/status()

i not sure why....the table exists, cf has access it. highly appreciated... quite frustrating...

-westside



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62