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

Uncaught exception occurred in Threard[JavaFX Application Thread,5,main] #6367

Closed
nonglobal opened this issue Apr 27, 2020 · 12 comments
Closed
Labels
os: linux status: stale status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@nonglobal
Copy link

nonglobal commented Apr 27, 2020

JabRef version:
JabRef 5.0--2020-03-06--2e6f433
Linux 4.18.19-100.fc27.x86_64 amd64
Java 13.0.2

This error fires each time I push a key in the "author" field.

Detalis:

java.lang.ClassCastException: class java.lang.String cannot be cast to class org.jabref.model.entry.Author (java.lang.String is in module java.base of loader 'bootstrap'; org.jabref.model.entry.Author is in module org.jabref of loader 'app')
at org.jabref/org.jabref.gui.autocompleter.PersonNameStringConverter.toString(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.cell.CellUtils.getItemText(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.cell.CellUtils.updateItem(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.cell.TextFieldListCell.updateItem(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.ListCell.updateItem(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.ListCell.indexChanged(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.IndexedCell.updateIndex(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.skin.VirtualFlow.setCellIndex(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.skin.VirtualFlow.getCell(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.skin.VirtualFlow.getCellLength(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.skin.VirtualFlow.computeViewportOffset(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.skin.VirtualFlow.layoutChildren(Unknown Source)
at org.jabref.merged.module/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module/javafx.scene.Scene.doLayoutPass(Unknown Source)
at org.jabref.merged.module/javafx.scene.Scene$2$1.doLayoutPass(Unknown Source)
at org.jabref.merged.module/javafx.scene.Scene.preferredSize(Unknown Source)
at org.jabref.merged.module/javafx.scene.Scene$2.preferredSize(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.scene.SceneHelper.preferredSize(Unknown Source)
at org.jabref.merged.module/javafx.stage.Window$12.invalidated(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
at org.jabref.merged.module/javafx.stage.Window.setShowing(Unknown Source)
at org.jabref.merged.module/javafx.stage.Window.show(Unknown Source)
at org.jabref.merged.module/javafx.stage.PopupWindow.showImpl(Unknown Source)
at org.jabref.merged.module/javafx.stage.PopupWindow.show(Unknown Source)
at org.jabref.merged.module/impl.org.controlsfx.skin.AutoCompletePopup.show(Unknown Source)
at org.jabref.merged.module/org.controlsfx.control.textfield.AutoCompletionBinding.showPopup(Unknown Source)
at org.jabref.merged.module/org.controlsfx.control.textfield.AutoCompletionBinding$FetchSuggestionsTask.lambda$call$0(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)
at java.base/java.lang.Thread.run(Unknown Source)

@Gena928
Copy link
Contributor

Gena928 commented Apr 29, 2020

@nonglobal,
please give a bit more details about reproducing the error. So, you open Jabref, click on an article, and enter a new word in "Author" field, right?
I don't see an error on my computer. What kind of entry do you have?
Screenshot 2020-04-29 at 23 20 21

@AEgit
Copy link

AEgit commented Apr 30, 2020

JabRef 5.1--2020-04-29--7219e36
Linux 5.3.0-51-generic amd64
Java 14.0.1

I cannot reproduce this issue.

@ilippert
Copy link
Contributor

ilippert commented May 2, 2020

not sure, whether this is helpful - but in the log entry I get the sense of autocompletion being involved, similar to #6344 - might that be the case?

@nonglobal
Copy link
Author

@nonglobal,
please give a bit more details about reproducing the error. So, you open Jabref, click on an article, and enter a new word in "Author" field, right?

Yes. Adding a new entry in the author field and only in author field.
It's occurs with autocomplete enable or disabled.

I don't see an error on my computer. What kind of entry do you have?

It's occurs in any kind of entry (article, book, etc.).

Screenshot 2020-04-29 at 23 20 21

Yes

@nonglobal
Copy link
Author

Same error in the "linux portable" version.
Possible Java instalation issue?

@Gena928
Copy link
Contributor

Gena928 commented May 3, 2020

Maybe. Can you reinstall it?
I have Mac computer and I can't reproduce error. I.e. everything works fine and no error messages appear.

@Siedlerchr
Copy link
Member

@nonglobal Have you tested the latest development version? https://builds.jabref.org/master/

@Siedlerchr Siedlerchr added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label May 3, 2020
@nonglobal
Copy link
Author

@nonglobal Have you tested the latest development version? https://builds.jabref.org/master/

Yes: jabref-5.1-1.x86_64.rpm
Unfortunately, i got the same error.
Same thing with portable linux version.
Maybe an error in my Java installation?

@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2020

This issue will be closed in 7 days due to inactivity 💤 Please provide the requested information if the problem persists.

@nonglobal
Copy link
Author

This issue will be closed in 7 days due to inactivity Please provide the requested information if the problem persists.

I have provided the info asked on May 4 (see me post).

Here a resumée:

  • Reinstall do not solve the problem.
  • The issue is present for me in portable and rpm versions.
  • I tested the development version (5.1-1) and I got the same error.

What else I can do for provide more information?

@nonglobal
Copy link
Author

I appreciate any help.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2020

This issue will be closed in 7 days due to inactivity 💤 Please provide the requested information if the problem persists.

koppor pushed a commit that referenced this issue Apr 1, 2023
41531558a8 Fix unsigned newspaper articles throughout Chicago 17 (#6486)
7678212826 Create trames.csl (#6479)
0cae26ac85 Update hochschule-fur-soziale-arbeit-fhnw.csl (#6480)
85c4b693a2 Update to UP Harvard Theology & Religion (#6485)
c273aa7e43 Update ieee.csl (#6481)
fe67b80e47 Update open-window.csl (#6367)
f2229705ef Create iainutuban-tarbiyah.csl (#6361)
1867a56a26 Create business-and-human-rights-journal (#6359)
1371dbdf26 Update iso690-author-date-es.csl (#6477)
6953a43efd Update ieee.csl (#6478)
f56d5ef1cc Create czech-journal-of-international-relations.csl (#6453)
678b53f99c Update harvard-stellenbosch-university.csl (#6464)
3074938038 Update ucl-university-college-apa.csl (#6475)
27dab9ea0f Update iso690-author-date-es.csl (#6476)
a8aea63d00 Create elsevier-american-chemical-society.csl (#6342)
f8f290fa63 Update iso690-author-date-es.csl (#6472)
7fdc621eee Update journal-of-neolithic-archaeology (#6466)
7025568e70 Update offa.csl (#6465)
2d69299b19 Create uni-fribourg-theologie.csl (#6473)
8db531a73e Create travail-et-emploi.csl (#6351)
c8b54fc531 Make monash-university-harvard dependent style (#6470)
b95f59ff5c Update journal-of-the-marine-biological-association-of-the-united-kingdom.csl (#6456)
a12b513119 Update universite-du-quebec-a-montreal.csl (#6463)
048e6641e4 Update zeitschrift-fur-geschichtsdidaktik.csl (#6454)
f0d3d7ef15 Update journal-fur-kulturpflanzen-journal-of-cultivated-plants.csl (#6447)
3b814fe048 Update the-accounting-review.csl (#6459)
f24befd580 Update survey-of-ophthalmology.csl from ama.csl to its own independent style (#6460)
c868ab54f6 Create vancouver-alphabetical.csl (#6461)
782e39cfe1 Update american-institute-of-physics.csl (#6457)
a56cf03e3c Fix Chicago Cases & Newspaper sorting (#6458)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 41531558a873b2533f2d17d8d6484c2408174fce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux status: stale status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

No branches or pull requests

5 participants