dneves / gitlab-integration-plugin

Intellij Plugin for GitLab Integration
MIT License
37 stars 14 forks source link

Not working anymore on PHPSTORM 2017.2.1 #17

Open alanalvarado opened 7 years ago

alanalvarado commented 7 years ago

When I start the plugin it says

java.net.MalformedURLException: no protocol: gitlab.com/api/v3/users?private_token=

dneves commented 7 years ago

Hi,

prefix your url with http or https in preferences.

Thank you,

Diogo Neves

2017-08-14 23:18 GMT+01:00 Alan Alvarado notifications@github.com:

When I start the plugin it says

java.net.MalformedURLException: no protocol: gitlab.com/api/v3/users? private_token=

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dneves/gitlab-integration-plugin/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCqy9gg7OLKfVTrsAZlncJr_CMXbfF2ks5sYMeggaJpZM4O299D .

alanalvarado commented 7 years ago

Thank you very much for your fast response.

After adding the prefix i got this error. I am on Mac OSX El Capitan

java.io.EOFException: No content to map to Object due to end of input java.lang.Error: java.io.EOFException: No content to map to Object due to end of input at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:218) at org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:174) at org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:143) at org.gitlab.api.GitlabAPI.getUsers(GitlabAPI.java:96) at com.neon.intellij.plugins.gitlab.controller.GLFacade.getUsers(GLFacade.java:90) at com.neon.intellij.plugins.gitlab.controller.GLIController.getUsers(GLIController.java:63) at com.neon.intellij.plugins.gitlab.controller.task.GetUsersTask.run(GetUsersTask.java:34) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:343) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.EOFException: No content to map to Object due to end of input at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2775) at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1863) at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:287) at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:39) at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:211) ... 19 more

java.lang.Error: java.io.EOFException: No content to map to Object due to end of input at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:218) at org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:174) at org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:143) at org.gitlab.api.GitlabAPI.getProjects(GitlabAPI.java:192) at com.neon.intellij.plugins.gitlab.controller.GLFacade.getProjects(GLFacade.java:55) at com.neon.intellij.plugins.gitlab.controller.GLIController.getProjects(GLIController.java:55) at com.neon.intellij.plugins.gitlab.controller.task.GetProjectsTask.run(GetProjectsTask.java:34) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:343) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.EOFException: No content to map to Object due to end of input at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2775) at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1863) at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:287) at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:39) at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:211) ... 19 more

dneves commented 5 years ago

could you try this with the latest plugin version (1.1.0) ? thank you