Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21106

google-java-format Intellij Plugin 1.7.0.5 causes UnsupportedOperationException in IntelliJ

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      There's a problem with google-java-format Intellij plugin version 1.7.0.5 that causes an UnsupportedOperationException when creating a new Java class file. Besides the exception, an error dialog pops up and the newly created file is not properly formatted. A simple reformat solves the issue.

      This problem is caused by a bug that got fixed in the google-java-format plugin's codebase in 45fb41a.

      Unfortunately, this fix got released with the plugin version 1.8.0.1 which we cannot upgrade to due to our limitations on sticking to Java 8 for now (see FLINK-20803).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mapohl Matthias
                Reporter:
                mapohl Matthias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: