Bug 124882 - Warning when opening a *.odt file. the slf4j class is missing (Language Tool extension)
Summary: Warning when opening a *.odt file. the slf4j class is missing (Language Tool ...
Status: VERIFIED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
6.2.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-22 10:43 UTC by gordon.lack
Modified: 2019-06-28 03:01 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gordon.lack 2019-04-22 10:43:32 UTC
Description:
When I start up LibreOffice this appears:

[parent]: libreoffice LeagueTables.odt 
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Steps to Reproduce:
1.In a terminal window start libreoffice to open a *.odt file.
2.
3.

Actual Results:
The warning message appears

Expected Results:
No warning message


Reproducible: Always


User Profile Reset: No



Additional Info:
I have two systems, set-up (essentially) the same.

One of them produces this message, the other does not.

Starting libreoffice with the --strace options shows that both of them find the slf4j-api-1.7.25.jar file, but the one that produce the warning then goes on to look for (and fail to find):

   LoggerFactory.class
   ILoggerFactory.class
   LoggingEvent.class
   SubstituteLoggerFactory.class
   Logger.class
   NOPLoggerFactory.class
   Util.class
   StaticLoggerBinder.class

and produces the message after finding none of them.
Comment 1 Сергій Загорія 2019-06-27 11:00:37 UTC
Looks like fixed in 4.6. Can you confirm?
Comment 2 Сергій Загорія 2019-06-27 11:02:03 UTC
No, not fixed, sorry.

P.S. I had to delete ~/.config/libreoffice/4/user/uno_packages to be able to use extension management.
Comment 3 gordon.lack 2019-06-27 11:40:12 UTC
Well, it seems to have fixed it for me.
I've just open the same file in the same way on the same system that was logging the warning before and it is no longer there.

One other difference (just for information) I noticed after updating from LT 4.5.1 to 4.6 was that the libreoffice command, when run from the command line, now backgrounds itself, whereas with 4.5.1 it didn't*. No other change to LO (I'm now on 6.2.4.2).

* that was:
   o run "libreoffice LeagueTables.odt" - not backgrounded (didn't go back to command prompt).
   o update LT from 4.5.1 to 4.6
   o run "libreoffice LeagueTables.odt" - this did background. I was back at the command prompt once the document was displayed.