Error in trace method

  • Problem
  • Updated 4 years ago
  • Solved
Exception fault: TypeError: Error #1006: value is not a function.
at MonsterDebuggerUtils$/parseXML()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:715]
at MonsterDebuggerUtils$/parseArray()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:645]
at MonsterDebuggerUtils$/parse()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:456]
at MonsterDebuggerUtils$/parseArray()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:665]
at MonsterDebuggerUtils$/parse()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:456]
at MonsterDebuggerUtils$/parseClass()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:1198]
at MonsterDebuggerUtils$/parse()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:464]
at MonsterDebuggerUtils$/parseClass()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:1198]
at MonsterDebuggerUtils$/parse()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerUtils.as:464]
at MonsterDebuggerCore$/trace()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebuggerCore.as:215]
at com.demonsters.debugger::MonsterDebugger$/trace()[D:\Workspace\MonsterCave\Tools\MonsterDebugger\client\classes\com\demonsters\debugger\MonsterDebugger.as:176]
at mvcs.service::CategoryImagesService/imageLoader_completeHandler()[/Users/fljot/projects/flash/velvet/EestiPankPaymentEnvExpo/src/mvcs/service/CategoryImagesService.as:83]

where my line 83 is simply:
MonsterDebugger.trace(this, imageLoader, "success");//(imageLoader of type com.greensock.loading::ImageLoader)
Photo of pavel.fljot

pavel.fljot

  • 14 Posts
  • 0 Reply Likes
  • confused

Posted 4 years ago

  • 1
Photo of Ferdi Koomen

Ferdi Koomen

  • 237 Posts
  • 9 Reply Likes
Hi pavel.fljot

We're looking in to this right now!
Photo of Ferdi Koomen

Ferdi Koomen

  • 237 Posts
  • 9 Reply Likes
Could you share the code to reproduce this bug with us?
Photo of pavel.fljot

pavel.fljot

  • 14 Posts
  • 0 Reply Likes
Well, as I mentioned, that line is exactly like that. Do you want something specific? Because it's tricky to take it out. As far as I can see in the stacktrace, it tries to parse something with different approaches.. Maybe that's because something has no type? (*)
Photo of Ferdi Koomen

Ferdi Koomen

  • 237 Posts
  • 9 Reply Likes
Hi pavel.fljot

I've tested the new version (3.01) with the image loader from Greensock and it seems to work good now. Thanks for the bugreport.

Cheers,

Ferdi
Photo of pavel.fljot

pavel.fljot

  • 14 Posts
  • 0 Reply Likes
But have you managed to reproduce error with v3.0?
Photo of Ferdi Koomen

Ferdi Koomen

  • 237 Posts
  • 9 Reply Likes
Yes, but only if i loaded the image from a server.. strange...

Cheers,

Ferdi