java.lang.IllegalArgumentException: Duplicate series added

Stack Overflow | DerpyUnKnown | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Duplicate series added

    at javafx.scene.chart.XYChart.lambda$new$550()
  2. javafx.scene.chart
    XYChart.lambda$new$550
    1. javafx.scene.chart.XYChart.lambda$new$550(Unknown Source)
    1 frame
  3. com.sun.javafx
    ListListenerHelper.fireValueChangedEvent
    1. com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
    2. com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
    2 frames
  4. javafx.collections
    ModifiableObservableListBase.addAll
    1. javafx.collections.ObservableListBase.fireChange(Unknown Source)
    2. javafx.collections.ListChangeBuilder.commit(Unknown Source)
    3. javafx.collections.ListChangeBuilder.endChange(Unknown Source)
    4. javafx.collections.ObservableListBase.endChange(Unknown Source)
    5. javafx.collections.ModifiableObservableListBase.addAll(Unknown Source)
    5 frames
  5. Java EE Connector Architecture API Specification
    Controller.startButtonClicked
    1. sample.Controller.startButtonClicked(Controller.java:138)
    1 frame
  6. Java RT
    MethodUtil.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    5. sun.reflect.misc.Trampoline.invoke(Unknown Source)
    6. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    7. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    8. java.lang.reflect.Method.invoke(Unknown Source)
    9. sun.reflect.misc.MethodUtil.invoke(Unknown Source)
    9 frames
  7. javafx.fxml
    FXMLLoader$ControllerMethodEventHandler.handle
    1. javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source)
    2. javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
    2 frames
  8. com.sun.javafx
    EventUtil.fireEvent
    1. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    2. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    4. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    5. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    6. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    7. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    8. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    9. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    10. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    11. com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    12. com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    12 frames
  9. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Unknown Source)
    1 frame
  10. javafx.scene
    Node.fireEvent
    1. javafx.scene.Node.fireEvent(Unknown Source)
    1 frame
  11. FXSampler
    Button.fire
    1. javafx.scene.control.Button.fire(Unknown Source)
    1 frame
  12. com.sun.javafx
    ButtonBehavior.mouseReleased
    1. com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
    1 frame
  13. FXSampler
    BehaviorSkinBase$1.handle
    1. com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)
    2. com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)
    2 frames
  14. com.sun.javafx
    EventUtil.fireEvent
    1. com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
    2. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    4. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    5. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    6. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    7. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    8. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    9. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    10. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    11. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    12. com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    13. com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    13 frames
  15. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Unknown Source)
    1 frame
  16. javafx.scene
    Scene$ScenePeerListener.mouseEvent
    1. javafx.scene.Scene$MouseHandler.process(Unknown Source)
    2. javafx.scene.Scene$MouseHandler.access$1500(Unknown Source)
    3. javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
    4. javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
    4 frames
  17. com.sun.javafx
    GlassViewEventHandler$MouseEventNotification.run
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
    2. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
    2 frames
  18. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  19. com.sun.javafx
    GlassViewEventHandler.handleMouseEvent
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(Unknown Source)
    2. com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
    3. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
    3 frames
  20. com.sun.glass
    WinApplication.lambda$null$148
    1. com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
    2. com.sun.glass.ui.View.notifyMouse(Unknown Source)
    3. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    4. com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
    4 frames
  21. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame