#3 export to CSV doesn't work

closed-accepted
export (1)
5
2010-09-12
2010-09-09
stargazer33
No

I load the same SAR file I attached to bug 3061871

-Open "Memory" graph
-Click "Export CSV" button (below the diagram)
-"Export CSV" dialog pops up
-enter filename and press enter
-the CSV file is not created
-this exception is thrown:

>java -Xmx700M -jar kSar-5.1.0.jar
exit
in root
WARN: color not found for tag freemem
WARN: color not found for tag freeswap
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at net.atomique.ksar.Graph.Graph.make_csv(Graph.java:218)
at net.atomique.ksar.UI.GraphView.csvButtonActionPerformed(GraphView.java:126)
at net.atomique.ksar.UI.GraphView.access$000(GraphView.java:28)
at net.atomique.ksar.UI.GraphView$1.actionPerformed(GraphView.java:71)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Discussion

    • labels: --> export
    • assigned_to: nobody --> xcherif
    • status: open --> open-accepted
     
  • Re,

    ok found the bug, i'll correct it tonight

    Regards

     
  • Hi,

    the fix to you problem has been released, if you got some time to test it

    Regards

     
    • status: open-accepted --> closed-accepted
     
  • Hi,

    see the beta3, it should fix the problem

    Regards