new labtest concepts cant sync with openelis

Hello team, am facing the issue in which if i create new labtest concept( say test blood )link it with blood sample it wont go to openelis when you order it through bahmni. But same concept if i link it with urine sample it will work just fine.

i have deleted markers, and other tables dealing with atomfeeds on both databases.

here are the logs

Mar 16, 2018 2:31:05 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler [“http-nio-8052”] Mar 16, 2018 2:31:05 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFO: Using a shared selector for servlet write/read Mar 16, 2018 2:31:05 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Tomcat Mar 16, 2018 2:31:05 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/8.0.12 Mar 16, 2018 2:31:05 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFO: No global web.xml found 90 [localhost-startStop-1] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 116 [localhost-startStop-1] INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 116 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.2.0 created. 117 [localhost-startStop-1] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 117 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.0) ‘OpenELIS-Scheduler’ with instanceId ‘NON_CLUSTERED’ Scheduler class: ‘org.quartz.core.QuartzScheduler’ - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool ‘org.quartz.simpl.SimpleThreadPool’ - with 4 threads. Using job-store ‘org.quartz.simpl.RAMJobStore’ - which does not support persistence. and is not clustered.

118 [localhost-startStop-1] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler ‘OpenELIS-Scheduler’ initialized from default resource file in Quartz package: ‘quartz.properties’ 118 [localhost-startStop-1] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.0 2018-03-16 14:31:11,544 WARN [ELIS][RootClass] composite-id class does not override equals(): us.mn.state.health.lims.analyzerimport.valueholder.AnalyzerTestMappingPK 2018-03-16 14:31:11,544 WARN [ELIS][RootClass] composite-id class does not override hashCode(): us.mn.state.health.lims.analyzerimport.valueholder.AnalyzerTestMappingPK 2018-03-16 14:31:11,545 WARN [ELIS][RootClass] composite-id class does not override equals(): us.mn.state.health.lims.userrole.valueholder.UserRolePK 2018-03-16 14:31:11,545 WARN [ELIS][RootClass] composite-id class does not override hashCode(): us.mn.state.health.lims.userrole.valueholder.UserRolePK 2018-03-16 14:31:11,546 WARN [ELIS][RootClass] composite-id class does not override equals(): us.mn.state.health.lims.address.valueholder.AddressPK 2018-03-16 14:31:11,546 WARN [ELIS][RootClass] composite-id class does not override hashCode(): us.mn.state.health.lims.address.valueholder.AddressPK 2018-03-16 14:31:11,547 WARN [ELIS][RootClass] composite-id class does not override hashCode(): us.mn.state.health.lims.requester.valueholder.SampleRequester 2018-03-16 14:31:11,548 WARN [ELIS][RootClass] composite-id class does not override equals(): us.mn.state.health.lims.testcodes.valueholder.TestSchemaPK 2018-03-16 14:31:11,548 WARN [ELIS][RootClass] composite-id class does not override hashCode(): us.mn.state.health.lims.testcodes.valueholder.TestSchemaPK 2018-03-16 14:31:11,549 WARN [ELIS][RootClass] composite-id class does not override equals(): us.mn.state.health.lims.address.valueholder.AddressPK 2018-03-16 14:31:11,549 WARN [ELIS][RootClass] composite-id class does not override hashCode(): us.mn.state.health.lims.address.valueholder.AddressPK 2018-03-16 14:31:11,550 WARN [ELIS][RootClass] composite-id class does not override equals(): us.mn.state.health.lims.testcodes.valueholder.OrganizationSchemaPK 2018-03-16 14:31:11,550 WARN [ELIS][RootClass] composite-id class does not override hashCode(): us.mn.state.health.lims.testcodes.valueholder.OrganizationSchemaPK Mar 16, 2018 2:31:17 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [3,939] milliseconds. 2018-03-16 14:31:17,634 ERROR [ELIS][FormSet] Form ‘organizationForm’ already exists in FormSet[default] - ignoring. Mar 16, 2018 2:31:17 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [“http-nio-8052”] 2018-03-16 14:31:18,372 WARN [ELIS][ValidatorResources] Form ‘loginValidateForm’ not found for locale ‘en_US’ 2018-03-16 14:31:18,378 WARN [ELIS][ValidatorResources] Form ‘WebServiceForm’ not found for locale ‘en_US’ 2018-03-16 14:31:18,378 WARN [ELIS][ValidatorResources] Form ‘WebServiceForm’ not found for locale ‘en_US’ 8071 [http-nio-8052-exec-1] WARN us.mn.state.health.lims.ws.WebServiceAction - Unauthorized atomfeed access attempt from 127.0.0.1 using username 8072 [http-nio-8052-exec-2] WARN us.mn.state.health.lims.ws.WebServiceAction - Unauthorized atomfeed access attempt from 127.0.0.1 using username 2018-03-16 14:31:18,488 WARN [ELIS][ValidatorResources] Form ‘WebServiceForm’ not found for locale ‘en_US’ 2018-03-16 14:31:18,527 WARN [ELIS][ValidatorResources] Form ‘WebServiceForm’ not found for locale ‘en_US’ 2018-03-16 14:31:18,828 WARN [ELIS][ValidatorResources] Form ‘LabDashboardForm’ not found for locale ‘en_GB’ 122706 [Thread-6] INFO org.quartz.core.QuartzScheduler - Scheduler OpenELIS-Scheduler_$_NON_CLUSTERED started. 2018-03-16 14:33:13,919 ERROR [ELIS][AtomFeedClient] Error occurred while processing feed entry:Entry.summary=null Entry.mediaEntry=false Entry.created=null Entry.foreignMarkup=[] Entry.published=Fri Mar 16 14:33:06 UTC 2018 Entry.source=null Entry.title=Encounter Entry.modules=[] Entry.contents[0].mode=null Entry.contents[0].src=null Entry.contents[0].type=application/vnd.atomfeed+xml Entry.contents[0].value= Entry.xmlBase=null Entry.rights=null Entry.modified=Fri Mar 16 14:33:06 UTC 2018 Entry.alternateLinks=[] Entry.otherLinks=[] Entry.contributors=[] Entry.categories[0].schemeResolved=null Entry.categories[0].scheme=null Entry.categories[0].term=Encounter Entry.categories[0].label=null Entry.id=tag:atomfeed.ict4h.org:f4cac9eb-7dd5-45e4-b013-2146e3af080d Entry.issued=Fri Mar 16 14:33:06 UTC 2018 Entry.updated=Fri Mar 16 14:33:06 UTC 2018 Entry.titleEx.mode=null Entry.titleEx.src=null Entry.titleEx.type=null Entry.titleEx.value=Encounter Entry.authors=[]

java.lang.RuntimeException: java.lang.NullPointerException at org.bahmni.feed.openelis.feed.transaction.support.AtomFeedHibernateTransactionManager.executeWithTransaction(AtomFeedHibernateTransactionManager.java:51) at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(AtomFeedClient.java:68) at org.bahmni.feed.openelis.feed.job.OpenELISFeedReaderJob.processEvents(OpenELISFeedReaderJob.java:73) at org.bahmni.feed.openelis.feed.job.OpenELISFeedReaderJob.execute(OpenELISFeedReaderJob.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:207) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) Caused by: java.lang.NullPointerException at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker$SampleItemTestCache.findOrCreateSampleItemFromCache(EncounterFeedWorker.java:562) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker$SampleItemTestCache.add(EncounterFeedWorker.java:543) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.getSampleTestCollections(EncounterFeedWorker.java:393) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.createSample(EncounterFeedWorker.java:238) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.process(EncounterFeedWorker.java:181) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.process(EncounterFeedWorker.java:163) at org.ict4h.atomfeed.client.service.AtomFeedClient$EventProcessor.doInTransaction(AtomFeedClient.java:168) at org.ict4h.atomfeed.transaction.AFTransactionWorkWithoutResult.execute(AFTransactionWorkWithoutResult.java:6) at org.bahmni.feed.openelis.feed.transaction.support.AtomFeedHibernateTransactionManager.executeWithTransaction(AtomFeedHibernateTransactionManager.java:42) … 5 more 2018-03-16 14:33:15,140 ERROR [ELIS][AtomFeedClient] Failed to process failed event. FailedEvent{failedAt=1521210793922, event=Event{id=‘tag:atomfeed.ict4h.org:f4cac9eb-7dd5-45e4-b013-2146e3af080d’, content=’/openmrs/ws/rest/v1/bahmnicore/bahmniencounter/8199705e-fdd3-48c5-aa47-e6d566d29180?includeAll=true’}, errorMessage='Failed processing event in feed [http://localhost:8050/openmrs/ws/atomfeed/encounter/160] java.lang.NullPointerExceptionjava.lang.RuntimeException: java.lang.NullPointerException at org.bahmni.feed.openelis.feed.transaction.support.AtomFeedHibernateTransactionManager.executeWithTransaction(AtomFeedHibernateTransactionManager.java:51) at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(AtomFeedClient.java:68) at org.bahmni.feed.openelis.feed.job.OpenELISFeedReaderJob.processEvents(OpenELISFeedReaderJob.java:73) at org.bahmni.feed.openelis.feed.job.OpenELISFeedReaderJob.execute(OpenELISFeedReaderJob.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:207) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) Caused by: java.lang.NullPointerException at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker$SampleItemTestCache.findOrCreateSampleItemFromCache(EncounterFeedWorker.java:562) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker$SampleItemTestCache.add(EncounterFeedWorker.java:543) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.getSampleTestCollections(EncounterFeedWorker.java:393) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.createSample(EncounterFeedWorker.java:238) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.process(EncounterFeedWorker.java:181) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.process(EncounterFeedWorker.java:163) at org.ict4h.atomfeed.client.service.AtomFeedClient$EventProcessor.doInTransaction(AtomFeedClient.java:168) at org.ict4h.atomfeed.transaction.AFTransactionWorkWithoutResult.execute(AFTransactionWorkWithoutResult.java:6) at org.bahmni.feed.openelis.feed.transaction.support.AtomFeedHibernateTransactionManager.executeWithTransaction(AtomFeedHibernateTransactionManager.java:42) … 5 more ', feedUri=‘http://localhost:8050/openmrs/ws/atomfeed/encounter/recent’} java.lang.RuntimeException: java.lang.NullPointerException at org.bahmni.feed.openelis.feed.transaction.support.AtomFeedHibernateTransactionManager.executeWithTransaction(AtomFeedHibernateTransactionManager.java:51) at org.ict4h.atomfeed.client.service.AtomFeedClient.processFailedEvents(AtomFeedClient.java:98) at org.bahmni.feed.openelis.feed.job.OpenELISFeedFailedEventsJob.processFailedEvents(OpenELISFeedFailedEventsJob.java:37) at org.bahmni.feed.openelis.feed.job.OpenELISFeedFailedEventsJob.execute(OpenELISFeedFailedEventsJob.java:30) at org.quartz.core.JobRunShell.run(JobRunShell.java:207) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) Caused by: java.lang.NullPointerException at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker$SampleItemTestCache.findOrCreateSampleItemFromCache(EncounterFeedWorker.java:562) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker$SampleItemTestCache.add(EncounterFeedWorker.java:543) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.getSampleTestCollections(EncounterFeedWorker.java:393) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.createSample(EncounterFeedWorker.java:238) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.process(EncounterFeedWorker.java:181) at org.bahmni.feed.openelis.feed.event.EncounterFeedWorker.process(EncounterFeedWorker.java:163) at org.ict4h.atomfeed.client.service.AtomFeedClient$FailedEventProcessor.doInTransaction(AtomFeedClient.java:251) at org.ict4h.atomfeed.transaction.AFTransactionWorkWithoutResult.execute(AFTransactionWorkWithoutResult.java:6) at org.bahmni.feed.openelis.feed.transaction.support.AtomFeedHibernateTransactionManager.executeWithTransaction(AtomFeedHibernateTransactionManager.java:42) … 5 more