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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by kalpanaDasireddy
, 1 year ago
,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]
via Stack Overflow by Krizia Simon
, 1 year ago
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
via Stack Overflow by Krizia Simon
, 1 year ago
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
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(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1717)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1534)
at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:954)
at org.grails.orm.hibernate.AbstractHibernateGormInstanceApi.save(AbstractHibernateGormInstanceApi.groovy:131)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:151)
at undefined.Item.save(Item.groovy)
at undefined.Item.save(Item.groovy)
at org.grails.datastore.gorm.GormEntity$save.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at undefined.ItemController$$EPyBQZG5.create(ItemController.groovy:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springsource.loaded.ri.ReloadedTypeInvoker$2.invoke(ReloadedTypeInvoker.java:133)
at org.grails.core.DefaultGrailsControllerClass$ReflectionInvoker.invoke(DefaultGrailsControllerClass.java:210)
at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:187)
at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

18 times, 6 months ago
3 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.