Current filter:
                                You should refresh the page.
                                  • Hi - I am getting the error 'DeclareProvider' encountered an error and has been disabled' on a fairly regular basis. Using vb.net
                                    I am just hitting the 'enable' button which seems to allow me to continue coding (in the short run at least) - can you throw some light on this? Also- am I doing any harm by hitting the 'enable' button?

                                    Stack trace:
                                    System.NullReferenceException : Object reference not set to an instance of an object.
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.MemberDeclarator.GetDeclarationInfo(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.MemberDeclarator.GetNodeReplacements(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.ElementDeclarator.Execute(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.DeclareMemberRefactoring.Execute(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.DeclareRefactoring.ApplyChangeManager(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.TargetPicker.TargetPickerRegistrator.DoRegistration(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.RegisterRefactoring(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
                                       at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync(<Unknown Parameters>)

                                • George K (DevExpress) 10.29.2018

                                  Hi Des,
                                  I have reproduced it locally. Please give us some time to research the issue in detail.
                                  In the meantime, I suggest that you keep this provider disabled to prevent this error from appearing again until we found the cause of this problem and fix it.

                                1 Solution

                                Creation Date Importance Sort by