flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iamable <joerg.witth...@continental-corporation.com>
Subject flexunit error: Could not create application descriptor
Date Tue, 23 Jun 2015 10:22:47 GMT
Hey there,

at first: great to see that project open source ;-)


Now lets get to my problem. I'm trying to run flexunit tests of my air
application but always getting the following error: Could not create
application descriptor
Any idea how to fix it? I can't find any solution.

Following the output from Jenkins:

test:
     [echo] executing test cases...
 [flexunit] Validating task attributes ...
 [flexunit] Generating default values ...
 [flexunit] Using default working dir
[C:\Users\uidu3616\Jenkins\workspace\MasterHMI]
 [flexunit] Using the following settings for compilation:
 [flexunit] 	FLEX_HOME: [C:\Flex_SDK\4.6]
 [flexunit] 	player: [air]
 [flexunit] 	sourceDirectories:
["C:\Users\uidu3616\Jenkins\workspace\MasterHMI\src"]
 [flexunit] 	testSourceDirectories:
["C:\Users\uidu3616\Jenkins\workspace\MasterHMI\tests"]
 [flexunit] 	libraries:
["C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\ArduinoConnector.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\ControlObjects.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\FdtFlexUnit.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\SoundEngine.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-4.1.0-8-as3_4.1.0.16076.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-4.1.0-8-flex_4.1.0.16076.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-aircilistener-4.1.0-8-4.1.0.16076.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-cilistener-4.1.0-8-4.1.0.16076.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-uilistener-4.1.0-8-4.1.0.16076.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\greensock.swc","C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\robotlegs-framework-v2.2.1.swc"]
 [flexunit] Found SDK version: 4
 [flexunit] Created test runner at
[C:\Users\uidu3616\Jenkins\workspace\MasterHMI\TestRunner.mxml]

 [flexunit] Compiling test classes: [TestSuite]
 [flexunit] Executing 'C:\Program Files (x86)\Java\jre7\bin\java.exe' with
arguments:
 [flexunit] '-Xmx256M'
 [flexunit] '-jar'
 [flexunit] 'C:\Flex_SDK\4.6\lib\mxmlc.jar'
 [flexunit] '+flexlib'
 [flexunit] 'C:\Flex_SDK\4.6\frameworks'
 [flexunit] '+configname=air'
 [flexunit] '-output'
 [flexunit] 'C:\Users\uidu3616\Jenkins\workspace\MasterHMI\TestRunner.swf'
 [flexunit] '-source-path'
 [flexunit] 'C:\Users\uidu3616\Jenkins\workspace\MasterHMI\src'
 [flexunit] 'C:\Users\uidu3616\Jenkins\workspace\MasterHMI\tests'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\ArduinoConnector.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\ControlObjects.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\FdtFlexUnit.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\SoundEngine.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-4.1.0-8-as3_4.1.0.16076.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-4.1.0-8-flex_4.1.0.16076.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-aircilistener-4.1.0-8-4.1.0.16076.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-cilistener-4.1.0-8-4.1.0.16076.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\flexunit-uilistener-4.1.0-8-4.1.0.16076.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\greensock.swc'
 [flexunit]
'-library-path+=C:\Users\uidu3616\Jenkins\workspace\MasterHMI\lib\robotlegs-framework-v2.2.1.swc'
 [flexunit] '-headless-server=true'
 [flexunit] 'C:\Users\uidu3616\Jenkins\workspace\MasterHMI\TestRunner.mxml'
 [flexunit] 
 [flexunit] The ' characters around the executable and arguments are
 [flexunit] not part of the command.
 [flexunit] 
     [null] Konfigurationsdatei C:\Flex_SDK\4.6\frameworks\air-config.xml
wird geladen

     [null] C:\Users\uidu3616\Jenkins\workspace\MasterHMI\TestRunner.swf
(879055 Byte)
 [flexunit] Using the following settings for the test run:
 [flexunit] 	FLEX_HOME: [C:\Flex_SDK\4.6]
 [flexunit] 	haltonfailure: [false]
 [flexunit] 	headless: [false]
 [flexunit] 	display: [99]
 [flexunit] 	localTrusted: [true]
 [flexunit] 	player: [air]
 [flexunit] 	port: [1024]
 [flexunit] 	swf:
[C:\Users\uidu3616\Jenkins\workspace\MasterHMI\TestRunner.swf]
 [flexunit] 	timeout: [60000ms]
 [flexunit] 	toDir:
[C:\Users\uidu3616\Jenkins\workspace\MasterHMI\target\report]
 [flexunit] Setting up server process ...
 [flexunit] Starting server ...
 [flexunit] Opening server socket on port [1024].
 [flexunit] Waiting for client connection ...

BUILD FAILED
C:\Users\uidu3616\Jenkins\workspace\MasterHMI\build.xml:61: Could not create
application descriptor

Total time: 16 seconds
Build step 'Invoke Ant' marked build as failure
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level
C:\Users\uidu3616\Jenkins\workspace\MasterHMI\target\doc to C:\Program Files
(x86)\Jenkins\jobs\MasterHMI\htmlreports\Software_Documentation

ERROR: Directory 'C:\Users\uidu3616\Jenkins\workspace\MasterHMI\target\doc'
exists but failed copying to 'C:\Program Files
(x86)\Jenkins\jobs\MasterHMI\htmlreports\Software_Documentation'.
Recording test results
ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to
exception
hudson.AbortException: Keine JUnit-Testergebnisse gefunden. Liegt vielleicht
ein Konfigurationsfehler vor?
	at
hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:116)
	at
hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:92)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:328)
	at
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at hudson.remoting.Engine$1$1.run(Engine.java:63)
	at java.lang.Thread.run(Unknown Source)
	at ......remote call to joerg_windows(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
	at hudson.remoting.Channel.call(Channel.java:752)
	at hudson.FilePath.act(FilePath.java:970)
	at hudson.FilePath.act(FilePath.java:959)
	at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:89)
	at
hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:121)
	at
hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:138)
	at
hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
	at
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
	at hudson.model.Run.execute(Run.java:1784)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)
Finished: FAILURE

I would be very glad if anybody can solve that.

best regards




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/flexunit-error-Could-not-create-application-descriptor-tp10634.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message