Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix (jans-config-api) : fido2-plugin throwing error during deployment #1632

Closed
duttarnab opened this issue Jun 29, 2022 · 1 comment
Closed
Assignees
Labels
comp-jans-config-api Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@duttarnab
Copy link
Contributor

Describe the bug
The fido2-plugin throwing following error during deployment if user-mgt-plugin is not deployed.

2022-06-28 20:43:44.053:WARN :oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@5c87bfe2{jans-config-api.xml,/jans-config-api,[file:///tmp/jetty-0_0_0_0-8074-jans-config-api_war-_jans-config-api-any-16968549411140458976/webapp/, jar:file:///tmp/jetty-0_0_0_0-8074-jans-config-api_war-_jans-config-api-any-16968549411140458976/webapp/WEB-INF/lib/jakarta.faces-3.0.2.jar!/META-INF/resources],UNAVAILABLE}{/opt/jans/jetty/jans-config-api/webapps/jans-config-api.war}
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type UserService with qualifiers @Default|  at injection point [BackedAnnotatedField] @Inject private io.jans.configapi.plugin.fido2.service.Fido2RegistrationService.userService|  at io.jans.configapi.plugin.fido2.service.Fido2RegistrationService.userService(Fido2RegistrationService.java:0)|
        at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:378)
        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:290)
        at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:143)
        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:164)
        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:526)
        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:64)
        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:62)
        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:62)
        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:55)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
2022-06-28 20:43:44.071:INFO :oejs.AbstractConnector:main: Started ServerConnector@53f0a4cb{HTTP/1.1, (http/1.1)}{0.0.0.0:8074}
2022-06-28 20:43:44.073:INFO :oejs.Server:main: Started Server@17a1e4ca{STARTING}[11.0.8,sto=5000] @14357ms
@duttarnab duttarnab added kind-bug Issue or PR is a bug in existing functionality comp-jans-config-api Component affected by issue or PR labels Jun 29, 2022
@duttarnab duttarnab self-assigned this Jun 29, 2022
duttarnab added a commit that referenced this issue Jun 29, 2022
yuriyz pushed a commit that referenced this issue Jun 29, 2022
* fix: fido2-plugin throwing error during deployment #1632

* fix: resolve sonar issues #1632
@duttarnab
Copy link
Contributor Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-config-api Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant