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

InvalidPathException after right-click on entry with an eprint via arXiv fetcher #6507

Closed
1 task done
MootezSaaD opened this issue May 21, 2020 · 1 comment · Fixed by #6511
Closed
1 task done
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Milestone

Comments

@MootezSaaD
Copy link
Contributor

MootezSaaD commented May 21, 2020

JabRef version JabRef 5.1--2020-05-21--950d9c0 on Windows 10

Steps to reproduce the behavior:

  1. Go to the web search pane
  2. Enter search keywords in the text field
  3. Import entry
  4. Right-click on the entry in the main table
Log File
java.nio.file.InvalidPathException: Illegal char <:> at index 4: http://arxiv.org/pdf/1911.01235v1
  at java.base/sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
  at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
  at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
  at java.base/sun.nio.fs.WindowsPath.parse(Unknown Source)
  at java.base/sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
  at java.base/java.nio.file.Path.resolve(Unknown Source)
  at org.jabref/org.jabref.model.util.FileHelper.find(Unknown Source)
  at org.jabref/org.jabref.model.util.FileHelper.lambda$find$0(Unknown Source)
  at java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
  at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
  at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  at java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)
  at org.jabref/org.jabref.model.util.FileHelper.find(Unknown Source)
  at org.jabref/org.jabref.model.util.FileHelper.find(Unknown Source)
  at org.jabref/org.jabref.gui.actions.ActionHelper.lambda$isFilePresentForSelectedEntry$3(Unknown Source)
  at java.base/java.util.Optional.map(Unknown Source)
  at com.tobiasdiez.easybind/com.tobiasdiez.easybind.optional.PreboundOptionalBinding$1.computeValue(Unknown Source)
  at com.tobiasdiez.easybind/com.tobiasdiez.easybind.optional.PreboundOptionalBinding$1.computeValue(Unknown Source)
  at [email protected]/javafx.beans.binding.ObjectBinding.get(Unknown Source)
  at [email protected]/javafx.beans.binding.ObjectExpression.getValue(Unknown Source)
  at com.tobiasdiez.easybind/com.tobiasdiez.easybind.optional.PreboundOptionalBinding$3.computeValue(Unknown Source)
  at [email protected]/javafx.beans.binding.ObjectBinding.get(Unknown Source)
  at [email protected]/javafx.beans.binding.ObjectExpression.getValue(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanExpression$2.computeValue(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanBinding.get(Unknown Source)
  at [email protected]/javafx.beans.binding.Bindings$BooleanAndBinding.computeValue(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanBinding.get(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.get(Unknown Source)
  at [email protected]/javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.get(Unknown Source)
  at [email protected]/javafx.beans.binding.Bindings$52.computeValue(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanBinding.get(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.get(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.get(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanExpression.getValue(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanExpression.getValue(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase$Listener.invalidated(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase$Listener.invalidated(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanBinding.invalidate(Unknown Source)
  at [email protected]/com.sun.javafx.binding.BindingHelperObserver.invalidated(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
  at [email protected]/javafx.beans.property.BooleanPropertyBase$Listener.invalidated(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanBinding.invalidate(Unknown Source)
  at [email protected]/javafx.beans.binding.Bindings$ShortCircuitAndInvalidator.invalidated(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.binding.BooleanBinding.invalidate(Unknown Source)
  at [email protected]/com.sun.javafx.binding.BindingHelperObserver.invalidated(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.binding.ObjectBinding.invalidate(Unknown Source)
  at [email protected]/com.sun.javafx.binding.BindingHelperObserver.invalidated(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.binding.ObjectBinding.invalidate(Unknown Source)
  at [email protected]/com.sun.javafx.binding.BindingHelperObserver.invalidated(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.ModifiableObservableListBase.setAll(Unknown Source)
  at org.jabref/org.jabref.gui.StateManager.setSelectedEntries(Unknown Source)
  at org.jabref/org.jabref.gui.BasePanel.lambda$createMainTable$1(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]/com.sun.javafx.scene.control.SelectedItemsReadOnlyObservableList.lambda$new$1(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]/com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList._endChange(Unknown Source)
  at [email protected]/javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._endChange(Unknown Source)
  at [email protected]/javafx.scene.control.ControlUtils.updateSelectedIndices(Unknown Source)
  at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.fireCustomSelectedCellsListChangeEvent(Unknown Source)
  at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.clearAndSelect(Unknown Source)
  at [email protected]/javafx.scene.control.TableView$TableViewSelectionModel.clearAndSelect(Unknown Source)
  at [email protected]/com.sun.javafx.scene.control.behavior.TableCellBehaviorBase.simpleSelect(Unknown Source)
  at [email protected]/com.sun.javafx.scene.control.behavior.TableCellBehaviorBase.doSelect(Unknown Source)
  at [email protected]/com.sun.javafx.scene.control.behavior.CellBehaviorBase.mousePressed(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.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.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._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)

@Siedlerchr Siedlerchr added the bug Confirmed bugs or reports that are very likely to be bugs label May 22, 2020
@Siedlerchr Siedlerchr added this to the v5.1 milestone May 22, 2020
@Siedlerchr Siedlerchr self-assigned this May 22, 2020
Siedlerchr added a commit that referenced this issue May 22, 2020
otherwise it will be interpreted as path which obiously fails

Fixes #6507
@Siedlerchr
Copy link
Member

Thanks for spotting the error. Is now fixed in latest dev.

@koppor koppor moved this to Done in Prioritization Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants