3 Replies Latest reply on Jun 5, 2012 12:55 AM by sparkdsd

    profiler issue: ReferenceError: Error #1037: Cannot assign to a method hasOwnProperty on flash.utils

    ismcdonald

      Hi,

          I'm trying to use the Flash builder 4.5 + flex 4.0sdk  profiler on a moderate size project suffering from what is probably a rather  complex (and urgent) memory leak.

       

      Selecting memory, but not performance profiling, before taking a memory snapshot or any other explicit profiler action, I run into this error:

       

       

      ReferenceError: Error #1037: Cannot assign to a method hasOwnProperty on flash.utils.Dictionary.

      at ProfilerAgent/collectSamples()

      at ProfilerAgent/timerHandler()

      at flash.utils::Timer/_timerDispatch()

      at flash.utils::Timer/tick()

       

       

      This is probably very similar to this:

      http://forums.adobe.com/message/2719370#2719370

       

      and this bug:

      https://bugs.adobe.com/jira/browse/FB-29303

       

      However, this jira says that this is fixed, so It's a bit odd to see this issue in  FB 4.5.

       

      Any suggestions/workaround would be most welcome.

       

      Best,

      Ian