You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Maurice Amsellem <ma...@systar.com> on 2013/10/08 14:55:21 UTC
RE: Issue with 4.11 Mobile Projects on FB 4.7 (solved)
Ok, figured out the cause of the issue:
Experimental-mobile-manifest.xml entries looks like :
<component class="spark.components.itemRenderers.MobileGridBitmapCellRenderer"/>
Instead of :
<component id="MobileGridBitmapCellRenderer" class="spark.components.itemRenderers.MobileGridBitmapCellRenderer"/>
ie the id is missing, which is according to Adobe documentation, perfectly legal, when the unqualified class name matches the id.
http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_31.html
Anyway, it doesn't harm to set the ids for the components.
To be fixed...
Maurice
-----Message d'origine-----
De : Maurice Amsellem [mailto:maurice.amsellem@systar.com]
Envoyé : mardi 8 octobre 2013 13:18
À : dev@flex.apache.org
Objet : Issue with 4.11 Mobile Projects on FB 4.7
Hi, two things:
1) two manifest files are missing in airmobile-config.xml
apache-manifest.xml
experimental-mobile-manifest.xml
- Apache-manifest could be useful in mobile projects (VectorList, VectorCollection etc...)
- Experimental-Mobile-Manifest is required for the MobileGrid components;
2) I haved added them - locally- to a test SDK
<namespace>
<uri>http://flex.apache.org/ns</uri>
<manifest>apache-manifest.xml</manifest>
</namespace>
<namespace>
<uri>http://flex.apache.org/experimental/ns</uri>
<manifest>experimental-mobile-manifest.xml</manifest>
</namespace>
And now FB4.7 fails to create Flex Mobile projects:
Precisely, the creation Wizard does not close and the following error appears in the error.log:
java.lang.NullPointerException
at com.adobe.flash.compiler.internal.mxml.MXMLManifestManager.add(MXMLManifestManager.java:268)
at com.adobe.flash.compiler.internal.mxml.MXMLManifestManager.addManifest(MXMLManifestManager.java:227)
at com.adobe.flash.compiler.internal.mxml.MXMLManifestManager.<init>(MXMLManifestManager.java:135)
at com.adobe.flash.compiler.internal.projects.FlexProject.getMXMLManifestManager(FlexProject.java:1071)
at com.adobe.flash.compiler.internal.projects.FlexProject.getTagNamesForClass(FlexProject.java:1308)
at com.adobe.flexbuilder.codemodel.internal.as.indices.tag.TagInformationIndex.getTagsForClass(TagInformationIndex.java:240)
at com.adobe.flexbuilder.mxmlmodel.NamespaceHelper.getXMLNamesForClass(NamespaceHelper.java:229)
at com.adobe.flexbuilder.mxmlmodel.NamespaceHelper.getTagForClass(NamespaceHelper.java:176)
at com.adobe.flexide.mxml.core.filetemplates.generator.MXMLFileContentGenerator.getTagInfo(MXMLFileContentGenerator.java:177)
at com.adobe.flexide.mxml.core.filetemplates.generator.MXMLComponentContentGenerator.getExtraTags(MXMLComponentContentGenerator.java:182)
at com.adobe.flexide.mxml.core.filetemplates.generator.MXMLMobileApplicationContentGenerator.getExtraTags(MXMLMobileApplicationContentGenerator.java:99)
at com.adobe.flexide.mxml.core.filetemplates.generator.MXMLFileContentGenerator.getParameterTable(MXMLFileContentGenerator.java:126)
at com.adobe.flexide.mxml.core.filetemplates.generator.MXMLFileContentGenerator.generateFileContent(MXMLFileContentGenerator.java:81)
at com.adobe.flexide.mxml.core.filetemplates.generator.MXMLComponentContentGenerator.generateFileContent(MXMLComponentContentGenerator.java:79)
at com.adobe.flashbuilder.project.multiplatform.ui.wizards.MultiPlatformProjectWizard.doCreateMainApplication(MultiPlatformProjectWizard.java:312)
at com.adobe.flexbuilder.project.ui.wizards.AbstractActionScriptProjectWizard$AbstractActionScriptStrategy.performFinish(AbstractActionScriptProjectWizard.java:795)
at com.adobe.flexbuilder.project.ui.wizards.AbstractFlexProjectWizard$FlexStrategy.performFinish(AbstractFlexProjectWizard.java:802)
at com.adobe.flexbuilder.project.ui.wizards.AbstractFlexProjectWizard.performFinish(AbstractFlexProjectWizard.java:587)
at com.adobe.flexbuilder.project.ui.wizards.FlexApolloProjectWizard.performFinish(FlexApolloProjectWizard.java:99)
Any idea?
Maurice Amsellem
SYSTAR R&D - BusinessBridgeFX