Some favorite site feeds aggregated locally: iPhone Development RSS   Adobe Labs RSS   Macrumors RSS

Friday, February 27, 2009

VerifyError: Error #1025: An invalid register 3 was accessed

Friday, February 27, 2009   

Today I encountered a strange build error which had me scratching my head for a little while.

Details from the output window (class names and packages xxx out for now):

verify com.xxx.xxx::xxx/fetchInfo()
  • stack:
  • scope: [global Object$ flash.events::EventDispatcher$ com.xxx.xxx::xxx$]
  • locals: com.xxx.xxx::xxx
0:getlocal0
  • stack: com.xxx.xxx::xxx
  • scope: [global Object$ flash.events::EventDispatcher$ com.xxx.xxx::xxx$]
  • locals: com.xxx.xxx::xxx
1:pushscope
  • stack:
  • scope: [global Object$ flash.events::EventDispatcher$ com.xxx.xxx::xxx$] com.xxx.xxx::xxx
  • locals: com.xxx.xxx::xxx
2:getlocal3
VerifyError: Error #1025: An invalid register 3 was accessed.

at com.xxx.xxx::xxx/fetchInfo()
at Test_fla::MainTimeline/frame1()

Hmm. Now I was declaring a namespace for the XML I was loading remotely. When I commented out this line:

default xml namespace = myXML.namespace();

I didn't get the strange error anymore. However, if I need that line, what I'd have to do is after I am done with the XML:

default xml namespace = new Namespace("");

With that in place, you won't get that crazy error. Do I know what the error actually is? Not really.
 
 Return to the main page
Comments:

There are currently 0 Comments:

 Leave a comment