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

Entry Preview - Error: java.lang.IllegalArgumentException: Visible paragraphs' last index is [-1] but visibleParIndex was [0] #7891

Closed
1 task done
ThiloteE opened this issue Jul 6, 2021 · 1 comment

Comments

@ThiloteE
Copy link
Member

ThiloteE commented Jul 6, 2021

JabRef 5.3--2021-07-05--482bed7
Windows 10 10.0 amd64
Java 16.0.1
JavaFX 16+8

Errormessage

Steps to reproduce the behavior:

  1. Open Entry Preview
  2. Choose "Modern Language Association 8th edition" (not sure if generic of only this one, i did not try others)
  3. click on IEEE, then click on modern language association 8th edition, if no error yet, then click on IEEE again.
  4. error

image

Log File
java.lang.IllegalArgumentException: Visible paragraphs' last index is [-1] but visibleParIndex was [0]
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.GenericStyledArea.visibleParToAllParIndex(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.ViewActions.firstVisibleParToAllParIndex(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.LineNumberFactory.deleteParagraphCheck(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.LineNumberFactory.lambda$new$1(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.3.2/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

when i tried to do it again this happened:

image

Log File
java.lang.IndexOutOfBoundsException: 443 not in [0, 325)
  at org.jabref.merged.module@5.3.2/org.reactfx.util.Lists.checkIndex(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.reactfx.util.Lists.checkIndex(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.reactfx.collection.MemoizationListImpl.getIfMemoized(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.flowless.CellListManager.getCellIfPresent(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.flowless.CellPositioner.getCellIfVisible(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.flowless.VirtualFlow.getCellIfVisible(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.GenericStyledArea.visibleParToAllParIndex(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.ViewActions.firstVisibleParToAllParIndex(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.LineNumberFactory.deleteParagraphCheck(Unknown Source)
  at org.jabref.merged.module@5.3.2/org.fxmisc.richtext.LineNumberFactory.lambda$new$1(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
  at org.jabref.merged.module@5.3.2/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.3.2/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

@Siedlerchr
Copy link
Member

Duplicate of #7860

@Siedlerchr Siedlerchr marked this as a duplicate of #7860 Jul 6, 2021
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