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

OpenJDK 8: error messages in console #3045

Closed
mlep opened this issue Jul 24, 2017 · 9 comments
Closed

OpenJDK 8: error messages in console #3045

mlep opened this issue Jul 24, 2017 · 9 comments
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs build-system
Milestone

Comments

@mlep
Copy link
Contributor

mlep commented Jul 24, 2017

Error messages are displayed in the console at startup (see logfile below)

JabRef version JabRef-4.0-dev--snapshot--2017-07-22--master--8730d02d9.jar
using

openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-1~bpo8+1-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

and

openjfx-8u60

on Linux Mint Debian Edition (using Cinnamon)

Steps to reproduce:

  1. starts JabRef from command line
Log File
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 No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
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.
AI: INFO 24-07-2017 16:26, 19: Configuration file has been successfully found as resource
File: grouptree.fxml not found, attempting with camel case
Jul 24, 2017 4:26:18 PM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.60
File: grouptree.css not found, attempting with camel case
@Siedlerchr
Copy link
Member

@koppor This is related to your changes

The other things are not really Errors, the only thing which seems to differ from oracle:
WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.60

@koppor
Copy link
Member

koppor commented Jul 24, 2017

Which changes do you mean? Can you provide me to a PR?

We did NOT merge in #3015 and I cannot remember to have changed the logging at other places, did we?

@Siedlerchr
Copy link
Member

I thought that was already merged. But it has to do with the log libs and some gradle deps:
https://stackoverflow.com/questions/34945438/log4j2-configuration-not-found-when-running-standalone-application-builded-by-sh

@koppor
Copy link
Member

koppor commented Jul 24, 2017

It could be 565e19e - there, the transform(new com.github.jengelman.gradle.plugins.shadow.transformers.Transformer() hack was removed by @stefan-kolb

@Siedlerchr Could you try to revert that commit and see if that helps?

@stefan-kolb
Copy link
Member

Hm could be, although this should work with the recent changes...

@stefan-kolb stefan-kolb self-assigned this Jul 25, 2017
@stefan-kolb stefan-kolb added bug Confirmed bugs or reports that are very likely to be bugs build-system labels Jul 25, 2017
@stefan-kolb
Copy link
Member

@Siedlerchr
Copy link
Member

About the openjfx stuff, it's damn complicated to find out about the versions)
Xenial only contains 8u60, while yaketty already contains 8u102
https://packages.ubuntu.com/search?lang=de&keywords=openjfx
And for other repos it's even more weird:
https://repology.org/metapackage/openjfx/versions

@stefan-kolb stefan-kolb added this to the v4.0 milestone Aug 1, 2017
@stefan-kolb
Copy link
Member

Can you check the latest master please, it should be fixed now.

@mlep
Copy link
Contributor Author

mlep commented Aug 3, 2017

Indeed, no more error message!

Siedlerchr added a commit that referenced this issue Aug 4, 2017
* upstream/master:
  Fix markdown
  Update gradle from 4.0.1 to 4.0.2
  Fix #3045 Update Transformer plugin
  Reimplement MappedList using a backigList (#3069)

# Conflicts:
#	CHANGELOG.md
Siedlerchr added a commit that referenced this issue Aug 6, 2017
* upstream/master:
  Add warning message if group with same name is already present (#3077)
  Fix #3062: Ctrl + F works again
  Fix del/copy/paste key trigger main table action in search bar (#3070)
  Fix markdown
  Update gradle from 4.0.1 to 4.0.2
  Fix #3045 Update Transformer plugin
  Reimplement MappedList using a backigList (#3069)
  Fix importing preferences after resetting without restarting (#3065)
  Fix some spotbugs issues (#3060)
  Import dialog when fetch (#3025)
  Adapt CircleCI build
  Adapt CI script
  Closes #3027 and updates install4j to v7
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
Projects
None yet
Development

No branches or pull requests

4 participants