TheRealCDay / raptor-chess-interface

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

Error in ThreadService Runnable #681

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Error in ThreadService Runnable.
SWTException: Failed to execute runnable (java.lang.NullPointerException)
org.eclipse.swt.SWTException: Failed to execute runnable 
(java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
    at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
    at raptor.swt.chess.controller.AutomaticAnalysisController$1.run(Unknown Source)
    at raptor.service.ThreadService$RunnableExceptionDecorator.run(Unknown Source)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NullPointerException
    at raptor.swt.chess.controller.AutomaticAnalysisController$1$3.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)

----------------

The above problem was encountered using Raptor with Mac OS X (Lion). 

Original issue reported on code.google.com by brendanc...@gmail.com on 8 Oct 2012 at 10:52

GoogleCodeExporter commented 9 years ago
Did this happen during the start?

Original comment by bvk...@gmail.com on 19 Oct 2012 at 12:08

GoogleCodeExporter commented 9 years ago
This same error happened to me. After finishing a game, and pressing the 
analyze button, this error went up. After pressing "OK," the Analysis Settings 
button became ineffective, the dropdown empty, and the Start/Stop button 
toggles doing nothing.

Same OS.

Original comment by nathanms...@gmail.com on 31 Dec 2013 at 10:04