{"action":"created","issue":{"url":"https://api.github.com/repos/EvoSuite/evosuite/issues/16","repository_url":"https://api.github.com/repos/EvoSuite/evosuite","labels_url":"https://api.github.com/repos/EvoSuite/evosuite/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/EvoSuite/evosuite/issues/16/comments","events_url":"https://api.github.com/repos/EvoSuite/evosuite/issues/16/events","html_url":"https://github.com/EvoSuite/evosuite/issues/16","id":132183638,"number":16,"title":"IntelliJ 15 ArrayIndexOutOfBoundsException","user":{"login":"void01","id":17126133,"avatar_url":"https://avatars.githubusercontent.com/u/17126133?v=3","gravatar_id":"","url":"https://api.github.com/users/void01","html_url":"https://github.com/void01","followers_url":"https://api.github.com/users/void01/followers","following_url":"https://api.github.com/users/void01/following{/other_user}","gists_url":"https://api.github.com/users/void01/gists{/gist_id}","starred_url":"https://api.github.com/users/void01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/void01/subscriptions","organizations_url":"https://api.github.com/users/void01/orgs","repos_url":"https://api.github.com/users/void01/repos","events_url":"https://api.github.com/users/void01/events{/privacy}","received_events_url":"https://api.github.com/users/void01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-08T16:07:56Z","updated_at":"2016-05-11T08:20:34Z","closed_at":null,"body":"Issue with IntelliJ EvoSuite plugin.\r\nSteps to reproduce:\r\n1) Right click within a method \r\n2) Select Run EvoSuite\r\n3) Exception thrown:\r\n```\r\njava.lang.ArrayIndexOutOfBoundsException: 0\r\n\tat org.evosuite.intellij.util.Utils.getFolderLocation(Utils.java:61)\r\n\tat org.evosuite.intellij.EvoAction.getCUTsToTest(EvoAction.java:139)\r\n\tat org.evosuite.intellij.EvoAction.actionPerformed(EvoAction.java:84)\r\n\tat com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:311)\r\n\tat com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)\r\n\tat com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:281)\r\n\tat javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)\r\n\tat com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:513)\r\n\tat com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)\r\n\tat com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)\r\n\tat java.awt.Component.processMouseEvent(Component.java:6543)\r\n\tat javax.swing.JComponent.processMouseEvent(JComponent.java:3324)\r\n\tat java.awt.Component.processEvent(Component.java:6308)\r\n\tat java.awt.Container.processEvent(Container.java:2235)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4899)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2293)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4721)\r\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4897)\r\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)\r\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4461)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2279)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2750)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4721)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:702)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:696)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:724)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:722)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:721)\r\n\tat com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:861)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:645)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:380)\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```"},"comment":{"url":"https://api.github.com/repos/EvoSuite/evosuite/issues/comments/218393185","html_url":"https://github.com/EvoSuite/evosuite/issues/16#issuecomment-218393185","issue_url":"https://api.github.com/repos/EvoSuite/evosuite/issues/16","id":218393185,"user":{"login":"arcuri82","id":14858082,"avatar_url":"https://avatars.githubusercontent.com/u/14858082?v=3","gravatar_id":"","url":"https://api.github.com/users/arcuri82","html_url":"https://github.com/arcuri82","followers_url":"https://api.github.com/users/arcuri82/followers","following_url":"https://api.github.com/users/arcuri82/following{/other_user}","gists_url":"https://api.github.com/users/arcuri82/gists{/gist_id}","starred_url":"https://api.github.com/users/arcuri82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcuri82/subscriptions","organizations_url":"https://api.github.com/users/arcuri82/orgs","repos_url":"https://api.github.com/users/arcuri82/repos","events_url":"https://api.github.com/users/arcuri82/events{/privacy}","received_events_url":"https://api.github.com/users/arcuri82/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T08:20:34Z","updated_at":"2016-05-11T08:20:34Z","body":"Hi @Kavya7 ,\r\n  I have been unable to reproduce this issue, even on different machines :( \r\nCan you please specify which OS, IntellIJ, EvoSuite and JDK versions you are using?  If you are working on an open-source project, can you provide the link? Problem is that at the moment I am not even sure if it is a configuration issue or something special in the tested project that leads to  this error\r\n\r\ncheers\r\n\r\nAndrea"}}