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

Exception reported during java refactoring (rename file)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.2
    • None
    • java - Refactoring
    • None
    • Wildfly 18.0.1
      Product Version: Apache NetBeans IDE 11.2
      Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
      Runtime: OpenJDK Runtime Environment 13.0.1+9
      System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb)

    Description

      Trying to refactor the file to rename a java module and received an exception.

      RenamingValidateXML_X --> ValidateXML.

      Screenshot and message.log file attached.

      Background: I had previously have an issue with this folder and most of the files in this directory. I had tried renaming it from ejbXMLhandlers  --> exjXMLHhandlers, and back again to ejbXMLHandlers (note the case of the 'H'). This caused a "Duplicate File" issue in Netbeans (which has been reported previously by others). I duplicated all the files with '_X' and deleted the originals to try and solve the issue. Then I tried to rename the files back again, but couldn't, so I followed the advice on StackOverflow deleted the Cache folder and then restarted Netbeans. Now I'm trying to remove the _X again, and got the issue being reported here. Thank-you for investigating.

      messages.log

      Attachments

        1. No Updates.png
          10 kB
          Stephen Brooksbank
        2. Java version 1.41.png
          55 kB
          Stephen Brooksbank
        3. refactor-rename issue 19Jan2020.png
          132 kB
          Stephen Brooksbank
        4. messages.log
          151 kB
          Stephen Brooksbank

        Activity

          People

            Unassigned Unassigned
            Steve B Stephen Brooksbank
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: