-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Find and replace an existing group while selecting {}bibtex source leads to error #7999
Comments
Reproduction of Problem in Video: Find.and.replace.an.existing.group.while.selecting.bibtex.source.leads.to.error.7999.mp4 |
Nice! So far i can't reproduce this in JabRef 5.4--2021-11-07--d11ba36 |
JabRef 5.4--2021-11-14--96a4c0e Never mind. I was able to reproduce again. I must have forgotten a step last time i tried to reproduce. Log file 2 is interesting. Have not seen this error message before. Log File 1
Log File 2
|
Hi, I would like to fix this bug, but I used your video to reproduce and failed to reproduce. Can you restate the step? |
@Yancy10-1 texted you on gitter |
I cannot reproduce anymore on JabRef 5.6--2022-04-25--5c9d898 |
Thank you @Yancy10-1 for noticing. |
JabRef version
Latest development branch build
JabRef 5.4--2021-08-15--96061b7
Java 16.0.2
JavaFX 16+8
Operating system
Windows 10
Details on version and operating system
Windows 10, 10.0 amd64, 21H1
Checked with the latest development build
Steps to reproduce the behaviour
What happens:
Why?
Edit: I don't know
Things that seem to help:**
Additional notes
Find and replace with "Limiting to the selected entries" will lead to the same outcome and errors.
Appendix
Logs
error message 1.txt
error message 2.txt
error message 3.txt
Log File
``` java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -1 is negative at java.base/java.lang.System.arraycopy(Native Method) at [email protected]/javafx.collections.transformation.SortedList.removeFromMapping(Unknown Source) at [email protected]/javafx.collections.transformation.SortedList.addRemove(Unknown Source) at [email protected]/javafx.collections.transformation.SortedList.sourceChanged(Unknown Source) at [email protected]/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source) at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source) at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source) at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source) at [email protected]/javafx.collections.transformation.FilteredList.sourceChanged(Unknown Source) at [email protected]/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source) at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source) at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source) at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source) at [email protected]/com.tobiasdiez.easybind.MappedBackedList.sourceChanged(Unknown Source) at [email protected]/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source) at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source) at [email protected]/org.jabref.gui.util.UiThreadList.sourceChanged(Unknown Source) at [email protected]/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source) at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source) at [email protected]/javafx.collections.FXCollections$UnmodifiableObservableListImpl.lambda$new$0(Unknown Source) at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source) at [email protected]/javafx.collections.FXCollections$SynchronizedObservableList.lambda$new$0(Unknown Source) at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source) at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source) at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source) at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source) at [email protected]/com.sun.javafx.collections.ObservableListWrapper.access$200(Unknown Source) at [email protected]/com.sun.javafx.collections.ObservableListWrapper$1$1.invalidated(Unknown Source) at [email protected]/com.sun.javafx.collections.MapListenerHelper$Generic.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(Unknown Source) at [email protected]/com.sun.javafx.collections.ObservableMapWrapper.callObservers(Unknown Source) at [email protected]/com.sun.javafx.collections.ObservableMapWrapper.put(Unknown Source) at [email protected]/org.jabref.model.entry.BibEntry.setField(Unknown Source) at [email protected]/org.jabref.model.entry.BibEntry.setField(Unknown Source) at [email protected]/org.jabref.gui.edit.ReplaceStringViewModel.replaceField(Unknown Source) at [email protected]/org.jabref.gui.edit.ReplaceStringViewModel.replaceItem(Unknown Source) at [email protected]/org.jabref.gui.edit.ReplaceStringViewModel.replace(Unknown Source) at [email protected]/org.jabref.gui.edit.ReplaceStringView.buttonReplace(Unknown Source) at [email protected]/org.jabref.gui.edit.ReplaceStringView.lambda$new$0(Unknown Source) at [email protected]/org.jabref.gui.util.ControlHelper.lambda$setAction$0(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at [email protected]/javafx.event.Event.fireEvent(Unknown Source) at [email protected]/javafx.scene.Node.fireEvent(Unknown Source) at [email protected]/javafx.scene.control.Button.fire(Unknown Source) at [email protected]/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source) at [email protected]/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at [email protected]/javafx.event.Event.fireEvent(Unknown Source) at [email protected]/javafx.scene.Scene$MouseHandler.process(Unknown Source) at [email protected]/javafx.scene.Scene.processMouseEvent(Unknown Source) at [email protected]/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source) at [email protected]/com.sun.glass.ui.View.handleMouseEvent(Unknown Source) at [email protected]/com.sun.glass.ui.View.notifyMouse(Unknown Source) at [email protected]/com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method) at [email protected]/com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(Unknown Source) at [email protected]/com.sun.glass.ui.Application.enterNestedEventLoop(Unknown Source) at [email protected]/com.sun.glass.ui.EventLoop.enter(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(Unknown Source) at [email protected]/javafx.stage.Stage.showAndWait(Unknown Source) at [email protected]/javafx.scene.control.HeavyweightDialog.showAndWait(Unknown Source) at [email protected]/javafx.scene.control.Dialog.showAndWait(Unknown Source) at [email protected]/org.jabref.gui.JabRefDialogService.showCustomDialogAndWait(Unknown Source) at [email protected]/org.jabref.gui.edit.ReplaceStringAction.execute(Unknown Source) at [email protected]/org.jabref.gui.actions.JabRefAction.lambda$new$3(Unknown Source) at [email protected]/org.controlsfx.control.action.Action.handle(Unknown Source) at [email protected]/org.controlsfx.control.action.Action.handle(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at [email protected]/javafx.event.Event.fireEvent(Unknown Source) at [email protected]/javafx.scene.control.MenuItem.fire(Unknown Source) at [email protected]/com.sun.javafx.scene.control.ControlAcceleratorSupport.lambda$doAcceleratorInstall$1(Unknown Source) at [email protected]/com.sun.javafx.scene.KeyboardShortcutsHandler.processAccelerators(Unknown Source) at [email protected]/com.sun.javafx.scene.KeyboardShortcutsHandler.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at [email protected]/javafx.event.Event.fireEvent(Unknown Source) at [email protected]/javafx.scene.Scene$KeyHandler.process(Unknown Source) at [email protected]/javafx.scene.Scene.processKeyEvent(Unknown Source) at [email protected]/javafx.scene.Scene$ScenePeerListener.keyEvent(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$1(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(Unknown Source) at [email protected]/com.sun.glass.ui.View.handleKeyEvent(Unknown Source) at [email protected]/com.sun.glass.ui.View.notifyKey(Unknown Source) at [email protected]/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at [email protected]/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)The text was updated successfully, but these errors were encountered: