TheRealCDay / raptor-chess-interface

Automatically exported from code.google.com/p/raptor-chess-interface
0 stars 0 forks source link

null pointer when observing examined game #647

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.obs someone exing a game
2.they make a move
3.

What is the expected output? What do you see instead?
normal server output.
Error in exceute
java.lang.NullPointerException
    at raptor.swt.chess.controller.ObserveController.onPlayMoveSound(Unknown Source)
    at raptor.swt.chess.controller.ObserveController$1$4.execute(Unknown Source)
    at raptor.util.RaptorRunnable.run(Unknown Source)
    at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at raptor.Raptor.main(Unknown Source)

What version of the product are you using? On what operating system and
what environment?
.98u2 installed via .deb, sun java 1.6.0_24;Linux;eng. Debian testing, xfce

Please provide any additional information below.
haven't tried with openjdk yet, but has occurred on several different occasions 
now.

Original issue reported on code.google.com by Steven.v...@gmail.com on 12 Jan 2012 at 2:42

GoogleCodeExporter commented 9 years ago
It's a very common issue with sound. I'll investigate it, as this has been 
reported numerous times.

Original comment by bvk...@gmail.com on 12 Jan 2012 at 6:54

GoogleCodeExporter commented 9 years ago
I've made an attempt to fix the issue. You may use the latest build 
(http://code.google.com/p/raptor-chess-interface/wiki/HowToUseLatestBuild). It 
would be much appreciated if you'd report about the results.  

Original comment by bvk...@gmail.com on 12 Jan 2012 at 9:51

GoogleCodeExporter commented 9 years ago
double checked that i replaced the .jar and with same setup and steps, seems 
same output:

Error in exceute
java.lang.NullPointerException
    at raptor.swt.chess.controller.ObserveController.onPlayMoveSound(Unknown Source)
    at raptor.swt.chess.controller.ObserveController$1$4.execute(Unknown Source)
    at raptor.util.RaptorRunnable.run(Unknown Source)
    at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at raptor.Raptor.main(Unknown Source)

happy to keep testing.

Original comment by Steven.v...@gmail.com on 13 Jan 2012 at 3:08

GoogleCodeExporter commented 9 years ago
It could be an initial sound setup bug before r2383. Try to delete ~/.raptor 
and run it again, or you could just setup sound player manually in Preferences.

Original comment by bvk...@gmail.com on 14 Jan 2012 at 7:27

GoogleCodeExporter commented 9 years ago
tried 1.rm and 2.manual setup and 3. openjdk but still errors. but doesn't 
affect me much with workarounds. thanks for your time and great work!

Original comment by Steven.v...@gmail.com on 15 Jan 2012 at 11:58

GoogleCodeExporter commented 9 years ago
Issue 648 has been merged into this issue.

Original comment by kkpeng...@gmail.com on 21 Jan 2012 at 11:01

GoogleCodeExporter commented 9 years ago

Original comment by kkpeng...@gmail.com on 1 Feb 2012 at 6:01