We’re attempting to upgrade the FHIR2 module from v2.5.0 to v2.9.1 on an installation running OpenMRS Platform 2.6.17.
The upgrade completes successfully, but OpenMRS fails to start with the following exception:
ModuleException: Unable to start OpenMRS
└─ BeanCreationException: Failed to create ‘appFrameworkService’
└─ UnsatisfiedDependencyException: AppFrameworkServiceImpl
└─ IllegalStateException: Cannot convert proxy to AllComponentsState
(no matching editors or conversion strategy found)
While investigating, I found discussions around FM2-662, TRUNK-6381, and TRUNK-6382 that appear related to this issue.
My understanding is:
- FM2-662 was marked as fixed and the fix was merged before FHIR2 2.5.0.
- We are currently running FHIR2 2.5.0 successfully without any startup issues.
- However, the same error reappears immediately after upgrading to FHIR2 2.6.0.
- Based on previous discussions, the root cause seems to be in the App Framework module, where AllComponentsState is proxied and later injected as a concrete type.
We also noticed that FHIR2 2.6.0 introduced a number of internal changes (dependency wiring refactoring, caching/performance-related improvements, transactional changes, etc.), which may be triggering Spring AOP proxy creation differently than 2.5.0.
We initially thought FM2-662 would have prevented this scenario, so I’m trying to understand whether:
- FHIR2 2.6.0 is known to be incompatible with OpenMRS Platform 2.6.17.
- There are specific App Framework module versions required by FHIR2 2.6.0+.
- There are any known breaking changes between FHIR2 2.5.0 and 2.6.0 that could explain this startup failure.
- The fix for FM2-662 was intended as a workaround rather than a permanent resolution of the underlying App Framework issue.
Following Ian’s suggestion, we also tested newer FHIR2 versions:
- 2.9.1
- 3.0.0
Unfortunately, both versions fail with the exact same startup error, so the issue does not appear to be limited to FHIR2 2.6.0.
Has anyone successfully run FHIR2 2.6.0+ (or 2.9.x / 3.0.x) on OpenMRS Platform 2.6.17? If so, could you share the compatible versions of App Framework and any other modules required?
We are blocked on this one as we are not able to consume the changes done on FHIR2 2.9.1 as part of below cards FM2-682 FM2-683 FM2-678 on OpenMRS 2.6.17 version.
Any guidance would be greatly appreciated.
Thank you!