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

New messages from StatusLogger #6009

Closed
sambo57u opened this issue Feb 24, 2020 · 17 comments
Closed

New messages from StatusLogger #6009

sambo57u opened this issue Feb 24, 2020 · 17 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs build-system jabcon

Comments

@sambo57u
Copy link

JabRef 5.0-beta.464--2020-02-24--469d41c
Linux 5.5.5-200.fc31.x86_64 amd64
Java 13.0.2

After this morning the old log4j message is gone but it replaced by these:
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.

@bernhard-kleine
Copy link

Where did you get these messages from?

@Siedlerchr
Copy link
Member

If you start JabRef with the bat file and not the exe you will see the console again

@sambo57u
Copy link
Author

Hi, I am on Fedora linux. The bat file /opt/jabref/lib/runtime/bin/JabRef.bat is giving me:
/opt/jabref/lib/runtime/bin/JabRef.bat: line 1: @echo: command not found
/opt/jabref/lib/runtime/bin/JabRef.bat: line 4: unexpected EOF while looking for matching `"'
/opt/jabref/lib/runtime/bin/JabRef.bat: line 5: syntax error: unexpected end of file

@Siedlerchr
Copy link
Member

The bat file is for windows.

@sambo57u
Copy link
Author

Naturally....so should there be a shell script?

@Siedlerchr
Copy link
Member

Yep, it's next to the bat file, simply "JabRef" without any file extension. If you open it an editor you see it's a shell script.

@Siedlerchr Siedlerchr added build-system status: depends-on-external A bug or issue that depends on an update of an external library labels Feb 24, 2020
@sambo57u
Copy link
Author

Ok....I added " > /dev/null 2>&1" at the end of the execution line and it works fine.
Howeve, I usually like to make a logical link from /usr/bin/jabref to this file and I had to
change the DIR statement to point to the runtime library for this to work.

@tobiasdiez
Copy link
Member

This issue is probably a result of d2de477#diff-c197962302397baf3a4cc36463dce5eaR641, which includes the log4j plugin. This adds a Log4j2Plugins.dat file that is known to lead to similar problems: https://stackoverflow.com/questions/48033792/log4j2-error-statuslogger-unrecognized-conversion-specifier
Thus a solution would be to remove the Log4j2Plugins.dat from the merged module.

@tobiasdiez tobiasdiez added bug Confirmed bugs or reports that are very likely to be bugs and removed status: depends-on-external A bug or issue that depends on an update of an external library labels Mar 3, 2020
@tobiasdiez tobiasdiez added this to the v5.1 milestone Mar 3, 2020
@tobiasdiez tobiasdiez removed this from the v5.1 milestone Apr 12, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2020

This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs.

As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:

  • If there has been a longer discussion, add a short summary of the most important points as a new comment (if not yet existing).
  • Provide further steps or information on how to reproduce this issue.
  • Upvote the initial post if you like to see it implemented soon. Votes are not the only metric that we use to determine the requests that are implemented, however, they do factor into our decision-making process.
  • If all information is provided and still up-to-date, then just add a short comment that the issue is still relevant.

Thank you for your contribution!

@sambo57u
Copy link
Author

sambo57u commented Dec 8, 2020

The issue is still occurring exactly the same way with jabref 5,2 daily development versions on Fedora 33 Linux.

@zenny
Copy link

zenny commented Jul 6, 2021

I am running JabRef 5.3 in VoidLinux and this issue emerged today:

JabRef 5.3--2021-07-05--50c96a2
Linux 5.4.128_1 amd64 
Java 16.0.1 
JavaFX 16+8
$ ./JabRef
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
Jul 06, 2021 4:24:55 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'module org.jabref.merged.module', isAutomatic: false, isOpen: true

(JabRef:11068): Gdk-WARNING **: 16:24:58.762: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.

@rlkamalapurkar
Copy link

rlkamalapurkar commented Jul 24, 2021

Same exact issue in Windows PowerShell when launched using the batch file.

JabRef 5.3--2021-05-24--59fb185
Windows 10 10.0 amd64 
Java 16.0.1 
JavaFX 16+8

@horror-vacui
Copy link

The exact same error messages appear in the terminal if I start jabref from it.

JabRef 5.4--2021-08-10--3c5a316
Linux 5.15.2-2-manjaro amd64 
Java 16.0.2 
JavaFX 16+8

@calixtus
Copy link
Member

Hi all, we just switched from log4j to tinylog (#8226). We would appreciate it, if you could test the latest development version https://builds.jabref.org/main/ . Please remember to backup your libraries before testing a development build.
Thanks!

@sambo57u
Copy link
Author

sambo57u commented Dec 20, 2021

Hi, I have been using development versions regularly. I don't see the syslog messages anymore but in the last few says I am seeing a different messages:

$ /opt/jabref/bin/JabRef VU_bibtex_master.bib
Dec 20, 2021 8:02:29 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'module org.jabref.merged.module', isAutomatic: false, isOpen: true
2021-12-20 08:02:29 [JavaFX Application Thread] org.jabref.logic.net.URLDownload.bypassSSLVerification()
WARN: Fix SSL exceptions by accepting ALL certificates

(JabRef:4755): Gdk-WARNING **: 08:02:31.834: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
2021-12-20 08:02:32 [JavaFX Application Thread] org.jabref.model.database.BibDatabaseContext.getFulltextIndexPath()
INFO: Index path for VU_bibtex_master.bib is /home/umar/.local/share/JabRef/0.5a

This is on Linux Fedora 35 using jabref rpm version.

@calixtus
Copy link
Member

The Gdk-warning is probably related to https://bugs.openjdk.java.net/browse/JDK-8156779
The info message is just a debug message
The SSL-Message is expected
Yet unclear is the first message about the javafx startup (PlatformImpl)

We will investigate. Maybe something about the module system:
https://stackoverflow.com/questions/67854139/javafx-warning-unsupported-javafx-configuration-classes-were-loaded-from-unna

@sambo57u Does JabRef run on your machine? Can you work with it?

@Siedlerchr
Copy link
Member

@calixtus The warning is just because we have a merged module with the gradle plugin doing the jlink stuff. It's just a hint that you should normally not start javafx from the classpath

koppor pushed a commit that referenced this issue Apr 25, 2022
76b4268 Style for Acta Physica Sinica (物理学报) (#6009)
604de6f MLA Publication Date update (#5927)
41ce2d4 Update netherlands-journal-of-geosciences-geologie-en-mijnbouw.csl (#6027)
ad08f5d Adds space after title writing in ABNT style file (#6031)
0b5c1c2 Create CRCAO Light (#5935)
2f42b8c Create annals-of-laboratory-medicine.csl (#5959)
80a9506 Create annual-review-of-linguistics (#5992)
0fb9c40 Update the-journal-of-egyptian-archaeology.csl (#6028)
5ff53b1 Update guide-des-citations-references-et-abreviations-juridiques.csl (#6002)
c1c0212 Update society-for-american-archaeology.csl (#5919)
129ef3c Update administrative-science-quarterly.csl (#5991)
8bc22bd Create multilingual-matters.csl (#5955)
aca84fd Create expert-reviews-in-molecular-medicine.csl (#5961)
3c4ddc0 Create ethnobiology-letters.csl (#5986)
c301e04 Update heidelberg-university-faculty-of-medicine.csl (#5932)
a8c4396 Update tyndale-bulletin.csl (#5949)
c18cbcf Bluebook hotfix
d950b2b  Create incontext-studies-in-translation-and-interculturalism.csl (#5907)
7cfc106 Bump nokogiri from 1.13.2 to 1.13.4 (#6016)
0baa43a Liebert update (#6026)
41ca2b3 Bluebook Add space for ibid  (#6025)
6707a37 Update american-journal-of-botany.csl (#5954)
926fad5 Update boletin-de-pediatria.csl (#6024)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 76b4268
Jonathan-Oliveira pushed a commit to Jonathan-Oliveira/jabref that referenced this issue May 7, 2022
76b4268 Style for Acta Physica Sinica (物理学报) (JabRef#6009)
604de6f MLA Publication Date update (JabRef#5927)
41ce2d4 Update netherlands-journal-of-geosciences-geologie-en-mijnbouw.csl (JabRef#6027)
ad08f5d Adds space after title writing in ABNT style file (JabRef#6031)
0b5c1c2 Create CRCAO Light (JabRef#5935)
2f42b8c Create annals-of-laboratory-medicine.csl (JabRef#5959)
80a9506 Create annual-review-of-linguistics (JabRef#5992)
0fb9c40 Update the-journal-of-egyptian-archaeology.csl (JabRef#6028)
5ff53b1 Update guide-des-citations-references-et-abreviations-juridiques.csl (JabRef#6002)
c1c0212 Update society-for-american-archaeology.csl (JabRef#5919)
129ef3c Update administrative-science-quarterly.csl (JabRef#5991)
8bc22bd Create multilingual-matters.csl (JabRef#5955)
aca84fd Create expert-reviews-in-molecular-medicine.csl (JabRef#5961)
3c4ddc0 Create ethnobiology-letters.csl (JabRef#5986)
c301e04 Update heidelberg-university-faculty-of-medicine.csl (JabRef#5932)
a8c4396 Update tyndale-bulletin.csl (JabRef#5949)
c18cbcf Bluebook hotfix
d950b2b  Create incontext-studies-in-translation-and-interculturalism.csl (JabRef#5907)
7cfc106 Bump nokogiri from 1.13.2 to 1.13.4 (JabRef#6016)
0baa43a Liebert update (JabRef#6026)
41ca2b3 Bluebook Add space for ibid  (JabRef#6025)
6707a37 Update american-journal-of-botany.csl (JabRef#5954)
926fad5 Update boletin-de-pediatria.csl (JabRef#6024)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 76b4268
@koppor koppor moved this to Done in Prioritization Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs build-system jabcon
Projects
Archived in project
Development

No branches or pull requests

8 participants