For some reason your flashplayer was not able to communicate with java side.... there is a socket there to send results from flex to java.... No idea what is the real reason of that not being working at your place..... but this works, so, something with your env....
VELO On Tue, Apr 21, 2009 at 12:21 PM, dhoffer <[email protected]> wrote: > > I had the same error...so I added the missing dependency like this: > > <dependency> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-unittest-support</artifactId> > <version>${flexmojosMmavenPluginVersion}</version> > <type>swc</type> > <scope>test</scope> > </dependency> > > However now when the tests run, i.e. the swf is run the the flash > player I get the following error: > > Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error. > at org.sonatype.flexmojos.unitestingsupport::SocketReporter/ > sendResults()[/home/nexus/flexmojos/trunk/target/checkout/flexmojos- > testing/flexmojos-unittest-support/src/main/flex/org/sonatype/ > flexmojos/unitestingsupport/SocketReporter.as:135] > at <anonymous>()[/home/nexus/flexmojos/trunk/target/checkout/ > flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/ > sonatype/flexmojos/unitestingsupport/SocketReporter.as:238] > at > <anonymous>()[C:\autobuild\3.3.0\frameworks\projects\framework\src > \mx\binding\utils\BindingUtils.as:145] > at mx.binding.utils::ChangeWatcher/wrapHandler()[C:\autobuild > \3.3.0\frameworks\projects\framework\src\mx\binding\utils > \ChangeWatcher.as:423] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at org.sonatype.flexmojos.unitestingsupport::SocketReporter/ > dispatchEvent()[/home/nexus/flexmojos/trunk/target/checkout/flexmojos- > testing/flexmojos-unittest-support/src/main/flex/org/sonatype/ > flexmojos/unitestingsupport/SocketReporter.as:47] > at org.sonatype.flexmojos.unitestingsupport::SocketReporter/set > totalTestCount()[/home/nexus/flexmojos/trunk/target/checkout/flexmojos- > testing/flexmojos-unittest-support/src/main/flex/org/sonatype/ > flexmojos/unitestingsupport/SocketReporter.as:44] > at > org.sonatype.flexmojos.unitestingsupport::SocketReporter/runTests() > [/home/nexus/flexmojos/trunk/target/checkout/flexmojos-testing/ > flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/ > unitestingsupport/SocketReporter.as:198] > at > org.sonatype.flexmojos.unitestingsupport::TestApplication/runTests > ()[/home/nexus/flexmojos/trunk/target/checkout/flexmojos-testing/ > flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/ > unitestingsupport/TestApplication.as:40] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.3.0\frameworks > \projects\framework\src\mx\core\UIComponent.as:9308] > at mx.core::UIComponent/set initialized()[C:\autobuild > \3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] > at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild > \3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as: > 718] > at Function/http://adobe.com/AS3/2006/builtin::apply() > at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild > \3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633] > at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild > \3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573] > > What's the cause and fix for this? > -Dave > > > On Mar 27, 11:08 am, Michael <[email protected]> wrote: > > It's the same error as I got - check that you don't still have a 2.0.3 > > testing-support dependency. > > > > On Mar 27, 3:31 pm, Marvin Froeder <[email protected]> wrote: > > > > > It is missing this dependency: > http://repository.sonatype.org/content/groups/public/org/sonatype/fle... > > > > > But if you are coming from flexmojos 2.0.x you should have this > dependency > > > already.... > > > > > VELO > > > > > On Fri, Mar 27, 2009 at 11:54 AM, charlie <[email protected] > >wrote: > > > > > > Hi Just upgrading from 2.0.3 and I changed my POM to use the new > > > > compiler: > > > > <plugin> > > > > <groupId>org.sonatype.flexmojos</groupId> > > > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > > <version>3.0.0</version> > > > > <extensions>true</extensions> > > > > <configuration> > > > > <sourceFile>jibbajabba.mxml</sourceFile> > > > > </configuration> > > > > <!-- <version>1.0</version> --> > > > > </plugin> > > > > > > But when I run it I an getting the following error. Please advice? > > > > > > Unable to locate specified base class > > > > 'org.sonatype.flexmojos.unitestingsupport.TestApplication' for > > > > component class 'TestRunner'. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
