View Issue Details

IDProjectCategoryView StatusLast Update
0003157NoesisGUIStudiopublic2025-01-23 14:37
Reportermaherne Assigned Todfranjic  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0003157: Crash when trying to create a binding in a Style
Description

When trying to create a binding for a property in a Style, Studio locks up (infinite loop?).

When creating a binding for a ItemsControl ItemSource, or a ControlControl Content, an assert is hit:

Gui.DependencySystem.dll!Noesis::HashMapImpl<Noesis::HashBucket_KV<Noesis::DependencyProperty const ,Noesis::StoredValue ,Noesis::HashKeyInfo<Noesis::DependencyProperty const >>>::FindBucket<Noesis::DependencyProperty const >(unsigned int hash, const Noesis::DependencyProperty const & key) Line 792
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Core\NSTL\Include\NsCore\HashMap.inl(792)
Gui.DependencySystem.dll!Noesis::HashMapImpl<Noesis::HashBucket_KV<Noesis::DependencyProperty const
,Noesis::StoredValue ,Noesis::HashKeyInfo<Noesis::DependencyProperty const >>>::FindBucket<Noesis::DependencyProperty const >(unsigned int hash, const Noesis::DependencyProperty const & key) Line 822
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Core\NSTL\Include\NsCore\HashMap.inl(822)
Gui.DependencySystem.dll!Noesis::HashMapImpl<Noesis::HashBucket_KV<Noesis::DependencyProperty const ,Noesis::StoredValue ,Noesis::HashKeyInfo<Noesis::DependencyProperty const >>>::Find<Noesis::DependencyProperty const >(const Noesis::DependencyProperty const & key) Line 430
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Core\NSTL\Include\NsCore\HashMap.inl(430)
Gui.DependencySystem.dll!Noesis::DependencyObject::InternalGetValue(const Noesis::DependencyProperty
dp, unsigned int sizeOfT) Line 1221
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\DependencySystem\Src\DependencyObject.cpp(1221)
Gui.Core.dll!Noesis::DependencyObject::GetValue<Noesis::Ptr<Noesis::BaseComponent>>(const Noesis::DependencyProperty dp) Line 46
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\DependencySystem\Include\NsGui\DependencyObject.inl(46)
Gui.Core.dll!Noesis::ValueStorageManagerImpl<Noesis::Ptr<Noesis::BaseComponent>>::GetValue(const Noesis::DependencyObject
dob, const Noesis::DependencyProperty dp) Line 181
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\DependencySystem\Include\NsGui\ValueStorageManagerImpl.inl(181)
Gui.DependencySystem.dll!Noesis::DependencyProperty::GetValueObject(const Noesis::DependencyObject
obj) Line 186
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\DependencySystem\Include\NsGui\DependencyProperty.inl(186)
Gui.DependencySystem.dll!Noesis::DependencyObject::GetValueObject(const Noesis::DependencyProperty dp) Line 139
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\DependencySystem\Src\DependencyObject.cpp(139)
Gui.Studio.dll!Editor::UpdatePropertyBindingCommand::Execute() Line 64
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\Studio\Src\UpdatePropertyBindingCommand.cpp(64)
Gui.Studio.dll!Editor::Property::CreateExpression(Noesis::BaseComponent
param) Line 1018
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\Studio\Src\Property.cpp(1018)
Gui.Studio.dll!Noesis::DelegateImpl<void cdecl(Noesis::BaseComponent *)>::MemberFuncStub<Editor::Property,void (cdecl Editor::Property::)(Noesis::BaseComponent )>::Invoke(Noesis::BaseComponent && <args_0>) Line 202
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Core\Kernel\Include\NsCore\Delegate.inl(202)
App.ApplicationLauncher.dll!Noesis::Delegate<void __cdecl(Noesis::BaseComponent
)>::operator()(Noesis::BaseComponent <args_0>) Line 522
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Core\Kernel\Include\NsCore\Delegate.inl(522)
App.ApplicationLauncher.dll!NoesisApp::DelegateCommand::Execute(Noesis::BaseComponent
param) Line 52
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\App\ApplicationLauncher\Src\DelegateCommand.cpp(52)
Gui.Core.dll!Noesis::CommandHelper::ExecuteCommand(const Noesis::ICommandSource source, Noesis::UIElement target) Line 317
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\Core\Src\CommandHelper.cpp(317)
Gui.Core.dll!Noesis::BaseButton::OnClick() Line 424
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\Core\Src\BaseButton.cpp(424)
Gui.Core.dll!Noesis::Button::OnClick() Line 66
at C:\Source\Noesis\NoesisEditor\NoesisSDK\Native\Src\Packages\Gui\Core\Src\Button.cpp(66)

Steps To Reproduce

Create a new Page
Add a Button
Create a Style
Create a binding for a property

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-03-11 13:38 maherne New Issue
2024-03-11 13:38 maherne Target Version => Studio_Alpha
2024-03-11 15:29 jsantos Assigned To => dfranjic
2024-03-11 15:29 jsantos Status new => assigned
2025-01-23 14:37 dfranjic Status assigned => resolved
2025-01-23 14:37 dfranjic Resolution open => fixed