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

class kong.unirest.JsonObjectMapper cannot access class com.google.gson.Gson #5947

Closed
1 task done
homocomputeris opened this issue Feb 14, 2020 · 2 comments
Closed
1 task done

Comments

@homocomputeris
Copy link

JabRef 5.0-beta.419--2020-02-12--3859620

$ jabref --version
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
JabRef 5.0-beta.419--2020-02-12--3859620
Exception in Application stop method
ERROR FallbackExceptionHandler Uncaught exception occurred in Thread[main,5,main]
 java.lang.RuntimeException: Exception in Application stop method
	at org.jabref.merged.module/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
	at org.jabref.merged.module/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalAccessError: class kong.unirest.JsonObjectMapper (in module org.jabref.merged.module) cannot access class com.google.gson.Gson (in module com.google.gson) because module org.jabref.merged.module does not read module com.google.gson
	at org.jabref.merged.module/kong.unirest.JsonObjectMapper.<init>(Unknown Source)
	at org.jabref.merged.module/kong.unirest.Config.<init>(Unknown Source)
	at org.jabref.merged.module/kong.unirest.Unirest.<clinit>(Unknown Source)
	at org.jabref/org.jabref.Globals.stopBackgroundTasks(Unknown Source)
	at org.jabref/org.jabref.JabRefMain.stop(Unknown Source)
	at org.jabref.merged.module/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$10(Unknown Source)
	at org.jabref.merged.module/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source)
	at org.jabref.merged.module/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at org.jabref.merged.module/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
	at org.jabref.merged.module/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at org.jabref.merged.module/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at org.jabref.merged.module/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	... 1 more
jabref --version  5,59s user 0,34s system 22% cpu 25,907 total

Steps to reproduce the behavior:

  1. Install JabRef
  2. Try running JabRef
@Siedlerchr
Copy link
Member

Thank you for reporting this issue. We think, that is already fixed in our development version and consequently the change will be included in the next release.

We would like to ask you to use a development build from https://builds.jabref.org/master and report back if it works for you. Please remember to make a backup of your library before trying-out this version.

@homocomputeris
Copy link
Author

JabRef 5.0-beta.421--2020-02-14--ec93ad3 launches

koppor pushed a commit that referenced this issue Mar 15, 2022
6a7b708 Create studi-slavistici-rivista-dellassociazione-italiana-degli-slavi… (#5911)
f33d416 Create mary-ann-liebert-harvard.csl (#5957)
541fc9b Create journal-of-macromarketing.csl (#5960)
53d6317 Update harvard-limerick.csl (#5951)
793fb95 Update bluebook-law-review.csl (#5953)
f074a14 Update harvard-university-of-bath.csl (#5950)
d9a8275 Create interkulturelle-germanistik-gottingen.csl (#5947)
82c5cf7 Bump nokogiri from 1.12.5 to 1.13.2 (#5930)
f8d7dfa Create advanced-pharmaceutical-bulletin.csl (#5933)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 6a7b708
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants