{"action":"opened","issue":{"url":"https://api.github.com/repos/robovm/robovm/issues/1230","labels_url":"https://api.github.com/repos/robovm/robovm/issues/1230/labels{/name}","comments_url":"https://api.github.com/repos/robovm/robovm/issues/1230/comments","events_url":"https://api.github.com/repos/robovm/robovm/issues/1230/events","html_url":"https://github.com/robovm/robovm/issues/1230","id":129222210,"number":1230,"title":"[ERROR] Couldn't start application - ArrayIndexOutOfBoundsException","user":{"login":"fechy","id":1142092,"avatar_url":"https://avatars.githubusercontent.com/u/1142092?v=3","gravatar_id":"","url":"https://api.github.com/users/fechy","html_url":"https://github.com/fechy","followers_url":"https://api.github.com/users/fechy/followers","following_url":"https://api.github.com/users/fechy/following{/other_user}","gists_url":"https://api.github.com/users/fechy/gists{/gist_id}","starred_url":"https://api.github.com/users/fechy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fechy/subscriptions","organizations_url":"https://api.github.com/users/fechy/orgs","repos_url":"https://api.github.com/users/fechy/repos","events_url":"https://api.github.com/users/fechy/events{/privacy}","received_events_url":"https://api.github.com/users/fechy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-27T17:59:51Z","updated_at":"2016-01-27T17:59:51Z","closed_at":null,"body":"It happen the first time in running debug on a simulator.\r\n````java\r\n[ERROR] Couldn't start application\r\njava.lang.ArrayIndexOutOfBoundsException: 1\r\n\tat org.robovm.compiler.target.ios.DeviceType.listDeviceTypes(DeviceType.java:124)\r\n\tat org.robovm.idea.running.RoboVmRunProfileState.customizeLaunchParameters(RoboVmRunProfileState.java:106)\r\n\tat org.robovm.idea.running.RoboVmRunProfileState.executeRun(RoboVmRunProfileState.java:49)\r\n\tat org.robovm.idea.running.RoboVmRunProfileState.startProcess(RoboVmRunProfileState.java:123)\r\n\tat com.intellij.execution.configurations.CommandLineState.execute(CommandLineState.java:80)\r\n\tat com.intellij.debugger.DefaultDebugEnvironment.createExecutionResult(DefaultDebugEnvironment.java:46)\r\n\tat com.intellij.debugger.engine.DebugProcessImpl.attachVirtualMachine(DebugProcessImpl.java:1907)\r\n\tat com.intellij.debugger.impl.DebuggerSession.attach(DebuggerSession.java:436)\r\n\tat com.intellij.debugger.impl.DebuggerSession.create(DebuggerSession.java:192)\r\n\tat com.intellij.debugger.impl.DebuggerManagerImpl.attachVirtualMachine(DebuggerManagerImpl.java:244)\r\n\tat org.robovm.idea.running.RoboVmRunner.attachVirtualMachine(RoboVmRunner.java:86)\r\n\tat org.robovm.idea.running.RoboVmRunner.doExecute(RoboVmRunner.java:70)\r\n\tat com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:43)\r\n\tat com.intellij.execution.impl.ExecutionManagerImpl$5.run(ExecutionManagerImpl.java:376)\r\n\tat com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:150)\r\n\tat com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:343)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n````\r\n\r\nThe simulator is not previously open, and nothing happen after this error.\r\nFollowing executions works as expected.\r\n\r\nSeen on Macbook Pro (El Capitan) using IntelliJ IDEA 15.0.3. Using Robovm's latest Idea plugin (1.13.0) although it happens since several version before.\r\n"}}