gephi/trunk — Issue #114: Timestamps not supported in dynamic mode: java.lang.ArithmeticException
Author: mbastian
Created: 2011-10-22 16:42:44+00:00
State: open
Labels: gexf, Invalid, Medium, timeline

Way to reproduce:
1. Open the attached dataset
2. Open the Timeline

The nodes have start attributes like "1208119831". Note that the value reported by the exception does not exist in the dataset. Illegal cast?

java.lang.ArithmeticException: Value cannot fit in an int: 55615500677
at org.joda.time.field.FieldUtils.safeToInt(FieldUtils.java:187)
at org.joda.time.field.BaseDurationField.getDifference(BaseDurationField.java:140)
at org.joda.time.chrono.ZonedChronology$ZonedDurationField.getDifference(ZonedChronology.java:331)
at org.joda.time.chrono.BaseChronology.get(BaseChronology.java:260)
at org.joda.time.base.BasePeriod.(BasePeriod.java:100)
at org.joda.time.Period.(Period.java:463)
at org.joda.time.base.AbstractInterval.toPeriod(AbstractInterval.java:433)
at org.gephi.ui.timeline.plugin.drawers.minimal.MinimalDrawer.paintUpperRulerForInterval(MinimalDrawer.java:393)
at org.gephi.ui.timeline.plugin.drawers.minimal.MinimalDrawer.paintComponent(MinimalDrawer.java:337)
at javax.swing.JComponent.paint(JComponent.java:1029)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at org.netbeans.swing.tabcontrol.TabbedContainer.paint(TabbedContainer.java:956)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:325)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
at javax.swing.JComponent.paintChildren(JComponent.java:862)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278)
at javax.swing.RepaintManager.paint(RepaintManager.java:1224)
at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:785)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)