Grails
  1. Grails
  2. GRAILS-1090

Domain class with Integer[] field kills the app

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.5-RC1
    • Fix Version/s: 0.5-RC2
    • Component/s: Persistence
    • Labels:
      None

      Description

      Nabble thread: http://www.nabble.com/Latest-0.5-SNAPSHOT-SVN%3A-java.lang.NoSuchMethodException%3A--Ljava.lang.Integer-.%3Cinit%3E%28%29-tf3653664.html#a10207182

      The following domain class kills the application:

      class Item {
      Integer[] references
      }

      Possibly something to do with the new List support?

      And I get exactly the same failure for:

      class Item {
      static transients = ['references']
      Integer[] references
      }

      D:\projects\new05app>grails run-app

      Welcome to Grails 0.5-SNAPSHOT - http://grails.org/
      Licensed under Apache Standard License 2.0
      Grails home is set to: D:\grails\trunk\grails

      Base Directory: D:\projects\new05app
      Environment set to development
      Running script D:\grails\trunk\grails\scripts\RunApp.groovy
      [mkdir] Created dir: D:\projects\new05app\web-app\WEB-INF\lib
      Compiling sources ...
      [mkdir] Created dir: D:\projects\new05app\web-app\WEB-INF\spring
      [copy] Copying 35 files to D:\projects\new05app\web-app\WEB-INF\lib
      [mkdir] Created dir:
      D:\projects\new05app\web-app\WEB-INF\grails-app\i18n
      [native2ascii] Converting 7 files from D:\projects\new05app\grails-app\i18n
      to D:\projects\new05app\web-app\WEB-INF\grails-app\i18n
      [copy] Copying 1 file to D:\projects\new05app\web-app\WEB-INF\spring
      [copy] Copying 1 file to D:\projects\new05app\web-app\WEB-INF\classes
      [copy] Copying 1 file to D:\projects\new05app\web-app\WEB-INF\classes
      Cannot load plug-in resource watch list from
      [

      {file:./grails-app/jobs/*Job.groovy}

      ]. This means that the plugin
      [quartz:0.5-SNAPSHOT], will not be able to auto-reload changes effectively.
      Try runnng grails upgrade.: Resource path
      [D:\projects\new05app\.\grails-app\jobs] does not denote a directory
      Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean
      with name 'pluginManager' defined in ServletContext resource
      [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
      exception is org.springframework.beans.BeanInstantiationException: Could not
      instantiate bean class [[Ljava.lang.Integer;]: No default constructor found;
      nested exception is java.lang.NoSuchMethodException:
      [Ljava.lang.Integer;.<init>()
      Caused by:
      org.springframework.beans.BeanInstantiationException: Could not instantiate
      bean class [[Ljava.lang.Integer;]: No default constructor found; nested
      exception is java.lang.NoSuchMethodException: [Ljava.lang.Integer;.<init>()
      Caused by:
      java.lang.NoSuchMethodException: [Ljava.lang.Integer;.<init>()
      at java.lang.Class.getConstructor0(Class.java:2678)
      at java.lang.Class.getDeclaredConstructor(Class.java:1953)
      at
      org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:59)
      at
      org.codehaus.groovy.grails.commons.GrailsClassUtils.getPropertyValueOfNewInstance(GrailsClassUtils.java:107)
      at
      org.codehaus.groovy.grails.commons.GrailsDomainConfigurationUtil.getAssociationMap(GrailsDomainConfigurationUtil.java:126)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.establishDomainClassRelationship(DefaultGrailsDomainClass.java:485)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.establishRelationships(DefaultGrailsDomainClass.java:276)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.<init>(DefaultGrailsDomainClass.java:110)
      at
      org.codehaus.groovy.grails.commons.DomainClassArtefactHandler.newArtefactClass(DomainClassArtefactHandler.java:34)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsApplication.addArtefact(DefaultGrailsApplication.java:646)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsApplication.configureLoadedClasses(DefaultGrailsApplication.java:332)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsApplication.initialise(DefaultGrailsApplication.java:852)
      at
      org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean.afterPropertiesSet(GrailsPluginManagerFactoryBean.java:73)
      at
      org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
      at
      org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
      at
      org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
      at
      org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
      at
      org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
      at
      org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
      at
      org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
      at
      org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
      at
      org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
      at
      org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
      at
      org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
      at
      org.codehaus.groovy.grails.web.context.GrailsContextLoader.createWebApplicationContext(GrailsContextLoader.java:40)
      at
      org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
      at
      org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
      at
      org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:497)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
      at org.mortbay.util.Container.start(Container.java:72)
      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.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
      org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:211)
      at RunApp_groovy$_run_closure2.doCall(RunApp_groovy:55)
      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 RunApp_groovy$_run_closure2.doCall(RunApp_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 RunApp_groovy$_run_closure1.doCall(RunApp_groovy:40)
      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 RunApp_groovy$_run_closure1.doCall(RunApp_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)
      Initializing filter 'grailsWebRequest'
      Filter 'grailsWebRequest' configured successfully
      Initializing filter 'urlMapping'
      Filter 'urlMapping' configured successfully
      Initializing filter 'reloadFilter'
      Filter 'reloadFilter' configured successfully
      Initializing servlet 'grails'
      FrameworkServlet 'grails': initialization started
      Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean
      with name 'pluginManager' defined in ServletContext resource
      [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
      exception is org.springframework.beans.BeanInstantiationException: Could not
      instantiate bean class [[Ljava.lang.Integer;]: No default constructor found;
      nested exception is java.lang.NoSuchMethodException:
      [Ljava.lang.Integer;.<init>()
      Caused by:
      org.springframework.beans.BeanInstantiationException: Could not instantiate
      bean class [[Ljava.lang.Integer;]: No default constructor found; nested
      exception is java.lang.NoSuchMethodException: [Ljava.lang.Integer;.<init>()
      Caused by:
      java.lang.NoSuchMethodException: [Ljava.lang.Integer;.<init>()
      at java.lang.Class.getConstructor0(Class.java:2678)
      at java.lang.Class.getDeclaredConstructor(Class.java:1953)
      at
      org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:59)
      at
      org.codehaus.groovy.grails.commons.GrailsClassUtils.getPropertyValueOfNewInstance(GrailsClassUtils.java:107)
      at
      org.codehaus.groovy.grails.commons.GrailsDomainConfigurationUtil.getAssociationMap(GrailsDomainConfigurationUtil.java:126)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.establishDomainClassRelationship(DefaultGrailsDomainClass.java:485)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.establishRelationships(DefaultGrailsDomainClass.java:276)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.<init>(DefaultGrailsDomainClass.java:110)
      at
      org.codehaus.groovy.grails.commons.DomainClassArtefactHandler.newArtefactClass(DomainClassArtefactHandler.java:34)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsApplication.addArtefact(DefaultGrailsApplication.java:646)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsApplication.configureLoadedClasses(DefaultGrailsApplication.java:332)
      at
      org.codehaus.groovy.grails.commons.DefaultGrailsApplication.initialise(DefaultGrailsApplication.java:852)
      at
      org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean.afterPropertiesSet(GrailsPluginManagerFactoryBean.java:73)
      at
      org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowi

        Activity

        Hide
        Graeme Rocher added a comment -

        should be fixed now, please confirm

        Show
        Graeme Rocher added a comment - should be fixed now, please confirm
        Hide
        Maurice Nicholson added a comment -

        Tested and it's now working nicely.

        Show
        Maurice Nicholson added a comment - Tested and it's now working nicely.
        Hide
        Graeme Rocher added a comment -

        Bulk closing bunch of resolved issues

        Show
        Graeme Rocher added a comment - Bulk closing bunch of resolved issues

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Maurice Nicholson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development