Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1004

Intellij 10.5 with clover 3.1 is throwing: "Error: CloverException: unexpected token" for enums

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 3.1.1
    • 3.1.0
    • CIJ Plugin
    • None
    • Intellij 10.5; windows; Clover Intellij plugin version idea7-3.1.0-v20110531000000

      Classes containing enums are failing to compile, and display the error "Error: CloverException: unexpected token: <<enum name>>" or "Error: CloverException: unexpected token enum".
      Have attached example failing code with company name and details stripped out.
      I've marked this as a blocker as I can't get the plugin to work at all. I thought it may have been clashing with the scala plugin but I have disabled that and there are still problems.

            [CLOV-1004] Intellij 10.5 with clover 3.1 is throwing: "Error: CloverException: unexpected token" for enums

            Owen made changes -
            Workflow Original: New Clover Workflow [ 897322 ] New: New Clover Workflow - Restricted [ 1474625 ]
            Piotr Swiecicki made changes -
            Workflow Original: Clover Workflow [ 896073 ] New: New Clover Workflow [ 897322 ]
            Piotr Swiecicki made changes -
            Workflow Original: reviewflow [ 299869 ] New: Clover Workflow [ 896073 ]
            Michael Studman (Inactive) made changes -
            Fix Version/s Original: 3.NEXT [ 17891 ]
            Michael Studman (Inactive) made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Michael Studman (Inactive) made changes -
            Fix Version/s New: 3.1.1 [ 18791 ]

            Tim Chan added a comment -

            The attached dev build used to work for me. Now it says my license is no longer valid; however, my license works fine with version v20110531000000 of the plugin.

            Tim Chan added a comment - The attached dev build used to work for me. Now it says my license is no longer valid; however, my license works fine with version v20110531000000 of the plugin.

            The attached dev build solved this problem for me. Thanks much!

            Andrew Zimmer added a comment - The attached dev build solved this problem for me. Thanks much!

            I'm seeing the same problem with Intellij 10.0.3, JDK 1.6 on OSX. Do I need to upgrade Intellij to 10.5 to fix this?

            Andrew Zimmer added a comment - I'm seeing the same problem with Intellij 10.0.3, JDK 1.6 on OSX. Do I need to upgrade Intellij to 10.5 to fix this?
            Michael Studman (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Resolved [ 5 ]

              mstudman Michael Studman (Inactive)
              b24358adaf6c Andrew (Gus) Gustafson
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: