[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-07-10 Thread zi or
While I try to run my Flex Profiler I got this error message:

In the flash application I got the following exception:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox 
violation: 
file:///C|%2Fwork%2Flabsense%2Fbranches%2Frel%5F1%5F2%5F5%5FEA%2Fsources%2Fui%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhostport=
 cannot load data from localhost:.
at 
ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127]


And in the flex Profiler console (at the eclipse) I got : Socket timeout.

I am run on windows vista,
Flex builder: 3.2
Flash debugger : 10,0,22,87

Things that I have done to resolve this issue:
•   Switch the connection port of the profiler to 9998 (and back)
•   Remove and reinstall the flash debugger player.
•   Install flex builder 3.2 (instead of 3.0)
•   Delete all the enters in the mm.cfg file
•   Add enter to the mm.cfg : 
PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhostport=
 
or
PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhostport=9998
or
PreloadSwf=C:/work/labsense/Sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=
or with spaces:
PreloadSwf=C: \ work \ labsense \ Sources \ ui \ .metadata \ .plugins \ 
com.adobe.flash.profiler \ ProfilerAgent.swf?host=localhostport=
or
C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?
or add all or some of the enters:
TraceOutputFileName=C:\Users\zivo\AppData\Roaming\Macromedia\Flash 
Player\Logs\flashlog.txt
ErrorReportingEnable=1
MaxWarnings=0
TraceOutputFileEnable=1
ProfilingFileOutputEnable=1
•   Turn on and off the vista firewall
•   Add exception for port  in the vista firewall
•   Try to run the profiler SWF separately

Same result.

Try one last thing:

Because I have expreins problem little bit similar before with the flash 
debugger , the resolution then was :
1.  Right click on flash player (debugger),
2.  choose Debugger,
3.  choose other machine 
4.  add 127.0.0.1
5.  click ok
then, it solve the issue (but apparently he connect to the debugger with host 
127.0.0.1 instead of localhost (which is a same )
I now add to the mm.cfg file, the follow entry:
PreloadSwf=C:/work/labsense/branches/rel_1_2_5_EA/sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=127.0.0.1port=
Then, after saving , I run the profiler, and its work!!


And the resonse for all this was :
Some program change the file:
C:\Windows\System32\drivers\etc\hosts
To:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#  102.54.94.97 rhino.acme.com  # source server
#   38.25.63.10 x.acme.com  # x client host


::1 localhost
127.0.0.1   iDBO # LMS GENERATED LINE


This means that localhost is not lead to 127.0.0.1!!!

Fixing is easy :

# ::1 localhost
# 127.0.0.1   iDBO # LMS GENERATED LINE
127.0.0.1   localhost

Instead (remark the problem and fix the problem


Thenks

Ziv


--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

 
 Hi all,
 
 I just updated the Flex SDK to version 3.2, and am now getting a
 Security sandbox violation error everytime that I launch an AIR
 application from Eclipse.  I was wondering if anyone else has run into
 this and might know of a fix.  The stack trace is listed below.
 
 Thanks,
 -TH
 
 Error #2044: Unhandled securityError:. text=Error #2048: Security
 sandbox violation:
 file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
 ofiler%2FProfilerAgent.swf?host=localhostport=
 file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
 rofiler%2FProfilerAgent.swf?host=localhostport=  cannot load data
 from localhost:.
   at
 ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
 s:127]
   at runtime::ContentPlayer/loadInitialContent()
   at runtime::ContentPlayer/playRawContent()
   at runtime::ContentPlayer/playContent()
   at runtime::AppRunner/run()
   at global/runtime::ADLEntry()





[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-07-10 Thread valdhor
Caveat: This may or may not work.

Go to 
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

Click Edit Locations... then Add Location... Click the Browse for folder... 
button then select your bin-debug directory. Try again.

This has worked for me in the past.


--- In flexcoders@yahoogroups.com, zi or zivo...@... wrote:

 While I try to run my Flex Profiler I got this error message:
 
 In the flash application I got the following exception:
 Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox 
 violation: 
 file:///C|%2Fwork%2Flabsense%2Fbranches%2Frel%5F1%5F2%5F5%5FEA%2Fsources%2Fui%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhostport=
  cannot load data from localhost:.
 at 
 ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127]
 
 
 And in the flex Profiler console (at the eclipse) I got : Socket timeout.
 
 I am run on windows vista,
 Flex builder: 3.2
 Flash debugger : 10,0,22,87
 
 Things that I have done to resolve this issue:
 • Switch the connection port of the profiler to 9998 (and back)
 • Remove and reinstall the flash debugger player.
 • Install flex builder 3.2 (instead of 3.0)
 • Delete all the enters in the mm.cfg file
 • Add enter to the mm.cfg : 
 PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhostport=
  
 or
 PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhostport=9998
 or
 PreloadSwf=C:/work/labsense/Sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=
 or with spaces:
 PreloadSwf=C: \ work \ labsense \ Sources \ ui \ .metadata \ .plugins \ 
 com.adobe.flash.profiler \ ProfilerAgent.swf?host=localhostport=
 or
 C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?
 or add all or some of the enters:
 TraceOutputFileName=C:\Users\zivo\AppData\Roaming\Macromedia\Flash 
 Player\Logs\flashlog.txt
 ErrorReportingEnable=1
 MaxWarnings=0
 TraceOutputFileEnable=1
 ProfilingFileOutputEnable=1
 • Turn on and off the vista firewall
 • Add exception for port  in the vista firewall
 • Try to run the profiler SWF separately
 
 Same result.
 
 Try one last thing:
 
 Because I have expreins problem little bit similar before with the flash 
 debugger , the resolution then was :
 1.Right click on flash player (debugger),
 2.choose Debugger,
 3.choose other machine 
 4.add 127.0.0.1
 5.click ok
 then, it solve the issue (but apparently he connect to the debugger with host 
 127.0.0.1 instead of localhost (which is a same )
 I now add to the mm.cfg file, the follow entry:
 PreloadSwf=C:/work/labsense/branches/rel_1_2_5_EA/sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=127.0.0.1port=
 Then, after saving , I run the profiler, and its work!!
 
 
 And the resonse for all this was :
 Some program change the file:
 C:\Windows\System32\drivers\etc\hosts
 To:
 # Copyright (c) 1993-2006 Microsoft Corp.
 #
 # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
 #
 # This file contains the mappings of IP addresses to host names. Each
 # entry should be kept on an individual line. The IP address should
 # be placed in the first column followed by the corresponding host name.
 # The IP address and the host name should be separated by at least one
 # space.
 #
 # Additionally, comments (such as these) may be inserted on individual
 # lines or following the machine name denoted by a '#' symbol.
 #
 # For example:
 #
 #  102.54.94.97 rhino.acme.com  # source server
 #   38.25.63.10 x.acme.com  # x client host
 
 
 ::1 localhost
 127.0.0.1   iDBO # LMS GENERATED LINE
 
 
 This means that localhost is not lead to 127.0.0.1!!!
 
 Fixing is easy :
 
 # ::1 localhost
 # 127.0.0.1   iDBO # LMS GENERATED LINE
 127.0.0.1   localhost
 
 Instead (remark the problem and fix the problem
 
 
 Thenks
 
 Ziv
 
 
 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
  
  Hi all,
  
  I just updated the Flex SDK to version 3.2, and am now getting a
  Security sandbox violation error everytime that I launch an AIR
  application from Eclipse.  I was wondering if anyone else has run into
  this and might know of a fix.  The stack trace is listed below.
  
  Thanks,
  -TH
  
  Error #2044: Unhandled securityError:. text=Error #2048: Security
  sandbox violation:
  file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
  ofiler%2FProfilerAgent.swf?host=localhostport=
  file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
  rofiler%2FProfilerAgent.swf?host=localhostport=  cannot load data
  from localhost:.
at
  

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-07-07 Thread zi or
While I try to run my Flex Profiler I got this error message:

In the flash application I got the following exception:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox 
violation: 
file:///C|%2Fwork%2Flabsense%2Fbranches%2Frel%5F1%5F2%5F5%5FEA%2Fsources%2Fui%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhostport=
 cannot load data from localhost:.
at 
ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127]


And in the flex Profiler console (at the eclipse) I got : Socket timeout.

I am run on windows vista,
Flex builder: 3.2
Flash debugger : 10,0,22,87

Things that I have done to resolve this issue:
•   Switch the connection port of the profiler to 9998 (and back)
•   Remove and reinstall the flash debugger player.
•   Install flex builder 3.2 (instead of 3.0)
•   Delete all the enters in the mm.cfg file
•   Add enter to the mm.cfg : 
PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhostport=
 
or
PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhostport=9998
or
PreloadSwf=C:/work/labsense/Sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=
or with spaces:
PreloadSwf=C: \ work \ labsense \ Sources \ ui \ .metadata \ .plugins \ 
com.adobe.flash.profiler \ ProfilerAgent.swf?host=localhostport=
or
C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?
or add all or some of the enters:
TraceOutputFileName=C:\Users\zivo\AppData\Roaming\Macromedia\Flash 
Player\Logs\flashlog.txt
ErrorReportingEnable=1
MaxWarnings=0
TraceOutputFileEnable=1
ProfilingFileOutputEnable=1
•   Turn on and off the vista firewall
•   Add exception for port  in the vista firewall
•   Try to run the profiler SWF separately

Same result.

Try one last thing:

Because I have expreins problem little bit similar before with the flash 
debugger , the resolution then was :
1.  Right click on flash player (debugger),
2.  choose Debugger,
3.  choose other machine 
4.  add 127.0.0.1
5.  click ok
then, it solve the issue (but apparently he connect to the debugger with host 
127.0.0.1 instead of localhost (which is a same )
I now add to the mm.cfg file, the follow entry:
PreloadSwf=C:/work/labsense/branches/rel_1_2_5_EA/sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=127.0.0.1port=
Then, after saving , I run the profiler, and its work!!


And the resonse for all this was :
Some program change the file:
C:\Windows\System32\drivers\etc\hosts
To:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#  102.54.94.97 rhino.acme.com  # source server
#   38.25.63.10 x.acme.com  # x client host


::1 localhost
127.0.0.1   iDBO # LMS GENERATED LINE


This means that localhost is not lead to 127.0.0.1!!!

Fixing is easy :

# ::1 localhost
# 127.0.0.1   iDBO # LMS GENERATED LINE
127.0.0.1   localhost

Instead (remark the problem and fix the problem


Thenks

Ziv


--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

 
 Hi all,
 
 I just updated the Flex SDK to version 3.2, and am now getting a
 Security sandbox violation error everytime that I launch an AIR
 application from Eclipse.  I was wondering if anyone else has run into
 this and might know of a fix.  The stack trace is listed below.
 
 Thanks,
 -TH
 
 Error #2044: Unhandled securityError:. text=Error #2048: Security
 sandbox violation:
 file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
 ofiler%2FProfilerAgent.swf?host=localhostport=
 file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
 rofiler%2FProfilerAgent.swf?host=localhostport=  cannot load data
 from localhost:.
   at
 ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
 s:127]
   at runtime::ContentPlayer/loadInitialContent()
   at runtime::ContentPlayer/playRawContent()
   at runtime::ContentPlayer/playContent()
   at runtime::AppRunner/run()
   at global/runtime::ADLEntry()





[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Glad that worked for you Tim.  However, I am still having issues.  

I have had an mm.cfg file in my c:\users\username directory and have tried 
multiple things with it that I read online such as trying to specify a path to 
PreloadSwf, but I still keep getting the same error.  Any other thoughts?

I started out compiling my project under version 3.3 of the SDK, but recently 
compiled it under 3.2 to see if it would work, but to no avail.

Thanks,
Nate

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Glad that worked.  For the record if you kill a profiler session unexpectedly 
 (which can happen when the profiler barfs or hangs on a large app) it won't 
 clean up mm.cfg and you can run into this problem.  And even if you don't get 
 security errors in other configs, you'll find your debug sessions are running 
 really slowly.
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Tim Hoff
 Sent: Wednesday, April 01, 2009 9:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
 SDK 3.2
 
 
 Nailed it!
 
 C:\Users\Tim\mm.cfg:
 TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash 
 Player\Logs\flashlog.txt
 ErrorReportingEnable=1
 MaxWarnings=0
 TraceOutputFileEnable=1
 PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=
 
 Removed the last line and problem solved.  In thinking about it, this was 
 more of a technical support issue; that I could have investigated more  
 thoroughly.  Thank you very much for your continued help though Alex.  Hope 
 that this helps you too, Nate.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html
 
  Looks like it will be in c:\users\username
 
  Alex Harui
  Flex SDK Developer
  Adobe Systems Inc.http://www.adobe.com/
  Blog: http://blogs.adobe.com/aharui
 
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
  Behalf Of Tim Hoff
  Sent: Wednesday, April 01, 2009 6:23 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
  SDK 3.2
 
 
  Actually, I couldn't find that specific file on my system (vista ultimate). 
  The closest thing that I could find was 
  C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that 
  file might be located? It didn't come up in a search.
 
  When I launch an Air app, this is what shows in the console:
  [SWF] 
  C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf
   - 17,476 bytes after decompression
  [SWF] MyApp.swf - 2,472,578 bytes after decompression
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
  
   Is there a preloaderSWF in your mm.cfg or is one being written there as 
   you launch the app?
  
   Alex Harui
   Flex SDK Developer
   Adobe Systems Inc.http://www.adobe.com/
   Blog: http://blogs.adobe.com/aharui
  
   From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
   Behalf Of Tim Hoff
   Sent: Wednesday, April 01, 2009 3:29 PM
   To: f! lexcod...@yahoogroups.com
   Subject: [flexcode! rs] Re: Security sandbox violation error after 
   upgrade to SDK 3.2
  
  
   Hi Nate,
  
   Unfortunately I'm still having the problem as well. The difference is
   that mine shows up only when launching an Air app. I'm able to run the
   profiler just fine, but for some reason the profiler swf is trying to be
   loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with
   no success yet.
  
   -TH
  
   --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
   nateross83 nateross83@ wrote:
   
I am experiencing the same problems trying to profile an AIR 1.5 app.
   Here is my stack trace:
   
Error #2044: Unhandled securityError:. text=Error #2048: Security
   sandbox violation:
   file:///Cfile:///\\C! 
   ;|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\
   2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
   port=9998 cannot load data from localhost:9998.
at
   ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
   .as:127]
at runtime::ContentPlayer/loadInitialContent(! )
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at global/runtime::ADLEntry()
   
I have tried changing the port from  to other values without
   success, I disabled my firewall to try it (although I don't think
   localhost would be an issue). The strange thin! g is that a coworker of
   mine appears to have the ! same set up as I do and it works fine for him.
   
Here is what I have:
   
Flex Builder v 3.0.2
Flash

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread Alex Harui
There should almost never be a preloadSWF entry in your mm.cfg.  FlexBuilder is 
supposed to put it in and take out at the beginning and end of profiler 
sessions.  If you clear that entry from mm.cfg do you still have problems?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of nateross83
Sent: Thursday, April 02, 2009 8:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 
3.2


Glad that worked for you Tim. However, I am still having issues.

I have had an mm.cfg file in my c:\users\username directory and have tried 
multiple things with it that I read online such as trying to specify a path to 
PreloadSwf, but I still keep getting the same error. Any other thoughts?

I started out compiling my project under version 3.3 of the SDK, but recently 
compiled it under 3.2 to see if it would work, but to no avail.

Thanks,
Nate

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
Harui aha...@... wrote:

 Glad that worked. For the record if you kill a profiler session unexpectedly 
 (which can happen when the profiler barfs or hangs on a large app) it won't 
 clean up mm.cfg and you can run into this problem. And even if you don't get 
 security errors in other configs, you'll find your debug sessions are running 
 really slowly.

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
 Behalf Of Tim Hoff
 Sent: Wednesday, April 01, 2009 9:01 PM
 To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
 SDK 3.2


 Nailed it!

 C:\Users\Tim\mm.cfg:
 TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash 
 Player\Logs\flashlog.txt
 ErrorReportingEnable=1
 MaxWarnings=0
 TraceOutputFileEnable=1
 PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=

 Removed the last line and problem solved. In thinking about it, this was more 
 of a technical support issue; that I could have investigated more thoroughly. 
 Thank you very much for your continued help though Alex. Hope that this helps 
 you too, Nate.

 -TH

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
 Harui aharui@ wrote:
 
  http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html
 
  Looks like it will be in c:\users\username
 
  Alex Harui
  Flex SDK Developer
  Adobe Systems Inc.http://www.adobe.com/
  Blog: http://blogs.adobe.com/aharui
 
  From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
  Behalf Of Tim Hoff
  Sent: Wednesday, April 01, 2009 6:23 PM
  To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
  Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
  SDK 3.2
 
 
  Actually, I couldn't find that specific file on my system (vista ultimate). 
  The closest thing that I could find was 
  C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that 
  file might be located? It didn't come up in a search.
 
  When I launch an Air app, this is what shows in the console:
  [SWF] 
  C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf
   - 17,476 bytes after decompression
  [SWF] MyApp.swf - 2,472,578 bytes after decompression
 
  -TH
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
  Alex Harui aharui@ wrote:
  
   Is there a preloaderSWF in your mm.cfg or is one being written there as 
   you launch the app?
  
   Alex Harui
   Flex SDK Developer
   Adobe Systems Inc.http://www.adobe.com/
   Blog: http://blogs.adobe.com/aharui
  
   From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
   [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] 
   On Behalf Of Tim Hoff
   Sent: Wednesday, April 01, 2009 3:29 PM
   To: f! lexcod...@yahoogroups.commailto:lexcoders%40yahoogroups.com
   Subject: [flexcode! rs] Re: Security sandbox violation error after 
   upgrade to SDK 3.2
  
  
   Hi Nate,
  
   Unfortunately I'm still having the problem as well. The difference is
   that mine shows up only when launching an Air app. I'm able to run the
   profiler just fine, but for some reason the profiler swf is trying to be
   loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with
   no success yet.
  
   -TH
  
   --- In 
   flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com,
nateross83 nateross83@ wrote:
   
I am experiencing the same problems

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Yes, I've tried clearing out that line and even deleting the mm.cfg file (which 
is recreated for me automatically when I try to run the profiler), but nothing 
works.

Nate

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 There should almost never be a preloadSWF entry in your mm.cfg.  FlexBuilder 
 is supposed to put it in and take out at the beginning and end of profiler 
 sessions.  If you clear that entry from mm.cfg do you still have problems?
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of nateross83
 Sent: Thursday, April 02, 2009 8:39 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
 SDK 3.2
 
 
 Glad that worked for you Tim. However, I am still having issues.
 
 I have had an mm.cfg file in my c:\users\username directory and have tried 
 multiple things with it that I read online such as trying to specify a path 
 to PreloadSwf, but I still keep getting the same error. Any other thoughts?
 
 I started out compiling my project under version 3.3 of the SDK, but recently 
 compiled it under 3.2 to see if it would work, but to no avail.
 
 Thanks,
 Nate
 
 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
 Harui aharui@ wrote:
 
  Glad that worked. For the record if you kill a profiler session 
  unexpectedly (which can happen when the profiler barfs or hangs on a large 
  app) it won't clean up mm.cfg and you can run into this problem. And even 
  if you don't get security errors in other configs, you'll find your debug 
  sessions are running really slowly.
 
  Alex Harui
  Flex SDK Developer
  Adobe Systems Inc.http://www.adobe.com/
  Blog: http://blogs.adobe.com/aharui
 
  From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
  Behalf Of Tim Hoff
  Sent: Wednesday, April 01, 2009 9:01 PM
  To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
  Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
  SDK 3.2
 
 
  Nailed it!
 
  C:\Users\Tim\mm.cfg:
  TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash 
  Player\Logs\flashlog.txt
  ErrorReportingEnable=1
  MaxWarnings=0
  TraceOutputFileEnable=1
  PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=
 
  Removed the last line and problem solved. In thinking about it, this was 
  more of a technical support issue; that I could have investigated more 
  thoroughly. Thank you very much for your continued help though Alex. Hope 
  that this helps you too, Nate.
 
  -TH
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
  Alex Harui aharui@ wrote:
  
   http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html
  
   Looks like it will be in c:\users\username
  
   Alex Harui
   Flex SDK Developer
   Adobe Systems Inc.http://www.adobe.com/
   Blog: http://blogs.adobe.com/aharui
  
   From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
   [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] 
   On Behalf Of Tim Hoff
   Sent: Wednesday, April 01, 2009 6:23 PM
   To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
   Subject: [flexcoders] Re: Security sandbox violation error after upgrade 
   to SDK 3.2
  
  
   Actually, I couldn't find that specific file on my system (vista 
   ultimate). The closest thing that I could find was 
   C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that 
   file might be located? It didn't come up in a search.
  
   When I launch an Air app, this is what shows in the console:
   [SWF] 
   C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf
- 17,476 bytes after decompression
   [SWF] MyApp.swf - 2,472,578 bytes after decompression
  
   -TH
  
   --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
   Alex Harui aharui@ wrote:
   
Is there a preloaderSWF in your mm.cfg or is one being written there as 
you launch the app?
   
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
   
From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com]
 On Behalf Of Tim Hoff
Sent: Wednesday, April 01, 2009 3:29 PM
To: f! lexcod...@yahoogroups.commailto:lexcoders%40yahoogroups.com
Subject: [flexcode! rs] Re: Security sandbox violation error after 
upgrade to SDK 3.2
   
   
Hi Nate,
   
Unfortunately I'm still having the problem as well. The difference is
that mine shows up only when launching an Air app. I'm able to run the
profiler

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Glad that worked for you Tim.  However, I am still having issues.  

I have had an mm.cfg file in my c:\users\username directory and have tried 
multiple things with it that I read online such as trying to specify a path to 
PreloadSwf, but I still keep getting the same error.  Any other thoughts?

I started out compiling my project under version 3.3 of the SDK, but recently 
compiled it under 3.2 to see if it would work, but to no avail.

Thanks,
Nate

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Glad that worked.  For the record if you kill a profiler session unexpectedly 
 (which can happen when the profiler barfs or hangs on a large app) it won't 
 clean up mm.cfg and you can run into this problem.  And even if you don't get 
 security errors in other configs, you'll find your debug sessions are running 
 really slowly.
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Tim Hoff
 Sent: Wednesday, April 01, 2009 9:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
 SDK 3.2
 
 
 Nailed it!
 
 C:\Users\Tim\mm.cfg:
 TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash 
 Player\Logs\flashlog.txt
 ErrorReportingEnable=1
 MaxWarnings=0
 TraceOutputFileEnable=1
 PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=
 
 Removed the last line and problem solved.  In thinking about it, this was 
 more of a technical support issue; that I could have investigated more  
 thoroughly.  Thank you very much for your continued help though Alex.  Hope 
 that this helps you too, Nate.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html
 
  Looks like it will be in c:\users\username
 
  Alex Harui
  Flex SDK Developer
  Adobe Systems Inc.http://www.adobe.com/
  Blog: http://blogs.adobe.com/aharui
 
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
  Behalf Of Tim Hoff
  Sent: Wednesday, April 01, 2009 6:23 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
  SDK 3.2
 
 
  Actually, I couldn't find that specific file on my system (vista ultimate). 
  The closest thing that I could find was 
  C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that 
  file might be located? It didn't come up in a search.
 
  When I launch an Air app, this is what shows in the console:
  [SWF] 
  C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf
   - 17,476 bytes after decompression
  [SWF] MyApp.swf - 2,472,578 bytes after decompression
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
  
   Is there a preloaderSWF in your mm.cfg or is one being written there as 
   you launch the app?
  
   Alex Harui
   Flex SDK Developer
   Adobe Systems Inc.http://www.adobe.com/
   Blog: http://blogs.adobe.com/aharui
  
   From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
   Behalf Of Tim Hoff
   Sent: Wednesday, April 01, 2009 3:29 PM
   To: f! lexcod...@yahoogroups.com
   Subject: [flexcode! rs] Re: Security sandbox violation error after 
   upgrade to SDK 3.2
  
  
   Hi Nate,
  
   Unfortunately I'm still having the problem as well. The difference is
   that mine shows up only when launching an Air app. I'm able to run the
   profiler just fine, but for some reason the profiler swf is trying to be
   loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with
   no success yet.
  
   -TH
  
   --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
   nateross83 nateross83@ wrote:
   
I am experiencing the same problems trying to profile an AIR 1.5 app.
   Here is my stack trace:
   
Error #2044: Unhandled securityError:. text=Error #2048: Security
   sandbox violation:
   file:///Cfile:///\\C! 
   ;|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\
   2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
   port=9998 cannot load data from localhost:9998.
at
   ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
   .as:127]
at runtime::ContentPlayer/loadInitialContent(! )
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at global/runtime::ADLEntry()
   
I have tried changing the port from  to other values without
   success, I disabled my firewall to try it (although I don't think
   localhost would be an issue). The strange thin! g is that a coworker of
   mine appears to have the ! same set up as I do and it works fine for him.
   
Here is what I have:
   
Flex Builder v 3.0.2
Flash

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread nateross83
I am experiencing the same problems trying to profile an AIR 1.5 app.  Here is 
my stack trace:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox 
violation: 
file:///C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhostport=9998
 cannot load data from localhost:9998.
at 
ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127]
at runtime::ContentPlayer/loadInitialContent()
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at global/runtime::ADLEntry()

I have tried changing the port from  to other values without success, I 
disabled my firewall to try it (although I don't think localhost would be an 
issue).  The strange thing is that a coworker of mine appears to have the same 
set up as I do and it works fine for him.

Here is what I have:

Flex Builder v 3.0.2
Flash Player 10
AIR 1.5.1

If you have solved the problem Tim, or anyone else for the matter, please help 
me out.

Thanks,
Nate

--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

 
 Hi all,
 
 I just updated the Flex SDK to version 3.2, and am now getting a
 Security sandbox violation error everytime that I launch an AIR
 application from Eclipse.  I was wondering if anyone else has run into
 this and might know of a fix.  The stack trace is listed below.
 
 Thanks,
 -TH
 
 Error #2044: Unhandled securityError:. text=Error #2048: Security
 sandbox violation:
 file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
 ofiler%2FProfilerAgent.swf?host=localhostport=
 file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
 rofiler%2FProfilerAgent.swf?host=localhostport=  cannot load data
 from localhost:.
   at
 ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
 s:127]
   at runtime::ContentPlayer/loadInitialContent()
   at runtime::ContentPlayer/playRawContent()
   at runtime::ContentPlayer/playContent()
   at runtime::AppRunner/run()
   at global/runtime::ADLEntry()





[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Tim Hoff

Hi Nate,

Unfortunately I'm still having the problem as well.  The difference is
that mine shows up only when launching an Air app.   I'm able to run the
profiler just fine, but for some reason the profiler swf is trying to be
loaded with a regular launch.  I tried Alex's suggestion (mm.cfg) with
no success yet.

-TH

--- In flexcoders@yahoogroups.com, nateross83 nateros...@... wrote:

 I am experiencing the same problems trying to profile an AIR 1.5 app.
Here is my stack trace:

 Error #2044: Unhandled securityError:. text=Error #2048: Security
sandbox violation:
file:///C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\
2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
port=9998 cannot load data from localhost:9998.
 at
ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
.as:127]
 at runtime::ContentPlayer/loadInitialContent()
 at runtime::ContentPlayer/playRawContent()
 at runtime::ContentPlayer/playContent()
 at runtime::AppRunner/run()
 at global/runtime::ADLEntry()

 I have tried changing the port from  to other values without
success, I disabled my firewall to try it (although I don't think
localhost would be an issue). The strange thing is that a coworker of
mine appears to have the same set up as I do and it works fine for him.

 Here is what I have:

 Flex Builder v 3.0.2
 Flash Player 10
 AIR 1.5.1

 If you have solved the problem Tim, or anyone else for the matter,
please help me out.

 Thanks,
 Nate

 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  Hi all,
 
  I just updated the Flex SDK to version 3.2, and am now getting a
  Security sandbox violation error everytime that I launch an AIR
  application from Eclipse. I was wondering if anyone else has run
into
  this and might know of a fix. The stack trace is listed below.
 
  Thanks,
  -TH
 
  Error #2044: Unhandled securityError:. text=Error #2048: Security
  sandbox violation:
 
file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
\
  ofiler%2FProfilerAgent.swf?host=localhostport=
 
file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
\
  rofiler%2FProfilerAgent.swf?host=localhostport= cannot load
data
  from localhost:.
  at
 
ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
\
  s:127]
  at runtime::ContentPlayer/loadInitialContent()
  at runtime::ContentPlayer/playRawContent()
  at runtime::ContentPlayer/playContent()
  at runtime::AppRunner/run()
  at global/runtime::ADLEntry()
 






RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
Is there a preloaderSWF in your mm.cfg or is one being written there as you 
launch the app?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Tim Hoff
Sent: Wednesday, April 01, 2009 3:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 
3.2


Hi Nate,

Unfortunately I'm still having the problem as well. The difference is
that mine shows up only when launching an Air app. I'm able to run the
profiler just fine, but for some reason the profiler swf is trying to be
loaded with a regular launch. I tried Alex's suggestion (mm.cfg) with
no success yet.

-TH

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
nateross83 nateros...@... wrote:

 I am experiencing the same problems trying to profile an AIR 1.5 app.
Here is my stack trace:

 Error #2044: Unhandled securityError:. text=Error #2048: Security
sandbox violation:
file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\
2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
port=9998 cannot load data from localhost:9998.
 at
ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
.as:127]
 at runtime::ContentPlayer/loadInitialContent()
 at runtime::ContentPlayer/playRawContent()
 at runtime::ContentPlayer/playContent()
 at runtime::AppRunner/run()
 at global/runtime::ADLEntry()

 I have tried changing the port from  to other values without
success, I disabled my firewall to try it (although I don't think
localhost would be an issue). The strange thing is that a coworker of
mine appears to have the same set up as I do and it works fine for him.

 Here is what I have:

 Flex Builder v 3.0.2
 Flash Player 10
 AIR 1.5.1

 If you have solved the problem Tim, or anyone else for the matter,
please help me out.

 Thanks,
 Nate

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim 
 Hoff TimHoff@ wrote:
 
 
  Hi all,
 
  I just updated the Flex SDK to version 3.2, and am now getting a
  Security sandbox violation error everytime that I launch an AIR
  application from Eclipse. I was wondering if anyone else has run
into
  this and might know of a fix. The stack trace is listed below.
 
  Thanks,
  -TH
 
  Error #2044: Unhandled securityError:. text=Error #2048: Security
  sandbox violation:
 
file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
\
  ofiler%2FProfilerAgent.swf?host=localhostport=
 
file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
\
  rofiler%2FProfilerAgent.swf?host=localhostport= cannot load
data
  from localhost:.
  at
 
ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
\
  s:127]
  at runtime::ContentPlayer/loadInitialContent()
  at runtime::ContentPlayer/playRawContent()
  at runtime::ContentPlayer/playContent()
  at runtime::AppRunner/run()
  at global/runtime::ADLEntry()
 




[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Tim Hoff

Actually, I couldn't find that specific file on my system (vista
ultimate).  The closest thing that I could find was
C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg.  Any clue where that
file might be located?  It didn't come up in a search.

When I launch an Air app, this is what shows in the console:
[SWF]
C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAge\
nt.swf - 17,476 bytes after decompression
[SWF] MyApp.swf - 2,472,578 bytes after decompression

-TH

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Is there a preloaderSWF in your mm.cfg or is one being written there
as you launch the app?

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
On Behalf Of Tim Hoff
 Sent: Wednesday, April 01, 2009 3:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after
upgrade to SDK 3.2


 Hi Nate,

 Unfortunately I'm still having the problem as well. The difference is
 that mine shows up only when launching an Air app. I'm able to run the
 profiler just fine, but for some reason the profiler swf is trying to
be
 loaded with a regular launch. I tried Alex's suggestion (mm.cfg) with
 no success yet.

 -TH

 --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com,
nateross83 nateross83@ wrote:
 
  I am experiencing the same problems trying to profile an AIR 1.5
app.
 Here is my stack trace:
 
  Error #2044: Unhandled securityError:. text=Error #2048: Security
 sandbox violation:

file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203\
%2F.metadata%\

2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
\
 port=9998 cannot load data from localhost:9998.
  at

ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
\
 .as:127]
  at runtime::ContentPlayer/loadInitialContent()
  at runtime::ContentPlayer/playRawContent()
  at runtime::ContentPlayer/playContent()
  at runtime::AppRunner/run()
  at global/runtime::ADLEntry()
 
  I have tried changing the port from  to other values without
 success, I disabled my firewall to try it (although I don't think
 localhost would be an issue). The strange thing is that a coworker of
 mine appears to have the same set up as I do and it works fine for
him.
 
  Here is what I have:
 
  Flex Builder v 3.0.2
  Flash Player 10
  AIR 1.5.1
 
  If you have solved the problem Tim, or anyone else for the matter,
 please help me out.
 
  Thanks,
  Nate
 
  --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim
Hoff TimHoff@ wrote:
  
  
   Hi all,
  
   I just updated the Flex SDK to version 3.2, and am now getting a
   Security sandbox violation error everytime that I launch an AIR
   application from Eclipse. I was wondering if anyone else has run
 into
   this and might know of a fix. The stack trace is listed below.
  
   Thanks,
   -TH
  
   Error #2044: Unhandled securityError:. text=Error #2048: Security
   sandbox violation:
  

file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.a\
dobe.flash.pr\
 \
   ofiler%2FProfilerAgent.swf?host=localhostport=
  

file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.\
adobe.flash.p\
 \
   rofiler%2FProfilerAgent.swf?host=localhostport= cannot load
 data
   from localhost:.
   at
  

ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
\
 \
   s:127]
   at runtime::ContentPlayer/loadInitialContent()
   at runtime::ContentPlayer/playRawContent()
   at runtime::ContentPlayer/playContent()
   at runtime::AppRunner/run()
   at global/runtime::ADLEntry()
  
 





RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html

Looks like it will be in c:\users\username

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Tim Hoff
Sent: Wednesday, April 01, 2009 6:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 
3.2


Actually, I couldn't find that specific file on my system (vista ultimate).  
The closest thing that I could find was 
C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg.  Any clue where that file 
might be located?  It didn't come up in a search.

When I launch an Air app, this is what shows in the console:
[SWF] 
C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf 
- 17,476 bytes after decompression
[SWF] MyApp.swf - 2,472,578 bytes after decompression

-TH

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Is there a preloaderSWF in your mm.cfg or is one being written there as you 
 launch the app?

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Tim Hoff
 Sent: Wednesday, April 01, 2009 3:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
 SDK 3.2


 Hi Nate,

 Unfortunately I'm still having the problem as well. The difference is
 that mine shows up only when launching an Air app. I'm able to run the
 profiler just fine, but for some reason the profiler swf is trying to be
 loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with
 no success yet.

 -TH

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
 nateross83 nateross83@ wrote:
 
  I am experiencing the same problems trying to profile an AIR 1.5 app.
 Here is my stack trace:
 
  Error #2044: Unhandled securityError:. text=Error #2048: Security
 sandbox violation:
 file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\
 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
 port=9998 cannot load data from localhost:9998.
  at
 ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
 .as:127]
  at runtime::ContentPlayer/loadInitialContent(! )
  at runtime::ContentPlayer/playRawContent()
  at runtime::ContentPlayer/playContent()
  at runtime::AppRunner/run()
  at global/runtime::ADLEntry()
 
  I have tried changing the port from  to other values without
 success, I disabled my firewall to try it (although I don't think
 localhost would be an issue). The strange thing is that a coworker of
 mine appears to have the same set up as I do and it works fine for him.
 
  Here is what I have:
 
  Flex Builder v 3.0.2
  Flash Player 10
  AIR 1.5.1
 
  If you have solved the problem Tim, or anyone else for the matter,
 please help me out.
 
  Thanks,
  Nate
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
  Tim Hoff TimHoff@ wrote:
  
  
g! t;   Hi all,
  
   I just updated the Flex SDK to version 3.2, and am now getting a
   Security sandbox violation error everytime that I launch an AIR
   application from Eclipse. I was wondering if anyone else has run
 into
   this and might know of a fix. The stack trace is listed below.
  
   Thanks,
   -TH
  
   Error #2044: Unhandled securityError:. text=Error #2048: Security
   sandbox violation:
  
 file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
 \
   ofiler%2FProfilerAgent.swf?host=localhostport=
  
 file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
 \
 !  rofiler%2FProfilerAgent.swf?host=localhost! ;port=99 99 cannot load
 data
   from localhost:.
   at
  
 ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
 \
   s:127]
   at runtime::ContentPlayer/loadInitialContent()
   at runtime::ContentPlayer/playRawContent()
   at runtime::ContentPlayer/playContent()
   at runtime::AppRunner/run()
   at global/runtime::ADLEntry()
  
 




[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Tim Hoff

Nailed it!

C:\Users\Tim\mm.cfg:
TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash
Player\Logs\flashlog.txt
ErrorReportingEnable=1
MaxWarnings=0
TraceOutputFileEnable=1
PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/\
ProfilerAgent.swf?host=localhostport=

Removed the last line and problem solved.  In thinking about it, this
was more of a technical support issue; that I could have investigated
more  thoroughly.  Thank you very much for your continued help though
Alex.  Hope that this helps you too, Nate.

-TH

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:


http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html

 Looks like it will be in c:\users\username

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
On Behalf Of Tim Hoff
 Sent: Wednesday, April 01, 2009 6:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after
upgrade to SDK 3.2


 Actually, I couldn't find that specific file on my system (vista
ultimate). The closest thing that I could find was
C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any clue where that
file might be located? It didn't come up in a search.

 When I launch an Air app, this is what shows in the console:
 [SWF]
C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAge\
nt.swf - 17,476 bytes after decompression
 [SWF] MyApp.swf - 2,472,578 bytes after decompression

 -TH

 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  Is there a preloaderSWF in your mm.cfg or is one being written there
as you launch the app?
 
  Alex Harui
  Flex SDK Developer
  Adobe Systems Inc.http://www.adobe.com/
  Blog: http://blogs.adobe.com/aharui
 
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
On Behalf Of Tim Hoff
  Sent: Wednesday, April 01, 2009 3:29 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Security sandbox violation error after
upgrade to SDK 3.2
 
 
  Hi Nate,
 
  Unfortunately I'm still having the problem as well. The difference
is
  that mine shows up only when launching an Air app. I'm able to run
the
  profiler just fine, but for some reason the profiler swf is trying
to be
  loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg)
with
  no success yet.
 
  -TH
 
  --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com,
nateross83 nateross83@ wrote:
  
   I am experiencing the same problems trying to profile an AIR 1.5
app.
  Here is my stack trace:
  
   Error #2044: Unhandled securityError:. text=Error #2048: Security
  sandbox violation:
 
file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203\
%2F.metadata%\
 
2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
\
  port=9998 cannot load data from localhost:9998.
   at
 
ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
\
  .as:127]
   at runtime::ContentPlayer/loadInitialContent(! )
   at runtime::ContentPlayer/playRawContent()
   at runtime::ContentPlayer/playContent()
   at runtime::AppRunner/run()
   at global/runtime::ADLEntry()
  
   I have tried changing the port from  to other values without
  success, I disabled my firewall to try it (although I don't think
  localhost would be an issue). The strange thing is that a coworker
of
  mine appears to have the same set up as I do and it works fine for
him.
  
   Here is what I have:
  
   Flex Builder v 3.0.2
   Flash Player 10
   AIR 1.5.1
  
   If you have solved the problem Tim, or anyone else for the matter,
  please help me out.
  
   Thanks,
   Nate
  
   --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim
Hoff TimHoff@ wrote:
   
   
 g! t;   Hi all,
   
I just updated the Flex SDK to version 3.2, and am now getting a
Security sandbox violation error everytime that I launch an AIR
application from Eclipse. I was wondering if anyone else has run
  into
this and might know of a fix. The stack trace is listed below.
   
Thanks,
-TH
   
Error #2044: Unhandled securityError:. text=Error #2048:
Security
sandbox violation:
   
 
file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.a\
dobe.flash.pr\
  \
ofiler%2FProfilerAgent.swf?host=localhostport=
   
 
file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.\
adobe.flash.p\
  \
  !  rofiler%2FProfilerAgent.swf?host=localhost! ;port=99 99
cannot load
  data
from localhost:.
at
   
 
ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\
\
  \
s:127]
at runtime::ContentPlayer/loadInitialContent()
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at global/runtime::ADLEntry()
   
  
 





RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
Glad that worked.  For the record if you kill a profiler session unexpectedly 
(which can happen when the profiler barfs or hangs on a large app) it won't 
clean up mm.cfg and you can run into this problem.  And even if you don't get 
security errors in other configs, you'll find your debug sessions are running 
really slowly.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Tim Hoff
Sent: Wednesday, April 01, 2009 9:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 
3.2


Nailed it!

C:\Users\Tim\mm.cfg:
TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash 
Player\Logs\flashlog.txt
ErrorReportingEnable=1
MaxWarnings=0
TraceOutputFileEnable=1
PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport=

Removed the last line and problem solved.  In thinking about it, this was more 
of a technical support issue; that I could have investigated more  thoroughly.  
Thank you very much for your continued help though Alex.  Hope that this helps 
you too, Nate.

-TH

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html

 Looks like it will be in c:\users\username

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Tim Hoff
 Sent: Wednesday, April 01, 2009 6:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
 SDK 3.2


 Actually, I couldn't find that specific file on my system (vista ultimate). 
 The closest thing that I could find was 
 C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that file 
 might be located? It didn't come up in a search.

 When I launch an Air app, this is what shows in the console:
 [SWF] 
 C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf
  - 17,476 bytes after decompression
 [SWF] MyApp.swf - 2,472,578 bytes after decompression

 -TH

 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  Is there a preloaderSWF in your mm.cfg or is one being written there as you 
  launch the app?
 
  Alex Harui
  Flex SDK Developer
  Adobe Systems Inc.http://www.adobe.com/
  Blog: http://blogs.adobe.com/aharui
 
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
  Behalf Of Tim Hoff
  Sent: Wednesday, April 01, 2009 3:29 PM
  To: f! lexcod...@yahoogroups.com
  Subject: [flexcode! rs] Re: Security sandbox violation error after upgrade 
  to SDK 3.2
 
 
  Hi Nate,
 
  Unfortunately I'm still having the problem as well. The difference is
  that mine shows up only when launching an Air app. I'm able to run the
  profiler just fine, but for some reason the profiler swf is trying to be
  loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with
  no success yet.
 
  -TH
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
  nateross83 nateross83@ wrote:
  
   I am experiencing the same problems trying to profile an AIR 1.5 app.
  Here is my stack trace:
  
   Error #2044: Unhandled securityError:. text=Error #2048: Security
  sandbox violation:
  file:///Cfile:///\\C! 
  ;|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\
  2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
  port=9998 cannot load data from localhost:9998.
   at
  ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
  .as:127]
   at runtime::ContentPlayer/loadInitialContent(! )
   at runtime::ContentPlayer/playRawContent()
   at runtime::ContentPlayer/playContent()
   at runtime::AppRunner/run()
   at global/runtime::ADLEntry()
  
   I have tried changing the port from  to other values without
  success, I disabled my firewall to try it (although I don't think
  localhost would be an issue). The strange thin! g is that a coworker of
  mine appears to have the ! same set up as I do and it works fine for him.
  
   Here is what I have:
  
   Flex Builder v 3.0.2
   Flash Player 10
   AIR 1.5.1
  
   If you have solved the problem Tim, or anyone else for the matter,
  please help me out.
  
   Thanks,
   Nate
  
   --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
   Tim Hoff TimHoff@ wrote:
   
   
 g! t;   Hi all,
   
I just updated the Flex SDK to version 3.2, and am now getting a
Security sandbox violation error everytime that I launch an AIR
application from Eclipse. I was wondering if anyone else has run
  into
this ! and might know of a fix. The stack trace is listed below.
   
Thanks,
-TH
   
Error #2044: Unhandled securityError:. text=Error #2048