Giter Club home page Giter Club logo

bahmni-offline-sync's People

Contributors

abishek91 avatar alagesann avatar angshu avatar binduak avatar buvaneswari-arun avatar hanisha93 avatar lispyclouds avatar n0-man avatar preethi29 avatar pushpadumpala avatar ra-ushan avatar ravidonapati avatar rbuisson avatar rohit-yawalkar avatar sanofersameera avatar santhubairamcs avatar shashikanthgadgay avatar shruthipitta avatar sivareddyp avatar stavtnameh avatar sumanmaity112 avatar swathivarkala avatar swethab184 avatar ujjavala avatar umair-fayaz avatar vinkesh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bahmni-offline-sync's Issues

Bahmni offline sync code has a minor typo that is causing openmrs to fail on load

+Problem : +

Today after installing Bahmni connect on Bahmni version 0.92 , open mr fails to startup.

Analysis :

This is how the log looks,

Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventRecordServiceHelper' defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmniOfflineSync/bahmniOfflineSync.jar!/org/bahmni/module/bahmniOfflineSync/utils/EventRecordServiceHelper.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bahmni.module.bahmniOfflineSync.utils.EventRecordServiceHelper]: Constructor threw exception; nested exception is java.lang.NullPointerException
org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventRecordServiceHelper' defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmniOfflineSync/bahmniOfflineSync.jar!/org/bahmni/module/bahmniOfflineSync/utils/EventRecordServiceHelper.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bahmni.module.bahmniOfflineSync.utils.EventRecordServiceHelper]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:65)
at org.openmrs.web.Listener.contextInitialized(Listener.java:196)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4751)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5175)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
On looking into the code I found this ,

https://github.com/Bahmni/bahmni-offline-sync/blob/BAH-992/omod/src/main/java/org/bahmni/module/bahmniOfflineSync/utils/EventRecordServiceHelper.java#L131

There is a space in between AtomFeedSpringTransactionManager .class that is causing the issue. To test the theory I removed the space did a local build and deployed to confirm.
This issue exists on all versions of code beyond .91 so probably a hotfix for .92 and fix on the master would be required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.