When running munit tests from command line mvn test, app deployment fails with following error -
WARN 2023-09-08 21:54:24,200 [Embedded] org.mule.runtime.extension.internal.loader.enricher.ConfigRefDeclarationEnricher: Component 'console' in extension 'APIKit' already has a 'config-ref' parameter defined. Skipping ConfigRefDeclarationEnricher for it.
WARN 2023-09-08 21:54:24,200 [Embedded] org.mule.runtime.extension.internal.loader.enricher.ConfigRefDeclarationEnricher: Component 'router' in extension 'APIKit' already has a 'config-ref' parameter defined. Skipping ConfigRefDeclarationEnricher for it.
WARN 2023-09-08 21:54:25,129 [Embedded] com.avioconsulting.mule.vault.provider.api.VaultConfigurationPropertiesProviderFactory: No Vault Properties Provider configurations found
INFO 2023-09-08 21:54:25,139 [Embedded] org.mule.runtime.module.deployment.impl.internal.artifact.AbstractDeployableArtifact: Application 'tg-shot-api' never started, nothing to dispose of
ERROR 2023-09-08 21:54:25,135 [Embedded] org.mule.runtime.module.deployment.impl.internal.application.DefaultMuleApplication: null
java.lang.NullPointerException: null
at com.avioconsulting.mule.vault.provider.api.VaultConfigurationPropertiesProviderFactory.createProvider(VaultConfigurationPropertiesProviderFactory.java:46) ~[?:?]
at org.mule.runtime.config.api.dsl.model.properties.ConfigurationPropertiesProviderFactory.createProvider(ConfigurationPropertiesProviderFactory.java:62) ~[mule-module-spring-config-4.4.0.jar:4.4.0]
at org.mule.runtime.config.internal.model.properties.PropertiesResolverUtils.lambda$getConfigurationPropertiesProvidersFromComponents$5(PropertiesResolverUtils.java:283) ~[mule-module-spring-config-4.4.0.jar:4.4.0]
at org.mule.runtime.config.internal.model.properties.PropertiesResolverUtils.getConfigurationPropertiesProvidersFromComponents(PropertiesResolverUtils.java:297) ~[mule-module-spring-config-4.4.0.jar:4.4.0]
I have tried enabling local mode but it still fails.
Module version: 1.0.0
Environment -
Dependencies:
When running munit tests from command line
mvn test
, app deployment fails with following error -I have tried enabling local mode but it still fails.