Skip to content

Creating a group gives Null pointer exception #4870

@bernhard-kleine

Description

@bernhard-kleine

JabRef 5.0-dev--snapshot--2019-04-08--master--3d2d61d0c
Windows 7 6.1 amd64
Java 1.8.0_201

Steps to reproduce the behavior:

  1. ...
  2. ...
  3. ...
Log File
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saving library...
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Error occurred when parsing entry: 'Error in line 1340: EOF in mid-string'. Skipped entry.
Error occurred when parsing entry: 'Error in line 1525: EOF in mid-string'. Skipped entry.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Saving library...
Deleted 1 entry.
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saving library...
Number of entries successfully imported: 1
Import canceled
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Saving library...
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saving library...
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Deleted 1 entry.
Saving library...
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saving library...
Number of entries successfully imported: 1
Import canceled
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Saving library...
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Error occurred when parsing entry: 'Error in line 373: EOF in mid-string'. Skipped entry.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Error occurred when parsing entry: 'Error in line 465: EOF in mid-string'. Skipped entry.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Error occurred when parsing entry: 'Error in line 186: EOF in mid-string'. Skipped entry.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Uncaught exception occurred in Thread[JavaFX Application Thread,5,main]
java.lang.NullPointerException
  at com.sun.javafx.scene.control.skin.ComboBoxPopupControl.positionAndShowPopup(ComboBoxPopupControl.java:197)
  at com.sun.javafx.scene.control.skin.ComboBoxPopupControl.show(ComboBoxPopupControl.java:170)
  at com.jfoenix.skins.JFXColorPickerSkin.show(JFXColorPickerSkin.java:162)
  at com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.handleControlPropertyChanged(ComboBoxBaseSkin.java:127)
  at com.jfoenix.skins.JFXColorPickerSkin.handleControlPropertyChanged(JFXColorPickerSkin.java:169)
  at com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$70(BehaviorSkinBase.java:197)
  at com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)
  at javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:89)
  at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)
  at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
  at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:72)
  at javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:103)
  at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
  at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144)
  at javafx.scene.control.ComboBoxBase.setShowing(ComboBoxBase.java:185)
  at javafx.scene.control.ComboBoxBase.show(ComboBoxBase.java:391)
  at com.sun.javafx.scene.control.behavior.ComboBoxBaseBehavior.show(ComboBoxBaseBehavior.java:286)
  at com.jfoenix.controls.behavior.JFXColorPickerBehavior.callAction(JFXColorPickerBehavior.java:69)
  at com.sun.javafx.scene.control.behavior.BehaviorBase.callActionForEvent(BehaviorBase.java:218)
  at com.sun.javafx.scene.control.behavior.ComboBoxBaseBehavior.callActionForEvent(ComboBoxBaseBehavior.java:136)
  at com.sun.javafx.scene.control.behavior.BehaviorBase.lambda$new$11(BehaviorBase.java:135)
  at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
  at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
  at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
  at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
  at javafx.event.Event.fireEvent(Event.java:198)
  at javafx.scene.Scene$KeyHandler.process(Scene.java:3964)
  at javafx.scene.Scene$KeyHandler.access$1800(Scene.java:3910)
  at javafx.scene.Scene.impl_processKeyEvent(Scene.java:2040)
  at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2501)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:217)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:149)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$352(GlassViewEventHandler.java:248)
  at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:247)
  at com.sun.glass.ui.View.handleKeyEvent(View.java:546)
  at com.sun.glass.ui.View.notifyKey(View.java:966)
  at com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method)
  at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(WinApplication.java:204)
  at com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:511)
  at com.sun.glass.ui.EventLoop.enter(EventLoop.java:107)
  at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:590)
  at javafx.stage.Stage.showAndWait(Stage.java:474)
  at javafx.scene.control.HeavyweightDialog.showAndWait(HeavyweightDialog.java:162)
  at javafx.scene.control.Dialog.showAndWait(Dialog.java:341)
  at org.jabref.gui.FXDialogService.showCustomDialogAndWait(FXDialogService.java:235)
  at org.jabref.gui.groups.GroupTreeViewModel.addNewSubgroup(GroupTreeViewModel.java:144)
  at org.jabref.gui.groups.GroupTreeView.lambda$createContextMenuForGroup$315(GroupTreeView.java:331)
  at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
  at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
  at javafx.event.Event.fireEvent(Event.java:198)
  at javafx.scene.control.MenuItem.fire(MenuItem.java:462)
  at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1405)
  at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.lambda$createChildren$343(ContextMenuContent.java:1358)
  at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
  at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
  at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
  at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
  at javafx.event.Event.fireEvent(Event.java:198)
  at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
  at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
  at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
  at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$353(GlassViewEventHandler.java:432)
  at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431)
  at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
  at com.sun.glass.ui.View.notifyMouse(View.java:937)
  at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
  at java.lang.Thread.run(Unknown Source)

Added group "Normal".
Saving library...
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Saving library...
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Opening: C:\Users\bk\AppData\Local\Temp\jabref8226089645123273317.bib
Error occurred when parsing entry: 'Error in line 10090: EOF in mid-string'. Skipped entry.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Error occurred when parsing entry: 'Error in line 9772: EOF in mid-string'. Skipped entry.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Saved library 'K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib'.
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib
Opening: K:\BuchprojektSpringer\VierteAuflage\Literatur\EndokrinologieKunde20190320VS5.0.bib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions