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

native2ascii error converting i18n bundles for plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 3.2.2
    • Fix Version/s: 4.0.1
    • Component/s: Grails Plugin
    • Labels:
      None
    • Environment:

      Redhat 6.1, x86_64, jdk 1.7.0_47, Grails 2.3.5

    • Last commented by user?:
      true
    • Complexity:
      Unknown
    • Value:
      Unknown
    • Story Points:
      2
    • Sprint:
      Sprint 3

      Description

      When running with -clover.on in our CI environment (TeamCity), we are getting a weird error:

      Error native2ascii error converting i18n bundles for plugin [xxxx] java.lang.reflect.InvocationTargetException

      It's not constrained to a single plugin, typically it lists different plugins. The full stack trace is:

      [15:28:49][Step 4/8] | Error native2ascii error converting i18n bundles for plugin [spring-security-core-1.2.7.3] java.lang.reflect.InvocationTargetException
      [15:28:49][Step 4/8] | Error Error executing script TestApp: : java.lang.reflect.InvocationTargetException (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
      [15:28:49][Step 4/8] : java.lang.reflect.InvocationTargetException
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:99)
      [15:28:49][Step 4/8] 	at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
      [15:28:49][Step 4/8] 	at TestApp$_run_closure1.doCall(TestApp:32)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
      [15:28:49][Step 4/8] 	at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
      [15:28:49][Step 4/8] 	at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
      [15:28:49][Step 4/8] 	at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
      [15:28:49][Step 4/8] 	at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
      [15:28:49][Step 4/8] 	at gant.Gant.withBuildListeners(Gant.groovy:427)
      [15:28:49][Step 4/8] 	at gant.Gant.this$2$withBuildListeners(Gant.groovy)
      [15:28:49][Step 4/8] 	at gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source)
      [15:28:49][Step 4/8] 	at gant.Gant.dispatch(Gant.groovy:415)
      [15:28:49][Step 4/8] 	at gant.Gant.this$2$dispatch(Gant.groovy)
      [15:28:49][Step 4/8] 	at gant.Gant.invokeMethod(Gant.groovy)
      [15:28:49][Step 4/8] 	at gant.Gant.executeTargets(Gant.groovy:591)
      [15:28:49][Step 4/8] 	at gant.Gant.executeTargets(Gant.groovy:590)
      [15:28:49][Step 4/8] 	at org.grails.wrapper.GrailsWrapper.main(GrailsWrapper.java:93)
      [15:28:49][Step 4/8] Caused by: java.lang.reflect.InvocationTargetException
      [15:28:49][Step 4/8] 	... 30 more
      [15:28:49][Step 4/8] Caused by: java.util.ConcurrentModificationException
      [15:28:49][Step 4/8] 	at com.atlassian.clover.ant.groovy.GroovycSupport.logGroovycTasks(GroovycSupport.java:102)
      [15:28:49][Step 4/8] 	at com.atlassian.clover.ant.groovy.GroovycSupport.taskStarted(GroovycSupport.java:123)
      [15:28:49][Step 4/8] 	at org.apache.tools.ant.Project.fireTaskStarted(Project.java:2184)
      [15:28:49][Step 4/8] 	... 30 more
      [15:28:49][Step 4/8] | Error Error executing script TestApp: : java.lang.reflect.InvocationTargetException
      [15:28:50][Step 4/8] Process exited with code 1
      

      Running without "-clover.on" removes this problem.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  3 years, 46 weeks, 5 days ago