CEGUI::UnknownObjectException when tree is used

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

Metabug
Just popping in
Just popping in
Posts: 8
Joined: Wed Apr 09, 2008 00:12

CEGUI::UnknownObjectException when tree is used

Postby Metabug » Wed Jan 21, 2009 21:21

The following exception messages are displayed in VS2005 output and logged in CEGUI.log whenever trees are used (e.g. just run the tree sample project). I am running 0.6.2 with directx 9 renderer. No code were modified off the zip files downloaded. The tree in sample project is using Taharez scheme, the properties mentioned are indeed specified in the looknfeel, so I'm not sure what went wrong.


]
21/01/2009 13:10:23 (Error) CEGUI::UnknownObjectException in file d:\projects\cegui\cegui_admin\cegui_mk2\sdk_helpers\cegui-0.6.2-vc8\src\ceguipropertyset.cpp(124) : There is no Property named 'SelectionBrushImage' available in the set.
21/01/2009 13:10:23 (Error) CEGUI::UnknownObjectException in file d:\projects\cegui\cegui_admin\cegui_mk2\sdk_helpers\cegui-0.6.2-vc8\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalTextColour' available in the set.
21/01/2009 13:10:23 (Error) CEGUI::UnknownObjectException in file d:\projects\cegui\cegui_admin\cegui_mk2\sdk_helpers\cegui-0.6.2-vc8\src\ceguipropertyset.cpp(124) : There is no Property named 'SelectedTextColour' available in the set.
21/01/2009 13:10:23 (Error) CEGUI::UnknownObjectException in file d:\projects\cegui\cegui_admin\cegui_mk2\sdk_helpers\cegui-0.6.2-vc8\src\ceguipropertyset.cpp(124) : There is no Property named 'ActiveSelectionColour' available in the set.
21/01/2009 13:10:23 (Error) CEGUI::UnknownObjectException in file d:\projects\cegui\cegui_admin\cegui_mk2\sdk_helpers\cegui-0.6.2-vc8\src\ceguipropertyset.cpp(124) : There is no Property named 'InactiveSelectionColour' available in the set.


This have been mentioned in here and here. But I can't find where it has ever been addressed.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Thu Jan 22, 2009 07:27

Hi,

i should have a look at this when i'm back home tonight. I'm (almost) sure that i ran the tree samples before releasing the SDKs.

There's probably some legacy stuff in the looknfeel files, because these exceptions aren't fatal. I mean, you can use the tree, can't you?

HTH.
Check out my released snake game using Cegui!

Metabug
Just popping in
Just popping in
Posts: 8
Joined: Wed Apr 09, 2008 00:12

Postby Metabug » Fri Jan 23, 2009 00:58

Right, tree works just fine. It's not affecting the functionality as far as I can see. So definitely not some urgent issue. It would just be nice to have no exceptions, that's all.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Fri Jan 23, 2009 15:17

Okay, thanks for posting. You are right about not wanting to get any exceptions. We will see to update the errorneous file before the next release.
Check out my released snake game using Cegui!

Bannta
Just popping in
Just popping in
Posts: 1
Joined: Thu Feb 26, 2009 17:33
Location: Chicago land area

Postby Bannta » Thu Feb 26, 2009 17:42

This is what fixed our errors
http://www.cegui.org.uk/phpBB2/viewtopi ... 7865#17865

changing the legacy prams with the new prams

Legacy:
Value="FF000000"

New:
initialValue="FF000000" redrawOnWrite="true"


Our issue was in our layout for our Tree widget.

Code: Select all

<WidgetLook name="<whatever your layout is call name>/Tree">
      <PropertyDefinition name="NormalTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="SelectedTextColour" initialValue="FF000000" redrawOnWrite="true" />
        <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
        <PropertyDefinition name="InactiveSelectionColour" initialValue="FF808080" redrawOnWrite="true" />
        <PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
        <NamedArea name="ItemRenderingArea">


hope that helps.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 8 guests