# Debugging XMLSockets applications. Flash CS3 + NetBeans 6

**URL:** <https://forum.kirupa.com/t/debugging-xmlsockets-applications-flash-cs3-netbeans-6/253165>\
**Category:** flash\
**Created:** [February 27, 2008, 8:20pm UTC](https://forum.kirupa.com/t/debugging-xmlsockets-applications-flash-cs3-netbeans-6/253165 "2008-02-27T20:20:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorgedbucaran](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jorgedbucaran/32/4062_2.png) [@jorgedbucaran](https://forum.kirupa.com/u/jorgedbucaran)\
**Post date:** [February 27, 2008, 8:20pm UTC](https://forum.kirupa.com/t/debugging-xmlsockets-applications-flash-cs3-netbeans-6/253165/1 "2008-02-27T20:20:42Z")

</div>

\<policy-file-request/\>" + the null character.

And finally gives this error:  
[FONT=Courier New]  
Error: Error #2002: Operation attempted on invalid socket.  
at [flash.net](http://flash.net)::XMLSocket/send()  
at FlashSocketsDemo\_fla::MainTimeline/closeButton\_Click()[/FONT]

So first I need to understand what is going on and finally then how to solve it so I can debug my application.
