# SceneGraph Sample Broken?

**URL:** <https://forum.developer.roku.com/t/scenegraph-sample-broken/6838>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [March 18, 2016, 5:50pm UTC](https://forum.developer.roku.com/t/scenegraph-sample-broken/6838 "2016-03-18T17:50:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidAW](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@DavidAW](https://forum.developer.roku.com/u/DavidAW)\
**Post date:** [March 18, 2016, 5:50pm UTC](https://forum.developer.roku.com/t/scenegraph-sample-broken/6838/1 "2016-03-18T17:50:45Z")

</div>

Hi all,  
I am just starting looking into Roku development. I looked at the sample video player, and then the new “Simple Grid And Video” example from the SceneGraph example here:

[https://blog.roku.com/developer/2016/03 … /#more-964](https://blog.roku.com/developer/2016/03/03/scenegraph-tutorial/#more-964)

When I download this sample and run it though it does not work. It fails as shown below:

```auto
BrightScript Debugger> next
022: scene.gridContent = ParseXMLContent(list)

BrightScript Debugger> s
022: scene.gridContent = ParseXMLContent(list)

Current Function:
014: ContentList : oneRow
015: }
016: {
017: Title:"Second row"
018: ContentList : oneRow
019: }
020: ]
021:      
022:* scene.gridContent = ParseXMLContent(list)
023:  
024: while true
025: msg = wait(0, port)
026: print "------------------"
Invalid value for left-side of expression. (runtime error &he4) in pkg:/source/main.brs(22)
022: scene.gridContent = ParseXMLContent(list)
Backtrace:
#0 Function runuserinterface() As Void
   file/line: pkg:/source/main.brs(24)
Local Variables:
global rotINTERFACE:ifGlobal
m roAssociativeArray refcnt=2 count:0
screen bsc:roSGScreen refcnt=1
scene Invalid
port bsc:roMessagePort refcnt=2
onerow roArray refcnt=3 count:15
list roArray refcnt=1 count:2
msg <uninitialized>

BrightScript Debugger> 

```

The problem seems to be that the scene isn’t valid.

```auto
screen = CreateObject("roSGScreen")
scene = screen.CreateScene("HomeScene")

```

The “HomeScene” is defined in a separate file. Maybe it needs to be imported or something? I am new to BrightScript.

Thanks for any help. This SceneGraph model seems cleaner than writing the whole app in one file.

---

<div class="post-metadata">

**Author:** ![RobSMS](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@RobSMS](https://forum.developer.roku.com/u/RobSMS)\
**Post date:** [March 21, 2016, 9:21am UTC](https://forum.developer.roku.com/t/scenegraph-sample-broken/6838/2 "2016-03-21T09:21:55Z")

</div>

If you are using Eclipse IDE, make sure that you have selected the components, images and source folders on export. Sometimes they don’t get selected properly and the app crashes because the files were not included in the package.
