I have an WPF application using MVVM with PRISM. I'm also using DevExpress for this project. The application has 10 modules. And everything worked well. The application is in production. After opening the source in Visual Studio 2019 yesterday i'm getting all kinds of NullReferenceExceptions on the SelectedItem of the DevExpress GridControl. The application uses the SelectedItem to publish events using EventAggregator (PRISM). so i get errors here. I have done nothing to explain this behaviour. The only thing i can think of is that i had a power failure and after reopening the solution i started getting these errors. Does this have to do with an update i don't know of? I'm using .NET Framework 4.7.2. Prism 6, DevExpress 20 Can anyone help?
Why do i get Null Reference Error's suddenly even when the same code worked perfectly before
201 Views Asked by N. Badaltjauwdharie At
1
There are 1 best solutions below
Related Questions in WPF
- Sorting a List by its property renames all the objects in the List
- Can't open new instance of another window in my app, in WPF .NET 8
- Binding forecolour and ToolTip to a DataGrid
- how to create Infinite Upgrades in a clicker game
- Try Catch exception is not catching the unhandled exception
- Assigning an object to another doesn't raise PropertyChanged event in WPF
- Masking input in TextBox
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- reading configuration file (mytest.exe.config)
- WPF Windows Initializing is locking the separated thread in .Net 8
- How to bind to the DataContext ViewModel of another view?
- mouse coordinates in image go below 0 and above width
- WPF pop up is behaving differently in English language PC and Japanese language PC
- Multi level project reference using dll
- Unable to unzip archive .NET framework
Related Questions in DEVEXPRESS
- React Gantt ERROR Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
- How to get the value of a specific row from a treeList
- Can't get XAF/XPO association working as expected
- Filter DataGridView items by properties of objects on a List in an item property
- Laravel DevExpress Grid Adaptor
- IIS worker process memory keeps increasing with each new devexpress report beeing served
- Implementing Recursive Nested Tables with Dynamic Data in Angular Using DevExtreme Master-Detail Component
- PivotGrid - calculateCustomSummary Incorrect Percentage Calculation for Grouped Rows
- How do I completely remove devexpress from the computer?
- BindingList not updating in real time with gridview
- WPF Button with Image and Text (with the whole button clickable)
- How to move photo path from database to image editor in c#?
- Print as pdf in DevExpress RichEdit react
- .NET MAUI Devexpress Datagrid TemplateColumn Filtering
- Need Automatic Rerendering of DxTabs in Blazor Application Using DevExpress Components
Related Questions in PRISM
- UTF-8 text pop up out of the parent frame
- Viewmodel as ILogEventSink in a Prism application
- How to get hardware back button working on Prism Maui
- How to get android Navbar back button working on Prism MAUI
- A native MAUI equivalent for Prism's INavigationParameters?
- Why is the DataContext on my View Null in a Custom RegionBehavior using Prism?
- Back button is not visible in maui, using Prism
- Unable to create project Prism.Maui Visual Studio 2022
- Prism WPF CompositeCommand issues
- What's new in Prism 8 and 9
- Prism navigation builder issue on existing .Net Maui 8 application
- Is this an appropriate way to ensure Xamarin Prism Subscriptions get unsubscribed?
- How can I test function with prism event aggregator subscripe inside?
- Serilog sub-logging to sinks defined in runtime
- Issues Encountered with Region Initialization in WPF Forms
Related Questions in NULLREFERENCEEXCEPTION
- NullReferenceException: Object reference not set to an instance of an object. I have tried to fix. PlayerHUD works but EnemyHUD does not
- Automapper fails to map nested properties when the logic is separated into a method
- c# DB command throwing NullReferenceException on line ** DbDataReader reader = command.ExecuteReader();**
- Unity C#: I'm getting a NullReferenceException and I'm not sure how to fix/improve it
- NullReferenceException: Object reference not set to an instance of an object in Unity cause by coding
- What parameter should I specify for Properties.Settings.Default.History so that it doesn't give an error with Null?
- Keep getting "object reference not set to instance of an object" in Unity
- VIo.com third party Implementation
- Why throwing a Null reference In Razor component production?
- Why do I get a null here?
- Changing difficulty settings in an Unity Pong game
- ASP.NET controls not rendering in runtime (are null) after AJAX call
- Why is NullReferenceException is thrown when I'm trying to remove an item from my cart?
- System.TypeInitializationException - The type initializer for '<Module>' threw an exception
- A weird NullReferenceException from J2N HashSet AddInNotPresent method that is called by Lucene.Net
Related Questions in GRIDCONTROL
- How DataNavigator and GridControl know current position of each other if they share "currentless" DataTable only?
- Save Clipboard Dev Express GridControl
- How to copy selected row gridView to another Dexexpress?
- GridControl Aboult
- FocusedRowHandle not setting correctly in a DevExpress GridView C#
- How to check if there is any selected row in gridControl?
- devexpress gridcontrol dynamic FixedStyle
- c# devexpress data transfer between two grids with double click
- Show data in DevExpress Grid from JSON format
- How do I get the values of a new row in a DevExpress GridView?
- C# - Binding GridControl to List and manipulating the records in run-time
- DevExpress GridControl: bind background color of the rows to a Model's property
- How to create one to one relationship in DevExpress XPO classes?
- How to create RepositoryItem for a user control that takes 2 parameters to report progress?
- KeyUp event not firing on releasing numeric key C# devexpress
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can try to delete
binandobjfolders from your project folder, it usually does the trick, if that doesn't work, you can try to Restore the Nugget Packages.