Pages: [1]
  Print  
Author Topic: BUG: Panel breaks after 'Sync with site.xml'  (Read 185 times)
TyZ
Gaia User
**
Posts: 62


Temple - http://templelibrary.googlecode.com/

tyz
WWW
« on: July 18, 2011, 02:52:55 AM »

After I clicked 'Sync with site.xml' the publish tab in the panel acts really weird when I scroll in the tree.

Flash logs the following errors:

ReferenceError: Error #1069: Property null not found on PublishView and there is no default value.
   at mx.controls::Tree/itemToIcon()
   at mx.controls::Tree/initListData()
   at it.sephiroth.controls::TreeCheckBox/initListData()
   at it.sephiroth.controls::TreeCheckBox/makeListData()
   at mx.controls::List/makeRowsAndColumns()
   at mx.controls.listClasses::ListBase/scrollVertically()
   at mx.controls.listClasses::ListBase/set verticalScrollPosition()
   at mx.controls.listClasses::ListBase/mouseWheelHandler()
   at mx.controls::List/mouseWheelHandler()
   at mx.controls::Tree/mouseWheelHandler()
ReferenceError: Error #1069: Property null not found on PublishView and there is no default value.
   at mx.controls::Tree/itemToIcon()
   at mx.controls::Tree/initListData()
   at it.sephiroth.controls::TreeCheckBox/initListData()
   at it.sephiroth.controls::TreeCheckBox/makeListData()
   at mx.controls::List/makeRowsAndColumns()
   at mx.controls.listClasses::ListBase/scrollVertically()
   at mx.controls.listClasses::ListBase/set verticalScrollPosition()
   at mx.controls.listClasses::ListBase/mouseWheelHandler()
   at mx.controls::List/mouseWheelHandler()
   at mx.controls::Tree/mouseWheelHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at mx.controls.listClasses::ListBase/moveRowVertically()
   at mx.controls.listClasses::ListBase/scrollVertically()
   at mx.controls.listClasses::ListBase/set verticalScrollPosition()
   at mx.controls.listClasses::ListBase/mouseWheelHandler()
   at mx.controls::List/mouseWheelHandler()
   at mx.controls::Tree/mouseWheelHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at mx.controls.listClasses::ListBase/http://www.adobe.com/2006/flex/mx/internal::mouseEventToItemRendererOrEditor()
   at mx.controls.listClasses::ListBase/mouseEventToItemRenderer()
   at mx.controls::List/mouseEventToItemRenderer()
   at mx.controls.listClasses::ListBase/mouseMoveHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at mx.controls.listClasses::ListBase/http://www.adobe.com/2006/flex/mx/internal::mouseEventToItemRendererOrEditor()
   at mx.controls.listClasses::ListBase/mouseEventToItemRenderer()
   at mx.controls::List/mouseEventToItemRenderer()
   at mx.controls.listClasses::ListBase/mouseOverHandler()
   at mx.controls::Tree/mouseOverHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at mx.controls.listClasses::ListBase/drawItem()
   at mx.controls.listClasses::ListBase/mouseOverHandler()
   at mx.controls::Tree/mouseOverHandler()
   at mx.controls.listClasses::ListBase/mouseMoveHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at mx.controls.listClasses::ListBase/http://www.adobe.com/2006/flex/mx/internal::mouseEventToItemRendererOrEditor()
   at mx.controls.listClasses::ListBase/mouseEventToItemRenderer()
   at mx.controls::List/mouseEventToItemRenderer()
   at mx.controls.listClasses::ListBase/mouseOutHandler()
   at mx.controls::Tree/mouseOutHandler()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at mx.controls.listClasses::ListBase/drawItem()
   at mx.controls.listClasses::ListBase/mouseOverHandler()
   at mx.controls::Tree/mouseOverHandler()


And this is the project.gaia file:

Code:
<project>
  <name>XXXXXX</name>
  <language>AS3</language>
  <player>9</player>
  <version>3.2.6</version>
  <width>1000</width>
  <height>600</height>
  <width100>true</width100>
  <height100>true</height100>
  <centerX>true</centerX>
  <centerY>true</centerY>
  <bgColor>FFFFFF</bgColor>
  <fps>31</fps>
  <uri>file:///D|/Projects/XXXXXX</uri>
  <flashPath>source</flashPath>
  <publishPath>root</publishPath>
  <classesPath>source/classes</classesPath>
  <siteXmlPath>inc/xml</siteXmlPath>
  <classPackage>com.xxxxxx.pages</classPackage>
  <template>Actionscript</template>
  <seo>false</seo>
  <domain>www.domain.com/</domain>
  <modified>1310976197255</modified>
  <optimizeTypes>
    <bitmapAsset>true</bitmapAsset>
    <bitmapSpriteAsset>true</bitmapSpriteAsset>
    <soundAsset>true</soundAsset>
    <soundClipAsset>true</soundClipAsset>
    <netStreamAsset>true</netStreamAsset>
    <textAsset>true</textAsset>
    <xmlAsset>true</xmlAsset>
    <styleSheetAsset>true</styleSheetAsset>
    <jsonAsset>true</jsonAsset>
    <byteArrayAsset>true</byteArrayAsset>
  </optimizeTypes>
  <publishData>
    <node label="source" checked="1">
      <node label="choose_tentmates.fla" icon="flashFileIcon" checked="1" src="choose_tentmates.fla"/>
      <node label="home.fla" icon="flashFileIcon" checked="1" src="home.fla"/>
      <node label="index.fla" icon="flashFileIcon" checked="1" src="index.fla"/>
      <node label="intro_animation.fla" icon="flashFileIcon" checked="1" src="intro_animation.fla"/>
      <node label="navigation.fla" icon="flashFileIcon" checked="1" src="navigation.fla"/>
      <node label="popup_addtent_failed.fla" icon="flashFileIcon" checked="1" src="popup_addtent_failed.fla"/>
      <node label="popup_done.fla" icon="flashFileIcon" checked="1" src="popup_done.fla"/>
      <node label="popup_enter_phone.fla" icon="flashFileIcon" checked="1" src="popup_enter_phone.fla"/>
      <node label="popup_hi_member.fla" icon="flashFileIcon" checked="1" src="popup_hi_member.fla"/>
      <node label="popup_location_check.fla" icon="flashFileIcon" checked="1" src="popup_location_check.fla"/>
      <node label="popup_start.fla" icon="flashFileIcon" checked="1" src="popup_start.fla"/>
      <node label="preload.fla" icon="null" checked="1" src="preload.fla"/>
      <node label="register.fla" icon="flashFileIcon" checked="1" src="register.fla"/>
      <node label="tent.fla" icon="flashFileIcon" checked="1" src="tent.fla"/>
      <node label="wallpost.fla" icon="flashFileIcon" checked="1" src="wallpost.fla"/>
      <node label="winners.fla" icon="flashFileIcon" checked="1" src="winners.fla"/>
      <node label="winners_overview.fla" icon="flashFileIcon" checked="1" src="winners_overview.fla"/>
      <node label="woody.fla" icon="flashFileIcon" checked="1" src="woody.fla"/>
      <node label="main.fla" icon="mainFileIcon" checked="1" src="main.fla"/>
    </node>
  </publishData>
</project>

Now the panel is not showing all the pages
« Last Edit: July 18, 2011, 03:04:21 AM by TyZ » Logged
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 3871


gaiaframework
WWW
« Reply #1 on: July 18, 2011, 10:43:12 AM »

Try making a new project, copy your site.xml to it, scaffold, save and then copy that project.gaia file to your original project.
Logged

Steven Sacks | Gaia Author
Please support Gaia by donating to the project!  Smiley
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc