Atom feed field, what the cause for this exception?

org.openmrs.api.ValidationException: ‘Visit #null’ failed to validate with reason: patient: Patient Id is required at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:79) at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:124) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy197.saveVisit(Unknown Source) at org.openmrs.module.bahmniemrapi.encountertransaction.service.VisitIdentificationHelper.createNewVisit(VisitIdentificationHelper.java:103) at org.openmrs.module.bahmniemrapi.encountertransaction.service.VisitIdentificationHelper.getVisitFor(VisitIdentificationHelper.java:36) at org.openmrs.module.bahmniemrapi.encountertransaction.service.VisitIdentificationHelper.getVisitFor(VisitIdentificationHelper.java:40) at org.bahmni.module.elisatomfeedclient.api.mapper.AccessionHelper.mapToNewEncounter(AccessionHelper.java:82) at org.bahmni.module.elisatomfeedclient.api.worker.OpenElisAccessionEventWorker.process(OpenElisAccessionEventWorker.java:87) at org.bahmni.module.elisatomfeedclient.api.worker.OpenElisPatientFeedWorker.process(OpenElisPatientFeedWorker.java:17) at org.ict4h.atomfeed.client.service.AtomFeedClient$EventProcessor.doInTransaction(AtomFeedClient.java:165) at org.ict4h.atomfeed.transaction.AFTransactionWorkWithoutResult.execute(AFTransactionWorkWithoutResult.java:6) at org.openmrs.module.atomfeed.transaction.support.AtomFeedSpringTransactionManager$1.doInTransaction(AtomFeedSpringTransactionManager.java:40) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.openmrs.module.atomfeed.transaction.support.AtomFeedSpringTransactionManager.executeWithTransaction(AtomFeedSpringTransactionManager.java:37) at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(AtomFeedClient.java:68) at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFeedClientImpl.processFeed(OpenElisPatientFeedClientImpl.java:58) at sun.reflect.GeneratedMethodAccessor608.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at com.sun.proxy.$Proxy284.processFeed(Unknown Source) at org.bahmni.module.elisatomfeedclient.api.task.OpenElisPatientFeedTask.execute(OpenElisPatientFeedTask.java:13) at org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper.execute(TaskThreadedInitializationWrapper.java:68) at org.openmrs.scheduler.timer.TimerSchedulerTask.execute(TimerSchedulerTask.java:94) at org.openmrs.api.context.Daemon$2.run(Daemon.java:130) 15-04-2016 04:10:24 [ERROR] AtomFeedClient - Error occurred while trying to save event as Failed: Event{id=‘tag:atomfeed.ict4h.org:71067e68-1577-40ba-893b-690a7abb109d’, content=’/openelis/ws/rest/accession/ebd6bc82-764f-4a3b-890b-408e92471f56’} java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘tags’ in 'field list’ at org.ict4h.atomfeed.client.repository.jdbc.AllFailedEventsJdbcImpl.get(AllFailedEventsJdbcImpl.java:51) at org.ict4h.atomfeed.client.repository.jdbc.AllFailedEventsJdbcImpl.addOrUpdate(AllFailedEventsJdbcImpl.java:99) at org.ict4h.atomfeed.client.service.AtomFeedClient.handleFailedEvent(AtomFeedClient.java:135) at org.ict4h.atomfeed.client.service.AtomFeedClient.access$600(AtomFeedClient.java:24) at org.ict4h.atomfeed.client.service.AtomFeedClient$FailedEventHandler.doInTransaction(AtomFeedClient.java:211) at org.ict4h.atomfeed.transaction.AFTransactionWorkWithoutResult.execute(AFTransactionWorkWithoutResult.java:6) at org.openmrs.module.atomfeed.transaction.support.AtomFeedSpringTransactionManager$1.doInTransaction(AtomFeedSpringTransactionManager.java:40) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.openmrs.module.atomfeed.transaction.support.AtomFeedSpringTransactionManager.executeWithTransaction(AtomFeedSpringTransactionManager.java:37) at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(AtomFeedClient.java:72) at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFeedClientImpl.processFeed(OpenElisPatientFeedClientImpl.java:58) at sun.reflect.GeneratedMethodAccessor608.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at com.sun.proxy.$Proxy284.processFeed(Unknown Source) at org.bahmni.module.elisatomfeedclient.api.task.OpenElisPatientFeedTask.execute(OpenElisPatientFeedTask.java:13) at org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper.execute(TaskThreadedInitializationWrapper.java:68) at org.openmrs.scheduler.timer.TimerSchedulerTask.execute(TimerSchedulerTask.java:94) at org.openmrs.api.context.Daemon$2.run(Daemon.java:130) Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘tags’ in ‘field list’ at sun.reflect.GeneratedConstructorAccessor280.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2313) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76) at org.ict4h.atomfeed.client.repository.jdbc.AllFailedEventsJdbcImpl.get(AllFailedEventsJdbcImpl.java:44) … 20 more 15-04-2016 04:10:31 [ERROR] AtomFeedClient - Error occurred while processing feed entry:Entry.summary=null Entry.contributors=[] Entry.otherLinks=[] Entry.contents[0].value= Entry.contents[0].src=null Entry.contents[0].type=application/vnd.atomfeed+xml Entry.contents[0].mode=null Entry.issued=Fri Apr 08 18:28:54 EDT 2016 Entry.rights=null Entry.foreignMarkup=[] Entry.alternateLinks=[] Entry.xmlBase=null Entry.titleEx.value=accession Entry.titleEx.src=null Entry.titleEx.type=null Entry.titleEx.mode=null Entry.modified=Fri Apr 08 18:28:54 EDT 2016 Entry.id=tag:atomfeed.ict4h.org:71067e68-1577-40ba-893b-690a7abb109d Entry.authors=[] Entry.title=accession Entry.source=null Entry.created=null Entry.updated=Fri Apr 08 18:28:54 EDT 2016 Entry.mediaEntry=false Entry.categories[0].scheme=null Entry.categories[0].term=patient Entry.categories[0].label=null Entry.categories[0].schemeResolved=null Entry.published=Fri Apr 08 18:28:54 EDT 2016 Entry.modules=[]

Please create a new question in the “Ask OpenMRS” category #ask, but be sure to include the following:

  1. Are you running Platform or Reference Application, and which version?
  2. What version of the module are you using?
  3. What were you trying to do when the error message appeared?
  4. What type of troubleshooting have you done so far, and what were the results?

Thanks!