{"comment":{"created_at":"2011-10-22T16:52:03Z","body":"(by mathieu.bastian)\nThis bug seems to be still present, confirmed by a recent crash report. Still not clear how to reproduce.","updated_at":"2011-10-22T16:52:03Z","url":"https://api.github.com/repos/gephi/trunk/issues/comments/2491159","id":2491159,"user":{"gravatar_id":"a00ac6ca365712a2e87acee41e8f8e4e","avatar_url":"https://secure.gravatar.com/avatar/a00ac6ca365712a2e87acee41e8f8e4e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mbastian","id":234813,"login":"mbastian"}},"action":"created","issue":{"number":94,"created_at":"2011-10-22T16:42:29Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Way to reproduce needs to be completed.\n\nCould be related to the data imported. A dataset where the error appears would be good.\n\nStack trace:\njava.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double\n\tat org.gephi.ranking.impl.RankingFactory.setMinMax(RankingFactory.java:124)\n\tat org.gephi.ranking.impl.RankingFactory.getNodeAttributeRanking(RankingFactory.java:57)\n\tat org.gephi.ranking.impl.RankingModelImpl.getNodeRanking(RankingModelImpl.java:124)\n\tat org.gephi.desktop.ranking.RankingChooser.refreshSelectedRankings(RankingChooser.java:200)\n\tat org.gephi.desktop.ranking.RankingChooser.refreshModel(RankingChooser.java:144)\n\tat org.gephi.desktop.ranking.RankingChooser.access$500(RankingChooser.java:49)\n\tat org.gephi.desktop.ranking.RankingChooser$3.propertyChange(RankingChooser.java:104)\n\tat org.gephi.ranking.api.RankingUIModel.firePropertyChangeEvent(RankingUIModel.java:248)\n\tat org.gephi.ranking.api.RankingUIModel.setNodeTransformer(RankingUIModel.java:84)\n\tat org.gephi.desktop.ranking.RankingToolbar$2.actionPerformed(RankingToolbar.java:134)\n\tat javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)\n\tat javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)\n\tat javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)\n\tat javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)\n\tat javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)\n\tat java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)\n\tat java.awt.Component.processMouseEvent(Component.java:6263)\n\tat javax.swing.JComponent.processMouseEvent(JComponent.java:3267)\n\tat java.awt.Component.processEvent(Component.java:6028)\n\tat java.awt.Container.processEvent(Container.java:2041)\n\tat java.awt.Component.dispatchEventImpl(Component.java:4630)\n\tat java.awt.Container.dispatchEventImpl(Container.java:2099)\n\tat java.awt.Component.dispatchEvent(Component.java:4460)\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)\n\tat java.awt.Container.dispatchEventImpl(Container.java:2085)\n\tat java.awt.Window.dispatchEventImpl(Window.java:2475)\n\tat java.awt.Component.dispatchEvent(Component.java:4460)\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:599)\n\tat org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)","comments":1,"title":"ClassCastException when using Ranking","updated_at":"2011-10-22T16:52:03Z","url":"https://api.github.com/repos/gephi/trunk/issues/94","id":2023241,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"a00ac6ca365712a2e87acee41e8f8e4e","avatar_url":"https://secure.gravatar.com/avatar/a00ac6ca365712a2e87acee41e8f8e4e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mbastian","id":234813,"login":"mbastian"},"html_url":"https://github.com/gephi/trunk/issues/94","labels":[{"name":"Medium","url":"https://api.github.com/repos/gephi/trunk/labels/Medium","color":"ffdddd"},{"name":"ranking","url":"https://api.github.com/repos/gephi/trunk/labels/ranking","color":"ededed"},{"name":"Won_t Fix","url":"https://api.github.com/repos/gephi/trunk/labels/Won_t+Fix","color":"ddffdd"}],"state":"open"},"legacy":{"issue_id":2023241,"comment_id":2491159}}