{"action":"created","issue":{"url":"https://api.github.com/repos/phrack/ShootOFF/issues/262","labels_url":"https://api.github.com/repos/phrack/ShootOFF/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/phrack/ShootOFF/issues/262/comments","events_url":"https://api.github.com/repos/phrack/ShootOFF/issues/262/events","html_url":"https://github.com/phrack/ShootOFF/issues/262","id":114507580,"number":262,"title":"Exception when setting projection arena screen","user":{"login":"cbdmaul","id":5543934,"avatar_url":"https://avatars.githubusercontent.com/u/5543934?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdmaul","html_url":"https://github.com/cbdmaul","followers_url":"https://api.github.com/users/cbdmaul/followers","following_url":"https://api.github.com/users/cbdmaul/following{/other_user}","gists_url":"https://api.github.com/users/cbdmaul/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdmaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdmaul/subscriptions","organizations_url":"https://api.github.com/users/cbdmaul/orgs","repos_url":"https://api.github.com/users/cbdmaul/repos","events_url":"https://api.github.com/users/cbdmaul/events{/privacy}","received_events_url":"https://api.github.com/users/cbdmaul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phrack/ShootOFF/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"phrack","id":174818,"avatar_url":"https://avatars.githubusercontent.com/u/174818?v=3","gravatar_id":"","url":"https://api.github.com/users/phrack","html_url":"https://github.com/phrack","followers_url":"https://api.github.com/users/phrack/followers","following_url":"https://api.github.com/users/phrack/following{/other_user}","gists_url":"https://api.github.com/users/phrack/gists{/gist_id}","starred_url":"https://api.github.com/users/phrack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phrack/subscriptions","organizations_url":"https://api.github.com/users/phrack/orgs","repos_url":"https://api.github.com/users/phrack/repos","events_url":"https://api.github.com/users/phrack/events{/privacy}","received_events_url":"https://api.github.com/users/phrack/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/phrack/ShootOFF/milestones/6","html_url":"https://github.com/phrack/ShootOFF/milestones/3.5%20Autocalibration,%20QA%20Infrastructure","labels_url":"https://api.github.com/repos/phrack/ShootOFF/milestones/6/labels","id":1337187,"number":6,"title":"3.5 Autocalibration, QA Infrastructure","description":"Autocalibration for the projector arena, continuous integration, and error reporting tools.","creator":{"login":"phrack","id":174818,"avatar_url":"https://avatars.githubusercontent.com/u/174818?v=3","gravatar_id":"","url":"https://api.github.com/users/phrack","html_url":"https://github.com/phrack","followers_url":"https://api.github.com/users/phrack/followers","following_url":"https://api.github.com/users/phrack/following{/other_user}","gists_url":"https://api.github.com/users/phrack/gists{/gist_id}","starred_url":"https://api.github.com/users/phrack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phrack/subscriptions","organizations_url":"https://api.github.com/users/phrack/orgs","repos_url":"https://api.github.com/users/phrack/repos","events_url":"https://api.github.com/users/phrack/events{/privacy}","received_events_url":"https://api.github.com/users/phrack/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":12,"state":"open","created_at":"2015-10-04T23:33:28Z","updated_at":"2015-11-07T17:12:27Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2015-11-02T01:31:55Z","updated_at":"2015-11-07T19:00:15Z","closed_at":"2015-11-07T17:12:27Z","body":"Related to 3ce9c66b929bd2dd940f4f8086c9be64335af933\r\n\r\nMy secondary monitor appears to be a negative offset (up and left) from my primary.  When I enabled the projection arena, it maximized on my primary display, not my secondary.  Moving it to the secondary caused the exception below.\r\n\r\nshootoff.properties:\r\n\r\nshootoff.arena.y=150.0\r\nshootoff.arena.x=-1395.0\r\n\r\nException that I get when I moved the arena from the primary to the secondary and full screened it:\r\n\r\nException in thread \"JavaFX Application Thread\" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\r\n\tat javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1770)\r\n\tat javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1653)\r\n\tat com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)\r\n\tat com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)\r\n\tat com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)\r\n\tat com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)\r\n\tat com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)\r\n\tat com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)\r\n\tat com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)\r\n\tat com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)\r\n\tat com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)\r\n\tat com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)\r\n\tat com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)\r\n\tat com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)\r\n\tat javafx.event.Event.fireEvent(Event.java:198)\r\n\tat javafx.scene.Scene$KeyHandler.process(Scene.java:3965)\r\n\tat javafx.scene.Scene$KeyHandler.access$1800(Scene.java:3911)\r\n\tat javafx.scene.Scene.impl_processKeyEvent(Scene.java:2040)\r\n\tat javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2502)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:197)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:147)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$349(GlassViewEventHandler.java:228)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler$$Lambda$392/108230258.get(Unknown Source)\r\n\tat com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:404)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:227)\r\n\tat com.sun.glass.ui.View.handleKeyEvent(View.java:546)\r\n\tat com.sun.glass.ui.View.notifyKey(View.java:956)\r\n\tat com.sun.glass.ui.win.WinApplication._runLoop(Native Method)\r\n\tat com.sun.glass.ui.win.WinApplication.lambda$null$145(WinApplication.java:101)\r\n\tat com.sun.glass.ui.win.WinApplication$$Lambda$36/2117255219.run(Unknown Source)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)\r\n\tat sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)\r\n\tat javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1765)\r\n\t... 31 more\r\nCaused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\r\n\tat java.util.ArrayList.rangeCheck(ArrayList.java:653)\r\n\tat java.util.ArrayList.get(ArrayList.java:429)\r\n\tat com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:89)\r\n\tat com.shootoff.gui.controller.ProjectorArenaController.getArenaHomeScreen(ProjectorArenaController.java:102)\r\n\tat com.shootoff.gui.controller.ProjectorArenaController.canvasKeyPressed(ProjectorArenaController.java:236)\r\n\t... 41 more\r\nException in thread \"JavaFX Application Thread\" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\r\n\tat javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1770)\r\n\tat javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1653)\r\n\tat com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)\r\n\tat com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)\r\n\tat com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)\r\n\tat com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)\r\n\tat com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)\r\n\tat com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)\r\n\tat com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)\r\n\tat com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)\r\n\tat com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)\r\n\tat com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)\r\n\tat com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)\r\n\tat com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)\r\n\tat javafx.event.Event.fireEvent(Event.java:198)\r\n\tat javafx.scene.Scene$KeyHandler.process(Scene.java:3965)\r\n\tat javafx.scene.Scene$KeyHandler.access$1800(Scene.java:3911)\r\n\tat javafx.scene.Scene.impl_processKeyEvent(Scene.java:2040)\r\n\tat javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2502)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:197)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:147)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$349(GlassViewEventHandler.java:228)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler$$Lambda$392/108230258.get(Unknown Source)\r\n\tat com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:404)\r\n\tat com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:227)\r\n\tat com.sun.glass.ui.View.handleKeyEvent(View.java:546)\r\n\tat com.sun.glass.ui.View.notifyKey(View.java:956)\r\n\tat com.sun.glass.ui.win.WinApplication._runLoop(Native Method)\r\n\tat com.sun.glass.ui.win.WinApplication.lambda$null$145(WinApplication.java:101)\r\n\tat com.sun.glass.ui.win.WinApplication$$Lambda$36/2117255219.run(Unknown Source)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)\r\n\tat sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)\r\n\tat javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1765)\r\n\t... 31 more\r\nCaused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\r\n\tat java.util.ArrayList.rangeCheck(ArrayList.java:653)\r\n\tat java.util.ArrayList.get(ArrayList.java:429)\r\n\tat com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:89)\r\n\tat com.shootoff.gui.controller.ProjectorArenaController.getArenaHomeScreen(ProjectorArenaController.java:102)\r\n\tat com.shootoff.gui.controller.ProjectorArenaController.canvasKeyPressed(ProjectorArenaController.java:236)\r\n\t... 41 more"},"comment":{"url":"https://api.github.com/repos/phrack/ShootOFF/issues/comments/154740063","html_url":"https://github.com/phrack/ShootOFF/issues/262#issuecomment-154740063","issue_url":"https://api.github.com/repos/phrack/ShootOFF/issues/262","id":154740063,"user":{"login":"cbdmaul","id":5543934,"avatar_url":"https://avatars.githubusercontent.com/u/5543934?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdmaul","html_url":"https://github.com/cbdmaul","followers_url":"https://api.github.com/users/cbdmaul/followers","following_url":"https://api.github.com/users/cbdmaul/following{/other_user}","gists_url":"https://api.github.com/users/cbdmaul/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdmaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdmaul/subscriptions","organizations_url":"https://api.github.com/users/cbdmaul/orgs","repos_url":"https://api.github.com/users/cbdmaul/repos","events_url":"https://api.github.com/users/cbdmaul/events{/privacy}","received_events_url":"https://api.github.com/users/cbdmaul/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T19:00:15Z","updated_at":"2015-11-07T19:00:15Z","body":"No it's exactly where you'd expect it to be.\r\n\r\nMaybe there is a delay on the move being executed you need to account for?"}}