Bug Report T492521
Visible to All Users

Refactorings - ParameterRefactoringProvider is crashing in a VB.NET project

created 8 years ago

Stack Trace:

System.NullReferenceException : Object reference not set to an instance of an object.
   at async DevExpress.CodeAnalysis.Refactorings.RefactoringAction.IsAvailable(<Unknown Parameters>)
   at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.RefactoringIsAvailable(<Unknown Parameters>)
   at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.GetAvailableRefactorings(<Unknown Parameters>)
   at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync(<Unknown Parameters>)

Show previous comments (3)
DevExpress Support Team 8 years ago

    Hi Dewey,

    Thank you for providing the code snippet and stack trace.
    We have tried to reproduce this issue with your code, but all our attempts were unsuccessful.

    Moreover, it seems that it is another issue because there are two different exceptions: NullReferenceException in the first case and ArgumentException in the second case.
    So, to help us with our research, please provide us with CodeRush log files (they can be obtained here: %LocalAppData%\CodeRush\Logs).
    Also, it would be helpful if you provide us with a screencast that illustrates the issue in action. You can capture it using the free Jing tool from TechSmith.

    We greatly appreciate your cooperation.

      Hi Pavel,
         Attached are the logs you requested.

      DevExpress Support Team 8 years ago

        Hello,

        Thank you for providing the log files.
        We still cannot reproduce this issue on our side, but we see the cause of the issue in the log files.
        So, we will try to fix this issue based on the stack trace and notify you as soon as we make any progress.

        Answers approved by DevExpress Support

        created 8 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.