Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
4.7.0
-
None
-
None
-
Unknown
Description
I have a custom unit test which requires access to Camel context. My code is as simple as:
@QuarkusTest
public class MyCustomTest {
@Inject
protected CamelContext camelContext;
It worked just fine prior to upgrading to Camel 4.7.0 and Quarkus 3.13.0 but now I'm getting error: java.lang.NullPointerException: Cannot invoke "org.apache.camel.CamelContext.getCamelContextExtension()" because "camelContext" is null and running the code in the debug mode confirms that the camelContext is indeed null. Is it a known bug?