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

Add slf4j.api to the manifest #29

Open
grigoriev opened this issue Oct 15, 2024 · 0 comments · Fixed by #28
Open

Add slf4j.api to the manifest #29

grigoriev opened this issue Oct 15, 2024 · 0 comments · Fixed by #28
Assignees
Labels
bug Something isn't working
Milestone

Comments

@grigoriev
Copy link
Contributor

Current Behavior

One of the latest feature in generic leads to a warning in the log during extension initialization:

2024-09-18 11:29:52,812 [Catalina-utility-2] WARN com.polarion.psvn.launcher.SystemErrLogger - Something is written to System.err, the original message follows.
com.polarion.core.util.ThrowableUtils$StackTraceException: null
at com.polarion.core.util.ThrowableUtils.getTrace(ThrowableUtils.java:109) ~[util.jar:?]
at com.polarion.psvn.launcher.SystemErrLogger.log(SystemErrLogger.java:264) ~[launcher.jar:?]
at com.polarion.psvn.launcher.SystemErrLogger.println(SystemErrLogger.java:108) ~[launcher.jar:?]
at org.slf4j.helpers.Util.report(Util.java:128) ~[slf4j-api-1.7.32.jar:1.7.32]
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:157) ~[slf4j-api-1.7.32.jar:1.7.32]
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) ~[slf4j-api-1.7.32.jar:1.7.32]
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) ~[slf4j-api-1.7.32.jar:1.7.32]
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) ~[slf4j-api-1.7.32.jar:1.7.32]
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) ~[slf4j-api-1.7.32.jar:1.7.32]
at org.reflections.Reflections.(Reflections.java:115) ~[reflections-0.10.2.jar:?]
at ch.sbb.polarion.extension.generic.util.ContextUtils.(ContextUtils.java:20) ~[ch.sbb.polarion.extension.generic.app-7.0.0.jar:?]
at ch.sbb.polarion.extension.generic.settings.GenericNamedSettings.(GenericNamedSettings.java:56) ~[ch.sbb.polarion.extension.generic.app-7.0.0.jar:?]
at ch.sbb.polarion.extension.generic.settings.GenericNamedSettings.(GenericNamedSettings.java:51) ~[ch.sbb.polarion.extension.generic.app-7.0.0.jar:?]

Expected Behavior

To fix this we have to add slf4j.api to the MANIFEST.MF files. At least diff-tool & excel-importer have this issue, but it worth to check all other extensions.

Steps To Reproduce

Check Polarion log

Environment - OS

Any

Polarion version

2404

Extension Version

1.7.1

Anything else

No response

@grigoriev grigoriev added the bug Something isn't working label Oct 15, 2024
@grigoriev grigoriev linked a pull request Oct 15, 2024 that will close this issue
4 tasks
@grigoriev grigoriev self-assigned this Oct 15, 2024
@grigoriev grigoriev added this to the v1.7.1 milestone Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant