When i debug,in the console doesn't show anything about it..What i'm curious is if i use it as a component instead of modules,it works fine,no error at all..Also i'm using flex 3.4 sdk..Does it have anything related with the sdk?Thanks..
On 8/5/09, valdhor <[email protected]> wrote: > Perhaps the problem is with your TextInput named "txtNama". When you hit the > breakpoint, is this variable null? > > > --- In [email protected], "yonghan79" <yongha...@...> wrote: >> >> >> --- In [email protected], "valdhor" <valdhorlists@> wrote: >> > >> > "source not found" ?? When does it produce this error? When it breaks? >> > >> > Is amf null when it breaks? How do you initialize amf? >> > >> > Perhaps posting more code will help us to help you. >> > >> > I find it hard to believe you have never used debug before. >> > >> > >> > >> > --- In [email protected], Yesaya handoyo yonghan79@ wrote: >> > > >> > > Sorry,i didn't use debug before...It return source not found..But >> when >> > > i didn't use modules,it works fine with saving data to database... >> > > >> > > On 8/4/09, Yesaya handoyo yonghan79@ wrote: >> > > > amf is the id for the amfphp service,i try to set breakpoint >> there.But >> > > > it doesn't break..I just have to click on the line right to set >> > > > breakpoint? >> > > > >> > > > On 8/4/09, valdhor valdhorlists@ wrote: >> > > >> OK, so what is amf and where is it initialized? >> > > >> >> > > >> If you put a breakpoint on line 55 and then when it breaks, is >> amf null? >> > > >> >> > > >> --- In [email protected], Yesaya handoyo <yonghan79@> >> wrote: >> > > >>> >> > > >>> I haven't try to set breakpoint on line 55...Should i pass the >> string >> > > >>> to the main application first instead of directly accessing >> methods >> > > >>> within modules??Also i put the code of line 55 and 109 here >> > > >>> http://www.pastebin.org/6427 >> > > >>> >> > > >>> On 8/4/09, valdhor <valdhorlists@> wrote: >> > > >>> > AMFPHP runs on the server side so it has no bearing on your >> error. >> > > >>> > >> > > >>> > What happens at Kategori.mxml lines 56 and 109? >> > > >>> > >> > > >>> > Have you tried setting a breakpoint on line 55 and seeing what >> object >> > > >>> > is >> > > >>> > null? >> > > >>> > >> > > >>> > >> > > >>> > --- In [email protected], "yonghan79" <yonghan79@> >> wrote: >> > > >>> >> >> > > >>> >> Hi all,i want to ask.Does anyone ever before creating >> application >> > > >>> >> using >> > > >>> >> amfphp within modules?Right now i'm trying to create an >> aplication >> > > >>> >> using >> > > >>> >> amfphp,and access the methods within modules..When i run try >> to save >> > > >>> >> data,i got errors like this : >> > > >>> >> >> > > >>> >> TypeError: Error #1009: Cannot access a property or method of >> a null >> > > >>> >> object reference. >> > > >>> >> at modules::Kategori/addKategori()[C:\Documents and >> > > >>> >> Settings\handoyo\My >> > > >>> >> Documents\Flex Builder >> 3\administrator\src\modules\Kategori.mxml:56] >> > > >>> >> at modules::Kategori/___Kategori_Button1_click()[C:\Documents >> and >> > > >>> >> Settings\handoyo\My Documents\Flex Builder >> > > >>> >> 3\administrator\src\modules\Kategori.mxml:109] >> > > >>> >> >> > > >>> >> Can someone point me please?Thanks a lot.. >> > > >>> >> >> > > >>> > >> > > >>> > >> > > >>> > >> > > >>> >> > > >> >> > > >> >> > > >> >> > > > >> > > >> > >> I set the breakpoint on line 55,56,109,110..When i debug,here are the >> errors in the console >> >> [SWF] /seven7com/administrator/administrator-debug/index.swf - 429,359 >> bytes after decompression >> Error #2046: The loaded file did not have a valid signature. >> Failed to load RSL framework_3.4.0.6955.swz >> Failing over to RSL framework_3.4.0.6955.swf >> [SWF] /seven7com/administrator/administrator-debug/index.swf - 1,155,248 >> bytes after decompression >> [SWF] /seven7com/administrator/administrator-debug/modules/Kategori.swf >> - 116,239 bytes after decompression >> Error #2046: The loaded file did not have a valid signature. >> Failed to load RSL framework_3.4.0.6955.swz >> Failing over to RSL framework_3.4.0.6955.swf >> [SWF] /seven7com/administrator/administrator-debug/index.swf - 1,155,248 >> bytes after decompression >> TypeError: Error #1009: Cannot access a property or method of a null >> object reference. >> at modules::Kategori/addKategori()[C:\Documents and >> Settings\handoyo\My Documents\Flex Builder >> 3\administrator\src\modules\Kategori.mxml:56] >> at modules::Kategori/___Kategori_Button1_click()[C:\Documents and >> Settings\handoyo\My Documents\Flex Builder >> 3\administrator\src\modules\Kategori.mxml:109] >> >> I put the codes here Kategori.mxml <http://www.pastebin.org/6442> and >> index.mxml <http://www.pastebin.org/6444> .. Thanks a lot >> > > >

