perrykm / yoyoplayer

Automatically exported from code.google.com/p/yoyoplayer
0 stars 1 forks source link

UBUNUT9.10启动错误 #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Exception in thread "main" java.lang.NullPointerException
    at 
com.hadeslee.yoyoplayer.player.ui.Main.setLocation(Main.java:579)

看了原代码后发现 
Main.java:579
if (eqWin != null && (config.isSnapEqWindow()) || !eqWin.isShowing()) {
            Point dis = config.getDisEq();

这个IF判断有问题,应该是:
if (eqWin != null && (config.isSnapEqWindow() || !eqWin.isShowing())) {

585行也是
if (lrcWin != null && (config.isSnapLrcWindow() || !lrcWin.isShowing())) {

Original issue reported on code.google.com by huansi...@gmail.com on 7 Feb 2010 at 8:28

GoogleCodeExporter commented 9 years ago
原来已经有人提供补丁了,咋还没合并进svn呢?

Original comment by zhoushu...@gmail.com on 5 Mar 2010 at 7:53