java.lang.reflect.InvocationTargetException

Atlassian JIRA | Aaron Long | 3 years ago
  1. 0

    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: {code} [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 {code} Running without "-clover.on" removes this problem.

    Atlassian JIRA | 3 years ago | Aaron Long
    java.lang.reflect.InvocationTargetException
  2. 0

    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: {code} [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 {code} Running without "-clover.on" removes this problem.

    Atlassian JIRA | 3 years ago | Aaron Long
    java.lang.reflect.InvocationTargetException
  3. 0

    Java Servlets and ImageIO error

    Stack Overflow | 4 years ago | mesx
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at com.atlassian.clover.ant.groovy.GroovycSupport.logGroovycTasks()
    2. com.atlassian.clover
      GroovycSupport.taskStarted
      1. com.atlassian.clover.ant.groovy.GroovycSupport.logGroovycTasks(GroovycSupport.java:102)
      2. com.atlassian.clover.ant.groovy.GroovycSupport.taskStarted(GroovycSupport.java:123)
      2 frames
    3. Ant
      Project.fireTaskStarted
      1. org.apache.tools.ant.Project.fireTaskStarted(Project.java:2184)
      1 frame
    4. org.codehaus.gant
      GantBuilder.invokeMethod
      1. org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:99)
      1 frame
    5. Unknown
      _GrailsTest_groovy$_run_closure1.doCall
      1. _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102)
      1 frame
    6. org.codehaus.gant
      GantMetaClass.invokeMethod
      1. org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
      2. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
      3. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
      4. org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
      5. org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
      6. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
      7. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
      8. org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
      8 frames
    7. Unknown
      TestApp$_run_closure1.doCall
      1. TestApp$_run_closure1.doCall(TestApp:32)
      1 frame
    8. org.codehaus.gant
      GantBinding$_initializeGantBinding_closure5_closure16.doCall
      1. org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
      2. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
      3. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
      4. org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
      5. org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
      6. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
      7. org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
      7 frames
    9. gant
      Gant.executeTargets
      1. gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
      2. gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
      3. gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
      4. gant.Gant.withBuildListeners(Gant.groovy:427)
      5. gant.Gant.this$2$withBuildListeners(Gant.groovy)
      6. gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source)
      7. gant.Gant.dispatch(Gant.groovy:415)
      8. gant.Gant.this$2$dispatch(Gant.groovy)
      9. gant.Gant.invokeMethod(Gant.groovy)
      10. gant.Gant.executeTargets(Gant.groovy:591)
      11. gant.Gant.executeTargets(Gant.groovy:590)
      11 frames
    10. org.grails.wrapper
      GrailsWrapper.main
      1. org.grails.wrapper.GrailsWrapper.main(GrailsWrapper.java:93)
      1 frame