You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After stopping our tomcat server while there are unprocessed elements in the queue (around 8000), we got a lot of them (2879) in the failed queue. The error is same for all of them:
Method on class [com.sample.Subscriber] was used outside of a Grails application. If running in the context of a test using the mocking API or bootstrap Grails correctly.
at com.sample.Subscriber.currentGormInstanceApi(Subscriber.groovy)
at com.sample.Subscriber.save(Subscriber.groovy)
at com.sample.Subscriber$save.call(Unknown Source)
at com.sample.SubscriberService.saveSubscriber(SubscriberService.groovy:27)
at com.sample.SubscriberService$$FastClassBySpringCGLIB$$64298a18.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
....
Is there any way to avoid this issue ?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi.
We are using:
After stopping our tomcat server while there are unprocessed elements in the queue (around 8000), we got a lot of them (2879) in the failed queue. The error is same for all of them:
Is there any way to avoid this issue ?
Thanks.
The text was updated successfully, but these errors were encountered: