{"action":"created","issue":{"url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/1175","repository_url":"https://api.github.com/repos/jabbink/PokemonGoBot","labels_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/1175/labels{/name}","comments_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/1175/comments","events_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/1175/events","html_url":"https://github.com/jabbink/PokemonGoBot/issues/1175","id":172123325,"number":1175,"title":"Anyway to run the bot again without restarting computer?","user":{"login":"IgnitEngineer","id":20873989,"avatar_url":"https://avatars.githubusercontent.com/u/20873989?v=3","gravatar_id":"","url":"https://api.github.com/users/IgnitEngineer","html_url":"https://github.com/IgnitEngineer","followers_url":"https://api.github.com/users/IgnitEngineer/followers","following_url":"https://api.github.com/users/IgnitEngineer/following{/other_user}","gists_url":"https://api.github.com/users/IgnitEngineer/gists{/gist_id}","starred_url":"https://api.github.com/users/IgnitEngineer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgnitEngineer/subscriptions","organizations_url":"https://api.github.com/users/IgnitEngineer/orgs","repos_url":"https://api.github.com/users/IgnitEngineer/repos","events_url":"https://api.github.com/users/IgnitEngineer/events{/privacy}","received_events_url":"https://api.github.com/users/IgnitEngineer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jabbink/PokemonGoBot/labels/incomplete%20issue","name":"incomplete issue","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-19T12:43:40Z","updated_at":"2016-08-21T02:05:37Z","closed_at":null,"body":"Hey guys, whenever i stop running the bot and try to start it again, this is what happens:\r\n\r\n> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:104)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:61)\r\n\tat org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)\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:498)\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)\r\n\t... 3 more\r\nCaused by: java.lang.RuntimeException: java.net.BindException: Address already in use\r\n\tat io.undertow.Undertow.start(Undertow.java:186)\r\n\tat org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start(UndertowEmbeddedServletContainer.java:121)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)\r\n\tat org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:306)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)\r\n\tat ink.abb.pogo.scraper.MainKt.main(Main.kt:89)\r\n\t... 8 more\r\nCaused by: java.net.BindException: Address already in use\r\n\tat sun.nio.ch.Net.bind0(Native Method)\r\n\tat sun.nio.ch.Net.bind(Net.java:433)\r\n\tat sun.nio.ch.Net.bind(Net.java:425)\r\n\tat sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)\r\n\tat sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)\r\n\tat org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)\r\n\tat org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)\r\n\tat io.undertow.Undertow.start(Undertow.java:142)\r\n\t... 19 more\r\n\r\nI just want to know if anyone knows how to fix this without restarting computer?\r\nI try to use lsof to find the ports to kill but there ware too many!"},"comment":{"url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/comments/241234581","html_url":"https://github.com/jabbink/PokemonGoBot/issues/1175#issuecomment-241234581","issue_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/1175","id":241234581,"user":{"login":"Muwai","id":18372454,"avatar_url":"https://avatars.githubusercontent.com/u/18372454?v=3","gravatar_id":"","url":"https://api.github.com/users/Muwai","html_url":"https://github.com/Muwai","followers_url":"https://api.github.com/users/Muwai/followers","following_url":"https://api.github.com/users/Muwai/following{/other_user}","gists_url":"https://api.github.com/users/Muwai/gists{/gist_id}","starred_url":"https://api.github.com/users/Muwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Muwai/subscriptions","organizations_url":"https://api.github.com/users/Muwai/orgs","repos_url":"https://api.github.com/users/Muwai/repos","events_url":"https://api.github.com/users/Muwai/events{/privacy}","received_events_url":"https://api.github.com/users/Muwai/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T02:05:37Z","updated_at":"2016-08-21T02:05:37Z","body":"@IgnitEngineer \r\n\r\nType this into Terminal:\r\n\r\nlsof -n -i4TCP:8080\r\n\r\nNow type: kill -9 PID\r\n\r\nPID = the Process ID that the first command gave you.\r\n\r\nNow type the regular command: java -jar PokemonGoBot-0.6.0.jar\r\n\r\nIt happens to me when my Mac is using a Java process such as Oldschool Runescape. Works every time."}}
{"actor":{"display_login":"Muwai"}}