Skip to content

[Editor] Exception when trying to edit the sky or lights #10

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Launch the editor
2. Open a level file
3. Try to edit the sky actor
4. Note the exception

What is the expected output? What do you see instead?
- No exceptions should occur

Exception text is as follows:

---------------------------

---------------------------
Error in ComponentName SkyRenderComponent
System.NullReferenceException: Object reference not set to an instance of an 
object.

   at EditorApp.EditorForm.ActorComponentEditor.AddFileElement(XmlNode actorValues, String elementName, Int32 lineNum) in C:\bob\proj\GameCode4\Dev\Source\GCC4Editor\EditorApp\ActorComponentEditor.cs:line 237

   at EditorApp.EditorForm.ActorComponentEditor.AddComponentUI(XmlNode actorComponentValues, XmlNode editorComponentValues, Int32 lineNum) in C:\bob\proj\GameCode4\Dev\Source\GCC4Editor\EditorApp\ActorComponentEditor.cs:line 188
---------------------------
OK   
---------------------------

Original issue reported on code.google.com by rezinat...@gmail.com on 18 Mar 2012 at 10:08

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions