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

Namespace conflict with parent controller class '$CLV_exprEval$'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.1.3
    • 3.1.2
    • Grails Plugin
    • None
    • Java(TM) SE Runtime Environment (build 1.6.0_21-b06)

    Description

      Works in 3.1.0. Couldn't test 3.1.1 because there isn't a grails plugin for it. http://plugins.grails.org/grails-clover/trunk/

      Here's what I think is causing the problem:
      class MicrositesAccountController extends AccountController {

      $ grails test-app -clover.on
      Welcome to Grails 1.3.7 - http://grails.org/
      Licensed under Apache Standard License 2.0
      Grails home is set to: /home/build/grails_versions/grails_1.3.7

      Base Directory: /home/build/make_myaccount/trunk
      Resolving dependencies...
      Dependencies resolved in 2518ms.
      Running script /home/build/grails_versions/grails_1.3.7/scripts/TestApp.groovy
      Environment set to test
      Clover: Using config: [on:true]
      Using clover license path: /home/build/clover.license
      [clover-env] Loading clover.xml: jar:file:/home/build/.ivy2/cache/com.cenqua.clover/clover/jars/clover-3.1.2.jar!/clover.xml
      Using default clover-setup configuration.
      Clover:
      directories: [src/java, src/groovy, test/unit, test/integration, grails-app]
      includes: [**/*.groovy, **/*.java]
      excludes [**/conf/**, **/plugins/**]
      [clover-setup] Clover Version 3.1.2, built on November 07 2011 (build-842)
      [clover-setup] Loaded from: /home/build/.ivy2/cache/com.cenqua.clover/clover/jars/clover-3.1.2.jar
      [clover-setup] Clover: Commercial License registered to J2 GLOBAL COMMUNICATIONS INC.
      [clover-setup] Clover is enabled with initstring '/home/build/.grails/1.3.7/projects/trunk/clover/db/clover.db'
      Clover: Forcing a clean to ensure Clover instrumentation occurs. Disable by setting: clover.forceClean=false
      [delete] Deleting directory /home/build/make_myaccount/trunk/target/classes
      [delete] Deleting directory /home/build/.grails/1.3.7/projects/trunk/clover
      Clover: Compile start.
      [mkdir] Created dir: /home/build/make_myaccount/trunk/target/classes
      [clover-setup] Creating new database at '/home/build/.grails/1.3.7/projects/trunk/clover/db/clover.db'.
      [clover-setup] Processing files at 1.6 source level.
      [clover-setup] Clover all over. Instrumented 13 files (5 packages).
      [clover-setup] Elapsed time = 1.247 secs. (10.425 files/sec, 2,218.926 srclines/sec)
      [groovyc] Compiling 99 source files to /home/build/make_myaccount/trunk/target/classes
      [clover-setup] Updating existing database at '/home/build/.grails/1.3.7/projects/trunk/clover/db/clover.db'.
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      [groovyc] /home/build/make_myaccount/trunk/grails-app/controllers/com/j2/myaccount/microsites/MicrositesAccountController.groovy: -1: You are not allowed to override the final method $CLV_exprEval$(java.lang.Object,java.lang.Integer) from class 'com.j2.myaccount.AccountController'.
      [groovyc] @ line -1, column -1.
      [groovyc] 1 error
      Compilation error: Compilation Failed

      Attachments

        Activity

          People

            mstudman Michael Studman (Inactive)
            64dbf023b8f7 John Kalstrom
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: