java.util.ConcurrentModificationException

GitHub | mburak | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 9579#276763957

    GitHub | 2 months ago | mburak
    java.util.ConcurrentModificationException
  2. 0

    Having a constraint for an property called "attributes" fails

    GitHub | 9 months ago | mburak
    org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.grails.datastore.gorm.neo4j.Neo4jDatastore]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring class
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    If an error like MissingMethodException occurs in a test while running test-app, JUnit complains about a missing method of its own, addError" {code} Error executing tests No signature of method: junit.framework.TestResult.addError() is applicable for argument types: (org.codehaus.groovy.grails.support.GrailsTestSuite, junit.framework.TestFailure) values: {UserProfileTests, testAddingManagedArtists(UserProfileTests): No signature of method: UserProfile.addToManagedAritst() is applicable for argument types: (java.util.LinkedHashMap) values: {["artist":Artist : 8]}} ... groovy.lang.MissingMethodException: No signature of method: junit.framework.TestResult.addError() is applicable for argument types: (org.codehaus.groovy.grails.support.GrailsTestSuite, junit.framework.TestFailure) values: {UserProfileTests, testAddingManagedArtists(UserProfileTests): No signature of method: UserProfile.addToManagedAritst() is applicable for argument types: (java.util.LinkedHashMap) values: {["artist":Artist : 8]}} at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:627) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at org.codehaus.groovy.runtime.Invoker.invokePojoMethod(Invoker.java:133) at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:106) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187) at TestApp_groovy$_run_closure4_closure11_closure12.doCall(TestApp_groovy:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.Closure.call(Closure.java:188) at groovy.lang.Closure.call(Closure.java:201) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:774) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:109) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at org.codehaus.groovy.runtime.Invoker.invokePojoMethod(Invoker.java:133) at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:106) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187) at TestApp_groovy$_run_closure4_closure11.doCall(TestApp_groovy:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.Closure.call(Closure.java:188) at groovy.lang.Closure.call(Closure.java:201) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:774) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:109) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at org.codehaus.groovy.runtime.Invoker.invokePojoMethod(Invoker.java:133) at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:106) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187) at TestApp_groovy$_run_closure4.doCall(TestApp_groovy:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:81) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97) at TestApp_groovy$_run_closure4.doCall(TestApp_groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at groovy.lang.Closure.call(Closure.java:188) at groovy.lang.Script.invokeMethod(Script.java:114) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:596) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:81) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:129) at TestApp_groovy$_run_closure2.doCall(TestApp_groovy:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:81) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97) at TestApp_groovy$_run_closure2.doCall(TestApp_groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at groovy.lang.Closure.call(Closure.java:188) at groovy.lang.Script.invokeMethod(Script.java:114) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:596) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:81) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:129) at TestApp_groovy$_run_closure1.doCall(TestApp_groovy:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:81) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97) at TestApp_groovy$_run_closure1.doCall(TestApp_groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at groovy.lang.Closure.call(Closure.java:188) at groovy.lang.Closure.call(Closure.java:183) at groovy.lang.Closure.run(Closure.java:264) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:127) at org.codehaus.groovy.gant.GantMetaClass.invokeMethod(GantMetaClass.java:70) at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:144) at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:110) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:211) at gant.Gant.dispatch(Gant.groovy:152) at gant.Gant.this$2$dispatch(Gant.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:491) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:144) at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:110) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187) at gant.Gant.invokeMethod(Gant.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97) at gant.Gant.process(Gant.groovy:287) at gant.Gant.this$2$process(Gant.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:615) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505) at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:144) at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:110) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187) at gant.Gant.main(Gant.groovy:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:719) at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:100) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.groovy:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:71) at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:714) at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:719) at org.codehaus.groovy.runtime.Invoker.invokeStaticMethod(Invoker.java:167) at org.codehaus.groovy.runtime.InvokerHelper.invokeStaticMethod(InvokerHelper.java:126) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeStaticMethodN(ScriptBytecodeAdapter.java:228) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.main(GrailsScriptRunner.groovy:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:131) at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:160) Error running tests: groovy.lang.MissingMethodException: No signature of method: junit.framework.TestResult.addError() is applicable for argument types: (org.codehaus.groovy.grails.support.GrailsTestSuite, junit.framework.TestFailure) values: {UserProfileTests, testAddingManagedArtists(UserProfileTests): No signature of method: UserProfile.addToManagedAritst() is applicable for argument types: (java.util.LinkedHashMap) values: {["artist":Artist : 8]}} {code}

    Grails JIRA | 10 years ago | Marc Palmer
    groovy.lang.MissingMethodException: No signature of method: junit.framework.TestResult.addError() is applicable for argument types: (org.codehaus.groovy.grails.support.GrailsTestSuite, junit.framework.TestFailure) values: {UserProfileTests, testAddingManagedArtists(UserProfileTests): No signature of method: UserProfile.addToManagedAritst() is applicable for argument types: (java.util.LinkedHashMap) values: {["artist":Artist : 8]}}
  5. 0

    Grails Asset Pipeline causing server error

    Stack Overflow | 2 years ago | John
    org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error applying layout : main

    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 java.util.LinkedHashMap$LinkedHashIterator.nextNode()
    2. Java RT
      LinkedHashMap$LinkedValueIterator.next
      1. java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)
      2. java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:747)
      2 frames
    3. Grails
      ValidationSupport.validateInstance
      1. org.codehaus.groovy.grails.web.plugins.support.ValidationSupport.validateInstance(ValidationSupport.groovy:61)
      1 frame
    4. com.brinqa.platform
      AnalyticsController$_index_closure1.doCall
      1. com.brinqa.platform.analytics.commands.AnalyticsQueryCommand.validate(AnalyticsQueryCommand.groovy)
      2. com.brinqa.platform.analytics.commands.AnalyticsQueryCommand.validate(AnalyticsQueryCommand.groovy)
      3. com.brinqa.platform.analytics.AnalyticsController.$tt__index(AnalyticsController.groovy)
      4. com.brinqa.platform.analytics.AnalyticsController$_index_closure1.doCall(AnalyticsController.groovy)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. Springloaded
      ReflectiveInterceptor.jlrMethodInvoke
      1. org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1426)
      1 frame
    7. Groovy
      Closure.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1210)
      4. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1123)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
      6. groovy.lang.Closure.call(Closure.java:426)
      6 frames
    8. com.brinqa.platform
      AnalyticsController$_index_closure1.call
      1. com.brinqa.platform.analytics.AnalyticsController$_index_closure1.call(AnalyticsController.groovy)
      1 frame
    9. Groovy
      Closure.call
      1. groovy.lang.Closure.call(Closure.java:442)
      1 frame
    10. com.brinqa.platform
      AnalyticsController$_index_closure1.call
      1. com.brinqa.platform.analytics.AnalyticsController$_index_closure1.call(AnalyticsController.groovy)
      1 frame
    11. Grails
      GrailsTransactionTemplate$2.doInTransaction
      1. org.codehaus.groovy.grails.orm.support.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:90)
      1 frame
    12. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
      1 frame
    13. Grails
      GrailsTransactionTemplate.execute
      1. org.codehaus.groovy.grails.orm.support.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:87)
      1 frame
    14. com.brinqa.platform
      AnalyticsController.index
      1. com.brinqa.platform.analytics.AnalyticsController.index(AnalyticsController.groovy)
      2. com.brinqa.platform.analytics.AnalyticsController.index(AnalyticsController.groovy)
      2 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    16. Springloaded
      ReflectiveInterceptor.jlrMethodInvoke
      1. org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1426)
      1 frame
    17. Grails
      SimpleGrailsController.handleRequest
      1. org.codehaus.groovy.grails.web.servlet.mvc.MixedGrailsControllerHelper.invoke(MixedGrailsControllerHelper.java:154)
      2. org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper.handleAction(AbstractGrailsControllerHelper.java:375)
      3. org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper.executeAction(AbstractGrailsControllerHelper.java:252)
      4. org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper.handleURI(AbstractGrailsControllerHelper.java:205)
      5. org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper.handleURI(AbstractGrailsControllerHelper.java:126)
      6. org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController.handleRequest(SimpleGrailsController.java:72)
      6 frames
    18. Spring MVC
      SimpleControllerHandlerAdapter.handle
      1. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
      1 frame
    19. Grails
      GrailsDispatcherServlet.doDispatch
      1. org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet.doDispatch(GrailsDispatcherServlet.java:347)
      1 frame
    20. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      2. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
      3. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)
      3 frames
    21. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
      1 frame
    22. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
      1 frame
    23. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    25. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    27. grails.plugin.cache
      AbstractFilter.doFilter
      1. grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:177)
      2. grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
      2 frames
    28. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
      2 frames
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    30. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      1 frame
    31. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    32. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      1 frame
    33. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    34. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      1 frame
    35. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
      6 frames
    36. Grails
      UrlMappingsFilter.doFilterInternal
      1. org.codehaus.groovy.grails.web.mapping.UrlMappingUtils.forwardRequestForUrlMappingInfo(UrlMappingUtils.java:178)
      2. org.codehaus.groovy.grails.web.mapping.UrlMappingUtils.forwardRequestForUrlMappingInfo(UrlMappingUtils.java:144)
      3. org.codehaus.groovy.grails.web.mapping.UrlMappingUtils.forwardRequestForUrlMappingInfo(UrlMappingUtils.java:135)
      4. org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.doFilterInternal(UrlMappingsFilter.java:216)
      4 frames
    37. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    38. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    39. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
      3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
      4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      6 frames
    40. grails.plugin.springsecurity
      GrailsAnonymousAuthenticationFilter.doFilter
      1. grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
      1 frame
    41. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      2. org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      4. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
      5. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      6. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
      7. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      7 frames
    42. grails.plugin.springsecurity
      MutableLogoutFilter.doFilter
      1. grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
      1 frame
    43. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      3 frames
    44. grails.plugin.springsecurity
      SecurityRequestHolderFilter.doFilter
      1. grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
      1 frame
    45. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      2. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
      3. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
      3 frames
    46. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
      2 frames
    47. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    48. Grails
      GrailsWebRequestFilter.doFilterInternal
      1. org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:69)
      1 frame
    49. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    50. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    51. Grails
      HiddenHttpMethodFilter.doFilterInternal
      1. org.codehaus.groovy.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
      1 frame
    52. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    53. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    54. org.springframework.security
      HeaderWriterFilter.doFilterInternal
      1. org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)
      1 frame
    55. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
      3. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
      3 frames
    56. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    57. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      3. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
      4. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
      4 frames
    58. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
      8 frames
    59. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
      4 frames
    60. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    61. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    62. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame