Sorry guys, I really need your help again.
For whatever reason the Full Text Search is not working on any of the objects - keep getting the message 'Object reference not set to an instance of an object.'
To my knowledge I have not altered any code to affect this. I also get the same error on any view controller where I have a search box e.g. Last Name.
Please could you help with this ASAP.
Hello Anthony,
Would you please provide us with an application log?
Additionally, clarify if there are any visible non-persistent properties in the Employee_ListView and what DataAccessMode is used.
Hi Alexey,
Thanks for getting back to me so quickly.
Attached is the log file as requested.
Please note that this problem is not just affecting the Employee ListView - it is ALL listviews
I don't know if it is related, but I get the same error when the app starts and Updater is running for the first time IF I try to add more than one employee in UpdateDatabaseAfterUpdateSchema() during first run.
Would you like me to send you the app?
Thank you for the provided log file. We have received the same report in the Object reference not set to an instance of an object. thread, but we are unable to reproduce the issue with our demos.
Please record a video that illustrates how to reproduce it on our demos. You can use the Jing tool.
If possible, send us a small sample project where this issue is reproducible.
Hi Alexey,
Please find attached video showing what happens when you try to use the search feature on any object.
You will also see that this error occurs when you type a search parameter into any view controller.
I can confirm that this error DOES NOT occur on the main demo sample project.
Hope this helps.
Hello Alexey,
now I got the same problem here. It is related to ribbon. Does not appear with standard bars.
Please check the log attached.
For example: it does not happen in dashboard windows, as there is no ribbon. But happens in other windows: TabbedMDI+Ribbon.
Thanks
Reinhold
I suppose, this are the important lines:
Type: NullReferenceException
Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Data: 0 entries
Stack trace:
bei DevExpress.ExpressApp.Win.Templates.ActionContainers.Items.ParametrizedActionItem.ForceExecute()
bei DevExpress.ExpressApp.Win.Templates.ActionContainers.Items.ParametrizedActionItem.repositoryItemButtonEdit_KeyDown(Object sender, KeyEventArgs e)
bei System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
bei DevExpress.XtraEditors.BaseEdit.OnKeyDown(KeyEventArgs e)
bei DevExpress.XtraEditors.BaseEdit.SendKey(KeyEventArgs e)
bei DevExpress.XtraBars.BarEditItemLink.ProcessKey(KeyEventArgs e)
bei DevExpress.XtraBars.Controls.LinksNavigation.ProcessKeyDown(KeyEventArgs e, BarItemLink activeLink)
bei DevExpress.XtraBars.Ribbon.Handler.RibbonLinksNavigation.ProcessKeyDown(KeyEventArgs e, BarItemLink activeLink)
bei DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnKeyDown(KeyEventArgs e)
bei DevExpress.XtraBars.Ribbon.RibbonControl.DevExpress.XtraBars.Controls.ICustomBarControl.ProcessKeyDown(KeyEventArgs e)
bei DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ProcessKeyDown(KeyEventArgs e)
bei DevExpress.XtraBars.MessageFilter.BarManagerHook.PreFilterMessage(Message& m)
bei DevExpress.XtraBars.MessageFilter.BarManagerMessageFilter.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& m)
InnerException is null
I would even be extremly happy, if you can provide a quick fix.
Thanks
Reinhold
Well spotted Reinhold!
If the Ribbon and Tabbed MDI are changed to Standard MDI the search works without issue.
Hello Reinhold,
Thank you for the provided information, I have managed to reproduce this issue on our side and passed this ticket to our developers for further research. This is a high priority issue for us and we will do our best to fix it as soon as possible.
In the meantime, I would recommend you not use the TabbedMDI mode.
I've got the same issue. The workaround, setting the model to Standard MDI, does not work for me.
I also need a fix urgently.