Quantcast
Viewing all articles
Browse latest Browse all 2010

Error reading application.xml

In FlashBuiler 4.7 for Mac, I'm creating a Mobile Flex application of iOS. When I build the app, I get this error:-

!ENTRY com.adobe.flexbuilder.project 4 43 2013-12-03 16:44:04.554

!MESSAGE Error reading application.xml.

!STACK 0

in the .log file for the project. Further read of the log shows:-

com.adobe.flexbuilder.project.AbstractXMLModel$FileReadException: org.eclipse.core.internal.resources.ResourceException: Resource '/Users/chris/servers/CF9/Mobile2/Mobile2-app.xml' does not exist.

          at com.adobe.flexbuilder.project.air.internal.xml.ApplicationXMLModel.<init>(ApplicationXMLModel.java:102)

          at com.adobe.flexbuilder.project.air.AppXMLCreator.init(AppXMLCreator.ja va:91)

          at com.adobe.flexbuilder.project.air.AppXMLCreator.<init>(AppXMLCreator.java:80)

          at com.adobe.flexbuilder.project.air.AppXMLCreator.<init>(AppXMLCreator.java:73)

          at com.adobe.flexbuilder.project.air.AppXMLFileModificationHelper.getApp XMLCreator(AppXMLFileModificationHelper.java:66)

          at com.adobe.flexide.launching.multiplatform.launchhandlers.MultiPlatfor mLaunchHelper.getAppXMLCreator(MultiPlatformLaunchHelper.java:66)

          at com.adobe.flexide.launching.multiplatform.launchhandlers.MultiPlatfor mLaunchHelper.addToAppXmlFile(MultiPlatformLaunchHelper.java:45)

          at com.adobe.flexide.launching.multiplatform.launchhandlers.MultiPlatfor mLaunchHelper.applyModifiedAppIdToLaunchAppXML(MultiPlatformLaunchHelp er.java:30)

          at com.adobe.flexide.multiplatform.ios.launching.IOSLaunchHandler.launch (IOSLaunchHandler.java:241)

          at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate .launch(MultiPlatformLaunchDelegate.java:184)

          at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(Abstrac tFlexLaunchDelegate.java:244)

          at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(Abstrac tFlexLaunchDelegate.java:134)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConf iguration.java:854)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConf iguration.java:703)

          at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlu gin.java:928)

          at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java: 1132)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

This error message is misleading because the file does exist. Not only that, if I switch AIR compilers without editing the application.xml file, I get a namespace error because I was didn't change the namespace. That shows it's finding and reading the application.xml file.

 

This project is using both an ANE and an application server type of Coldfusion using the Remote Object Access Service.

 

When I first started using the ANE, I created a simple little project to test out the ANE and I was able to successfully deploy this to the device and run it.

 

When I added the new code to the main application, I keep getting this error.

 

Has anyone seen this before? How to I get around it?


Viewing all articles
Browse latest Browse all 2010

Trending Articles