grails.validation.ValidationException: Validation Error(s) occurred during save( ): - Field error in object 'Item' on field 'status': rejected value [null]; codes [Item.status.nullable.error.Item.status,Item.status.nullable.error.status,Item.st atus.nullable.error.Status,Item.status.nullable.error,item.status.nullable.error .Item.status,item.status.nullable.error.status,item.status.nullable.error.Status ,item.status.nullable.error,Item.status.nullable.Item.status,Item.status.nullabl e.status,Item.status.nullable.Status,Item.status.nullable,item.status.nullable.I tem.status,item.status.nullable.status,item.status.nullable.Status,item.status.n ullable,nullable.Item.status,nullable.status,nullable.Status,nullable]; argument s [status,class Item]; default message [Property [{0}] of class [{1}] cannot be null]

GitHub | kalpanaDasireddy | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 10186#250425770

    GitHub | 7 months ago | kalpanaDasireddy
    grails.validation.ValidationException: Validation Error(s) occurred during save( ): - Field error in object 'Item' on field 'status': rejected value [null]; codes [Item.status.nullable.error.Item.status,Item.status.nullable.error.status,Item.st atus.nullable.error.Status,Item.status.nullable.error,item.status.nullable.error .Item.status,item.status.nullable.error.status,item.status.nullable.error.Status ,item.status.nullable.error,Item.status.nullable.Item.status,Item.status.nullabl e.status,Item.status.nullable.Status,Item.status.nullable,item.status.nullable.I tem.status,item.status.nullable.status,item.status.nullable.Status,item.status.n ullable,nullable.Item.status,nullable.status,nullable.Status,nullable]; argument s [status,class Item]; default message [Property [{0}] of class [{1}] cannot be null]
  2. 0

    BootStrap.groovy causing grails to fail

    Stack Overflow | 1 year ago | Krizia Simon
    grails.validation.ValidationException: Validation Error(s) occurred during save(): - Field error in object 'grailsapp.State' on field 'updates': rejected value [{}]; codes [grailsapp.State.updates.typeMi smatch.error,grailsapp.State.updates.typeMismatch,state.updates.typeMismatch.error,state.updates.typeMismatch,typeMismat ch.grailsapp.State.updates,typeMismatch.updates,typeMismatch.java.util.Set,typeMismatch]; arguments [updates]; default m essage [Could not find matching constructor for: java.util.Set()]
  3. 0

    Grails 3.1.2 wont run Error org.hibernate.hbm2ddl.schemaupdate - hhh000388

    Stack Overflow | 1 year ago | Krizia Simon
    grails.validation.ValidationException: Validation Error(s) occurred during save(): - Field error in object 'State' on field 'updates': rejected value [{}]; codes [State.updates.typeMismatch.error,State.u pdates.typeMismatch,state.updates.typeMismatch.error,state.updates.typeMismatch,typeMismatch.State.updates,typeMismatch. updates,typeMismatch.java.util.Set,typeMismatch]; arguments [updates]; default message [Could not find matching construc tor for: java.util.Set()]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Luka 3 times, last 7 months ago

Root Cause Analysis

  1. grails.validation.ValidationException

    Validation Error(s) occurred during save( ): - Field error in object 'Item' on field 'status': rejected value [null]; codes [Item.status.nullable.error.Item.status,Item.status.nullable.error.status,Item.st atus.nullable.error.Status,Item.status.nullable.error,item.status.nullable.error .Item.status,item.status.nullable.error.status,item.status.nullable.error.Status ,item.status.nullable.error,Item.status.nullable.Item.status,Item.status.nullabl e.status,Item.status.nullable.Status,Item.status.nullable,item.status.nullable.I tem.status,item.status.nullable.status,item.status.nullable.Status,item.status.n ullable,nullable.Item.status,nullable.status,nullable.Status,nullable]; argument s [status,class Item]; default message [Property [{0}] of class [{1}] cannot be null]

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  3. Springloaded
    ReflectiveInterceptor.jlrConstructorNewInstance
    1. org.springsource.loaded.ri.ReflectiveInterceptor.jlrConstructorNewInstance(ReflectiveInterceptor.java:1075)
    1 frame
  4. Groovy
    DefaultGroovyMethods.newInstance
    1. org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
    2. org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
    3. groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1717)
    4. groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1534)
    5. org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:954)
    6. org.codehaus.groovy.runtime.DefaultGroovyMethods.newInstance(DefaultGroovyMethods.java:15645)
    6 frames
  5. Grails GORM
    AbstractHibernateGormInstanceApi.save
    1. org.grails.orm.hibernate.AbstractHibernateGormInstanceApi.save(AbstractHibernateGormInstanceApi.groovy:131)
    1 frame
  6. Grails GORM
    GormEntity$Trait$Helper$save.call
    1. org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:151)
    2. org.grails.datastore.gorm.GormEntity$Trait$Helper$save.call(Unknown Source)
    2 frames
  7. Unknown
    Item.save
    1. Item.save(Item.groovy)
    2. Item.save(Item.groovy)
    2 frames
  8. Grails GORM
    GormEntity$save.call
    1. org.grails.datastore.gorm.GormEntity$save.call(Unknown Source)
    1 frame
  9. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    3 frames
  10. Unknown
    ItemController$$EPyBQZG5.create
    1. ItemController$$EPyBQZG5.create(ItemController.groovy:10)
    1 frame
  11. 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
  12. Springloaded
    ReflectiveInterceptor.jlrMethodInvoke
    1. org.springsource.loaded.ri.ReloadedTypeInvoker$2.invoke(ReloadedTypeInvoker.java:133)
    2. org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1461)
    2 frames
  13. Grails
    DefaultGrailsControllerClass.invoke
    1. org.grails.core.DefaultGrailsControllerClass$ReflectionInvoker.invoke(DefaultGrailsControllerClass.java:210)
    2. org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:187)
    2 frames
  14. org.grails.web
    UrlMappingsInfoHandlerAdapter.handle
    1. org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
    1 frame
  15. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
    2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)
    3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
    4. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)
    4 frames
  16. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    1 frame
  17. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
    1 frame
  18. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  19. 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
  20. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  21. 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
  22. Spring Boot Actuator
    EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal
    1. org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:281)
    1 frame
  23. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  24. 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
  25. Spring Boot Actuator
    WebRequestTraceFilter.doFilterInternal
    1. org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:115)
    1 frame
  26. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  27. 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
  28. org.grails.web
    GrailsWebRequestFilter.doFilterInternal
    1. org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
    1 frame
  29. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  30. 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
  31. org.grails.web
    HiddenHttpMethodFilter.doFilterInternal
    1. org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
    1 frame
  32. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    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.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    2 frames
  35. 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
  36. Spring Boot Actuator
    MetricsFilter.doFilterInternal
    1. org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103)
    1 frame
  37. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  38. 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
    9 frames
  39. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687)
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
    4 frames
  40. 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
  41. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  42. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame