Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2262

Move members error: Target class can not be resolved.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.0
    • None
    • java - Refactoring
    • None

    Description

      Test case:
      https://netbeans-vm.apache.org/synergy/client/app/#/case/5116/suite/2502/edit

      Steps to reproduce:

      1. Open usages.ClassA.java
      2. Put caret inside body of getListOfA() and using Ctrl+M invoking "Move Member" dialog
      3. In occurred dialog select package usages and class ClassC then press Preview

      Expected result:

      • I can press the button Preview and see the preview

      Actual result:

      • Selecting the package "usages" and the class "ClassC" doesn't enable the buttons "Preview" and "Refactor" because there is the error:
        "Error: Target class can not be resolved"

      Attachments

        1. Screenshot_20211026_091700.png
          12 kB
          Mike Morris

        Activity

          People

            Unassigned Unassigned
            gtino <DELETED>
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: