DBVisualizer 7.0.5启动出错
DB2启动是报以下错误,导致无法使用:
An internal error occurred:
java.lang.ClassCastException: javax.swing.KeyStroke cannot be cast to java.lang.Comparable
The error may have affected the application state.
Please notify vendor.
Stack Trace:
java.lang.ClassCastException: javax.swing.KeyStroke cannot be cast to java.lang.Comparable
at java.util.TreeMap.compare(Unknown Source)
at java.util.TreeMap.put(Unknown Source)
at java.util.TreeSet.add(Unknown Source)
at com.onseven.dbvis.K.E.ā(Z:2561)
at com.onseven.dbvis.U.A.J$B.<init>(Z:3492)
at com.onseven.dbvis.U.A.J.<init>(Z:210)
at com.onseven.dbvis.U.C.?(Z:309)
at com.onseven.dbvis.U.C.?(Z:3076)
at com.onseven.dbvis.U.C.<init>(Z:270)
at com.onseven.dbvis.U.F.?(Z:3093)
at com.onseven.dbvis.U.F.<init>(Z:217)
at com.onseven.dbvis.DbVisualizerGUI$2$1.ā(Z:3020)
at se.pureit.swing.A.O$2.run(Z:1192)
at java.lang.Thread.run(Unknown Source)
错误原因:是因为更新了JDK7所造成的。
解决办法:卸载掉JDK7,就可以了。