April 18, 2024, 08:57:24 AM
Home
Help
Search
Login
Register
RadiantQ Forum
See more Support incidents in our old
archived forum
.
RadiantQ Forum
»
Product
»
WPF Gantt Package
»
NullReferenceException in TaskListControl
« previous
next »
Print
Pages: [
1
]
Author
Topic: NullReferenceException in TaskListControl (Read 3981 times)
tim
Customers
Jr. Member
Posts: 60
NullReferenceException in TaskListControl
«
on:
August 31, 2015, 09:01:27 AM »
Hello again,
occasionally, when I try to refresh/reload the data displayed in the gantt chart, I get a NullRefernceException.
I debugged the code and narrowed it down to the class "
TasksListControl
" and its method "
TasksListControl_Loaded
"
In that case the line "
var itemsPresenter = Extensions.GetChild<ItemsPresenter>(this, false);
" results in "
itemsPresenter
" being "
null
", which will later produce the exception.
It would be great, if you could fix this issue
Thanks,
Jan Reker
Logged
Rajagopal
RQ Members
Full Member
Posts: 182
Re: NullReferenceException in TaskListControl
«
Reply #1 on:
August 31, 2015, 03:09:27 PM »
Jan,
Yes, we can provide an update with a fix for this soon. Before that can you tell us what exactly you mean by "refresh/reload"? Is it resetting the data or is the gantt getting refreshed by being on a Tab, for example?
Thanks,
Raja.
Logged
tim
Customers
Jr. Member
Posts: 60
Re: NullReferenceException in TaskListControl
«
Reply #2 on:
September 02, 2015, 06:22:46 AM »
Raja,
by "refresh" I meant the when I alter the bound ItemSource (with quite a lot of objects) by clearing it and filling it with new data. Most of the time this works flawlessly, but sometimes it results in the mentioned exception.
Logged
ForumAdmin
Administrator
Jr. Member
Posts: 96
Re: NullReferenceException in TaskListControl
«
Reply #3 on:
September 02, 2015, 07:16:09 PM »
Jan,
We just sent you an updated assembly with the fix. Please verify.
Thanks
RQ Support
Logged
Print
Pages: [
1
]
« previous
next »
RadiantQ Forum
»
Product
»
WPF Gantt Package
»
NullReferenceException in TaskListControl