DeepEmailMiner-v1-source.zipからhttp://sourceforge.net/projects/deepemailminer/files/DeepEmailMiner/Version%20v1/をダウンロードしました。DeepEmailminer appをexcuteする方法
しかし、私はnet.sf.deepmailminerパッケージにDeepMailMiner.javaを実行しようとすると、それは繰り返し、次のエラーメッセージ表示:
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.awt.geom.Path2D$Double cannot be cast to java.awt.geom.GeneralPath
at edu.uci.ics.jung.visualization.PluggableRenderer.drawSimpleEdge(PluggableRenderer.java:757)
at edu.uci.ics.jung.visualization.PluggableRenderer.paintEdge(PluggableRenderer.java:663)
at edu.uci.ics.jung.visualization.VisualizationViewer.renderGraph(VisualizationViewer.java:783)
at edu.uci.ics.jung.visualization.VisualizationViewer.paintComponent(VisualizationViewer.java:720)
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.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.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.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)
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 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)
私はPluggableRenderer.javaとVisualizationViewer.javaクラスでチェックしなかったが、しているが助けてください。
net.sf.deepmailminerパッケージで "DeepEmailMiner.java"を起動したときに最初にレンダリングされる "SampleEmailGraph.java"に問題があると思います。
問題を解決して問題を解決してください。
最初のアップ - 'PluggableRenderer.java'ファイルの#757行目には何がありますか?あなたは**悪い**キャストがそこにあるのを見ますか? – anirvan