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

Auto-indent function or pressing tab character in java editor throws NoSuchMethodError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 12.6
    • None
    • None

    Description

      When running NetBeans under JDK 1.8, the auto-indentation or inserting a tab character on a new line throws a NoSuchMethodError, if the source file is managed by a versioning system (see the attached picture). Running NetBeans under JDK 11 or higher is OK.

      Attachments

        1. netbeans-enter-error.gif
          182 kB
          John
        2. java_source.png
          16 kB
          Petr Miksik
        3. ui.log
          65 kB
          Petr Miksik
        4. ide.log
          83 kB
          Petr Miksik

        Issue Links

          Activity

            People

              jtulach Jaroslav Tulach
              miksikp Petr Miksik
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: