gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #02183
[Bug 546983] Re: ClassCastException when using Ranking
Stack trace:
java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Integer
at java.lang.Integer.compareTo(Integer.java:37)
at org.gephi.ranking.impl.RankingFactory.getMin(RankingFactory.java:176)
at org.gephi.ranking.impl.RankingFactory.setMinMax(RankingFactory.java:148)
at org.gephi.ranking.impl.RankingFactory.getNodeAttributeRanking(RankingFactory.java:49)
at org.gephi.ranking.impl.RankingModelImpl.getNodeRanking(RankingModelImpl.java:215)
at org.gephi.desktop.ranking.RankingChooser.refreshModel(RankingChooser.java:154)
at org.gephi.desktop.ranking.RankingChooser$3.stateChanged(RankingChooser.java:100)
at org.gephi.ranking.impl.RankingModelImpl.fireChangeEvent(RankingModelImpl.java:283)
at org.gephi.ranking.impl.RankingModelImpl$2.actionPerformed(RankingModelImpl.java:104)
at javax.swing.Timer.fireActionPerformed(Timer.java:291)
at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
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)
--
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.
https://bugs.launchpad.net/bugs/546983
Title:
ClassCastException when using Ranking
Status in Gephi - Network exploration and manipulation:
Confirmed
Status in Gephi 0.7 series:
Incomplete
Bug description:
Way to reproduce needs to be completed.
Could be related to the data imported. A dataset where the error
appears would be good.
Stack trace:
java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double
at org.gephi.ranking.impl.RankingFactory.setMinMax(RankingFactory.java:124)
at org.gephi.ranking.impl.RankingFactory.getNodeAttributeRanking(RankingFactory.java:57)
at org.gephi.ranking.impl.RankingModelImpl.getNodeRanking(RankingModelImpl.java:124)
at org.gephi.desktop.ranking.RankingChooser.refreshSelectedRankings(RankingChooser.java:200)
at org.gephi.desktop.ranking.RankingChooser.refreshModel(RankingChooser.java:144)
at org.gephi.desktop.ranking.RankingChooser.access$500(RankingChooser.java:49)
at org.gephi.desktop.ranking.RankingChooser$3.propertyChange(RankingChooser.java:104)
at org.gephi.ranking.api.RankingUIModel.firePropertyChangeEvent(RankingUIModel.java:248)
at org.gephi.ranking.api.RankingUIModel.setNodeTransformer(RankingUIModel.java:84)
at org.gephi.desktop.ranking.RankingToolbar$2.actionPerformed(RankingToolbar.java:134)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
References