SHOW:
|
|
- or go back to the newest paste.
1 | - | okt 13, 2012 2:16:26 EM com.sun.webpane.webkit.network.URLLoader doRun |
1 | + | public void exit() { |
2 | - | WARNING: Unexpected error |
2 | + | |
3 | - | java.lang.IllegalStateException: Attempt to call defer when toolkit not running |
3 | + | final Test self = this; |
4 | - | at com.sun.javafx.tk.quantum.QuantumToolkit.defer(QuantumToolkit.java:618) |
4 | + | |
5 | - | at com.sun.webpane.sg.prism.InvokerImpl.invokeOnEventThread(InvokerImpl.java:40) |
5 | + | Platform.runLater(new Runnable() { |
6 | - | at com.sun.webpane.webkit.network.URLLoader.callBack(URLLoader.java:677) |
6 | + | |
7 | - | at com.sun.webpane.webkit.network.URLLoader.didReceiveResponse(URLLoader.java:616) |
7 | + | @Override |
8 | - | at com.sun.webpane.webkit.network.URLLoader.receiveResponse(URLLoader.java:426) |
8 | + | public void run() { |
9 | - | at com.sun.webpane.webkit.network.URLLoader.doRun(URLLoader.java:135) |
9 | + | Platform.exit(); |
10 | - | at com.sun.webpane.webkit.network.URLLoader.access$000(URLLoader.java:42) |
10 | + | } |
11 | - | at com.sun.webpane.webkit.network.URLLoader$1.run(URLLoader.java:104) |
11 | + | |
12 | - | at com.sun.webpane.webkit.network.URLLoader$1.run(URLLoader.java:101) |
12 | + | }); |
13 | - | at java.security.AccessController.doPrivileged(Native Method) |
13 | + | |
14 | - | at com.sun.webpane.webkit.network.URLLoader.run(URLLoader.java:101) |
14 | + | SwingUtilities.invokeLater(new Runnable() { |
15 | - | at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) |
15 | + | |
16 | - | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) |
16 | + | @Override |
17 | - | at java.util.concurrent.FutureTask.run(Unknown Source) |
17 | + | public void run() { |
18 | - | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) |
18 | + | self.frame.dispose(); |
19 | - | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) |
19 | + | } |
20 | - | at java.lang.Thread.run(Unknown Source) |
20 | + | }); |
21 | ||
22 | } |