Bios-Marcel / ServerBrowser

SA-MP Server Browser including some extra functions
Mozilla Public License 2.0
21 stars 8 forks source link

For input string: "" #68

Closed Bios-Marcel closed 6 years ago

Bios-Marcel commented 6 years ago

Description of the Problem

I dunno, I just switched from "all" to "favourites".

Error message

For input string: ""

Full stacktrace

java.lang.NumberFormatException: For input string: ""
    NumberFormatException.forInputString(NumberFormatException:65)
    Integer.parseInt(Integer:592)
    Integer.parseInt(Integer:615)
    at com.msc.serverbrowser.gui.controllers.implementations.ServerListController$setPlayerComparator$1.compare(ServerListController:226)
    at com.msc.serverbrowser.gui.controllers.implementations.ServerListController$setPlayerComparator$1.compare(ServerListController:48)
    TableColumnComparatorBase$TableColumnComparator.doCompare(TableColumnComparatorBase:123)
    TableColumnComparatorBase.compare(TableColumnComparatorBase:63)
    SortedList$ElementComparator.compare(SortedList:294)
    SortedList$ElementComparator.compare(SortedList:283)
    Arrays.binarySearch0(Arrays:2545)
    Arrays.binarySearch(Arrays:2530)
    SortedList.findPosition(SortedList:326)
    SortedList.insertToMapping(SortedList:331)
    SortedList.addRemove(SortedList:401)
    SortedList.sourceChanged(SortedList:108)
    TransformationList.lambda$getListener$0(TransformationList:106)
    WeakListChangeListener.onChanged(WeakListChangeListener:88)
    ListListenerHelper$SingleChange.fireValueChangedEvent(ListListenerHelper:164)
    ListListenerHelper.fireValueChangedEvent(ListListenerHelper:73)
    ObservableListBase.fireChange(ObservableListBase:233)
    ListChangeBuilder.commit(ListChangeBuilder:482)
    ListChangeBuilder.endChange(ListChangeBuilder:541)
    ObservableListBase.endChange(ObservableListBase:205)
    FilteredList.sourceChanged(FilteredList:147)
    TransformationList.lambda$getListener$0(TransformationList:106)
    WeakListChangeListener.onChanged(WeakListChangeListener:88)
    ListListenerHelper$SingleChange.fireValueChangedEvent(ListListenerHelper:164)
    ListListenerHelper.fireValueChangedEvent(ListListenerHelper:73)
    ObservableListBase.fireChange(ObservableListBase:233)
    ListChangeBuilder.commit(ListChangeBuilder:482)
    ListChangeBuilder.endChange(ListChangeBuilder:541)
    ObservableListBase.endChange(ObservableListBase:205)
    ModifiableObservableListBase.add(ModifiableObservableListBase:155)
    AbstractList.add(AbstractList:108)
    at com.msc.serverbrowser.gui.components.SampServerTable.add(SampServerTable:323)
    at com.msc.serverbrowser.gui.components.SampServerTable.addAll(SampServerTable:332)
    at com.msc.serverbrowser.gui.controllers.implementations.ServerListController.toggleMode(ServerListController:176)
    at com.msc.serverbrowser.gui.controllers.implementations.ServerListController.toggleHistoryMode(ServerListController:149)
    at com.msc.serverbrowser.gui.controllers.implementations.ServerListController.access$toggleHistoryMode(ServerListController:48)
    at com.msc.serverbrowser.gui.controllers.implementations.ServerListController$initialize$$inlined$with$lambda$6.handle(ServerListController:124)
    at com.msc.serverbrowser.gui.controllers.implementations.ServerListController$initialize$$inlined$with$lambda$6.handle(ServerListController:48)
    CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler:86)
    EventHandlerManager.dispatchBubblingEvent(EventHandlerManager:238)
    EventHandlerManager.dispatchBubblingEvent(EventHandlerManager:191)
    CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher:59)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:58)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    EventUtil.fireEventImpl(EventUtil:74)
    EventUtil.fireEvent(EventUtil:49)
    Event.fireEvent(Event:198)
    Node.fireEvent(Node:8413)
    ToggleButton.fire(ToggleButton:256)
    RadioButton.fire(RadioButton:113)
    ButtonBehavior.mouseReleased(ButtonBehavior:182)
    BehaviorSkinBase$1.handle(BehaviorSkinBase:96)
    BehaviorSkinBase$1.handle(BehaviorSkinBase:89)
    CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler:218)
    CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler:80)
    EventHandlerManager.dispatchBubblingEvent(EventHandlerManager:238)
    EventHandlerManager.dispatchBubblingEvent(EventHandlerManager:191)
    CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher:59)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:58)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    BasicEventDispatcher.dispatchEvent(BasicEventDispatcher:56)
    EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl:114)
    EventUtil.fireEventImpl(EventUtil:74)
    EventUtil.fireEvent(EventUtil:54)
    Event.fireEvent(Event:198)
    Scene$MouseHandler.process(Scene:3757)
    Scene$MouseHandler.access$1500(Scene:3485)
    Scene.impl_processMouseEvent(Scene:1762)
    Scene$ScenePeerListener.mouseEvent(Scene:2494)
    GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler:394)
    GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler:295)
    AccessController.doPrivileged(Native Method)
    GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler:432)
    QuantumToolkit.runWithoutRenderLock(QuantumToolkit:389)
    GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler:431)
    View.handleMouseEvent(View:555)
    View.notifyMouse(View:937)
    GtkApplication._runLoop(Native Method)
    GtkApplication.lambda$null$5(GtkApplication:139)
    Thread.run(Thread:748)

Additional information

Operating system: Linux, 4.17.11-84.current, amd64 Java: OpenJDK 64-Bit Server VM (1.8.0_172-solus-b00) by Oracle Corporation