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

JabRef-4.0.0-dev--snapshot--2017-05-18--master--018173ebd.jar not displaying editing fields #2851

Closed
wujastyk opened this issue May 18, 2017 · 12 comments
Labels
component: entry-editor [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs platform: linux
Milestone

Comments

@wujastyk
Copy link

JabRef version 4.0.0-dev of 18 May on Linux Mint Cinnamon 18.1 (=Ubuntu 16.04)

Steps to reproduce:

  1. open JabRef (java -jar ...)
  2. select an entry and double-click it
  3. the field tabs display, but the area where the fields would be is all grey

This issue is sporadic :-(

It seems to happen reproducibly when I try to edit this entry:

@book{maas+wuja-orig-redacted,
author = {{[Name redacted]}},
title = {The Original Āsanas of Yoga},
pubstate = {inpreparation},
annotation = {http://www.cardiff.ac.uk/share/research/centres/chra/whatwedo/journal-asian-lit-and-translation.html Work in progress. It is planned to submit the finished article to the journal \emph{Asian Literature and Translation: A Journal of Religion and Culture} for consideration. The article will also appear at academia.edu},
file = {:/home/dom/Dropbox/CurrentWork/Asanas/asanas.pdf:PDF},
issn = {2051-5863},
owner = {dom},
timestamp = {2014.03.12},
}

and every entry after that.

Help/View event log doesn't work

screenshot from 2017-05-18 09-01-55

@bernhard-kleine
Copy link

I had a similar issues with the previous snapshot, however, going to the {} biblatex source and back to Required fields made the fields visible, but I took quite some time. My desktop is not the fastest but really fast.

@tobiasdiez tobiasdiez added [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs component: entry-editor labels May 18, 2017
@tobiasdiez tobiasdiez added this to the v4.0 milestone May 18, 2017
@Doc73
Copy link
Contributor

Doc73 commented May 19, 2017

Same issue: #2843

@despresT
Copy link

despresT commented May 22, 2017

I have the same issue using Xubuntu 17.04 (= to Ubuntu 17.04) with the last version of JabRef: JabRef-4.0.0-dev--snapshot--2017-05-20--master--01e854829.jar
However, for me, this happen all the time, even if I go fisrt in the {}biblatex source and go back to the fields, they are still invisibles.

The Files annotations, Related articles and {} Source BibTex are the only working fields.

@ninfito
Copy link

ninfito commented May 23, 2017

I have the same issue on OpenSuse 13.2 (jre1.8.0_131), JabRef-4.0.0-dev--snapshot--2017-05-23--master--6db383443.jar.

It seems to happen when I try to edit an item and that PDF file doesn't exist.

@Article{AuthorYear,
....
file = {:/home/user/Dropbox/OLD_FILE_DELETED.pdf:PDF},
....
}
@JabRef/developers

@Siedlerchr
Copy link
Member

Siedlerchr commented May 24, 2017

On Windows I did not encounter any problems, however, on Xubuntu I can confirm this.
This seems to be some weird problem with javafx-

I think I could reproduce this:
If I start JabRef and doubleclick on an entry with a file attached. the entry editor fields don't load and somehow all javafx thread stuff is blocked. I can no longer open any other javafx dialog.
JabRef hangs.

If I start JabRef and doubleclick on an entry with no file attached, after a few seconds the Entry Editor field load sucessfully, but I get some exceptions:

If I then click again on the entry with an attached file, it starts blocking again.

File: grouptree.css not found, attempting with camel case
java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)
java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)
java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)
java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)





@lenhard
Copy link
Member

lenhard commented May 31, 2017

@wujastyk @bernhard-kleine @Doc73 @despresT @ninfito @Siedlerchr We believe that we have fixed this issue. Can you please try out the fix here: http://builds.jabref.org/fixEntryEditor/ and report if it works for you?

@Doc73
Copy link
Contributor

Doc73 commented May 31, 2017

Thanks! It's working!

There is a small delay between the click on the bibliographic item and the appearance of entries in the editor, but it works very well.

tobiasdiez added a commit that referenced this issue May 31, 2017
* Remove setEntry method from entry editors

* Try to add scrollbar to entry editor

* Fix #2843 and #2851: entry editor works again
@tobiasdiez
Copy link
Member

Perfect! Thanks for the feedback. The fixed version is now merged into master and can be downloaded as usual from http://builds.jabref.org/master/.

@bernhard-kleine
Copy link

Editing in the editor -> Optinal fields is still hampered by the fact that no scrolling in the editor window is possible, #2847

@Siedlerchr
Copy link
Member

Siedlerchr commented May 31, 2017

@tobiasdiez I can confirm the working, but however, I still get the above listed exceptions on Xubuntu 16.x, with a desktop resolution of 2560x1440 (27"), I am using BibtexMode


java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)
java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)
java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)
java.lang.IllegalArgumentException: WIDTH * HEIGHT is too large
	at com.sun.pisces.AbstractSurface.<init>(AbstractSurface.java:43)
	at com.sun.pisces.JavaSurface.<init>(JavaSurface.java:37)
	at com.sun.prism.sw.SWRTTexture.<init>(SWRTTexture.java:51)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:135)
	at com.sun.prism.sw.SWResourceFactory.createRTTexture(SWResourceFactory.java:124)
	at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
	at java.lang.Thread.run(Thread.java:748)

@ninfito
Copy link

ninfito commented May 31, 2017

[JabRef-4.0.0-dev--snapshot--2017-05-30--fixEntryEditor--b536509f4.jar]

It's working. Thanks.

As noted by @Doc73, there is a small delay between the click on the bibliographic item and the appearance of entries in the editor, but this delay is accumulated by scrolling through several items, for example, by pressing the Up Arrow key or Page Up key. This delay can be more than 45 seconds in a database of less than 200 items.

@tobiasdiez, this is, maybe, a new issue?

On the other hand, I get the following exceptions on OpenSuse 13.2 (jre1.8.0_131) with: JabRef preferences > Appearance > Look and feel : (x) User other look and feel: Class name [com.jtattoo.plaf.texture.TextureLookAndFeel]

java.lang.RuntimeException: Requested texture dimensions (2147483647x2147483647) require dimensions (0x0) that exceed maximum texture size (16384)
at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:220)
at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:157)
at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: Requested texture dimensions (2147483647x2147483647) require dimensions (0x0) that exceed maximum texture size (16384)
at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:220)
at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:157)
at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: Requested texture dimensions (2147483647x2147483647) require dimensions (0x0) that exceed maximum texture size (16384)
at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:220)
at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:157)
at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: Requested texture dimensions (2147483647x2147483647) require dimensions (0x0) that exceed maximum texture size (16384)
at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:220)
at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:157)
at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: Requested texture dimensions (2147483647x2147483647) require dimensions (0x0) that exceed maximum texture size (16384)
at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:220)
at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:157)
at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.lang.Thread.run(Unknown Source)
File: errorconsole.fxml not found, attempting with camel case
File: errorconsole.css not found, attempting with camel case

@wujastyk
Copy link
Author

wujastyk commented May 31, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: entry-editor [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs platform: linux
Projects
None yet
Development

No branches or pull requests

8 participants