heroku / heroku-eclipse-plugin

Warning: Deprecated! Heroku Eclipse plugin is a fully integrated plugin into Eclipse IDE that will allow developers to manage their Heroku apps and environment right from their favourite IDE
15 stars 9 forks source link

I'm getting java.lang.reflect.InvocationTargetException from new heroku template prjects in eclipse 3.8 OEPE #76

Open DouglasAllen opened 11 years ago

DouglasAllen commented 11 years ago

I saw that this issue is closed for imports but mine is from new projects not imports. How do I get open jdk for windows? Or does it matter? I have jdk 7_09 from Oracle.

ryanbrainard commented 11 years ago

Can you please give a little more detail and steps to reproduce the issue? As far as JDK versions, the Oracle JDK should be sufficient for local development as they are largely based on the same code.

eebyak commented 11 years ago

I have the same problem. Guessing it has to do with git somehow - but not sure how or what to fix?

'Creating new application 'SpringMVC...' has encountered a problem. Process has not exited. process has not exited java.lang.reflect.InvocationTargetException

Here is the .metadata/.log file

java.lang.reflect.InvocationTargetException at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:173) at com.heroku.eclipse.core.services.rest.RestHerokuServices.executeCloneOperation(RestHerokuServices.java:569) at com.heroku.eclipse.core.services.rest.RestHerokuServices.access$4(RestHerokuServices.java:568) at com.heroku.eclipse.core.services.rest.RestHerokuServices$9.run(RestHerokuServices.java:513) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: java.lang.IllegalThreadStateException: process has not exited at java.lang.ProcessImpl.exitValue(Unknown Source) at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.(TransportGitSsh.java:272) at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153) ... 4 more Root exception: java.lang.IllegalThreadStateException: process has not exited at java.lang.ProcessImpl.exitValue(Unknown Source) at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.(TransportGitSsh.java:272) at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153) at com.heroku.eclipse.core.services.rest.RestHerokuServices.executeCloneOperation(RestHerokuServices.java:569) at com.heroku.eclipse.core.services.rest.RestHerokuServices.access$4(RestHerokuServices.java:568) at com.heroku.eclipse.core.services.rest.RestHerokuServices$9.run(RestHerokuServices.java:513) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

jsimone commented 11 years ago

Seems like a handful of people are having this issue. Something changed on the backend maybe?

matarrese commented 11 years ago

I'm struggling with the same problem!

alexroussos commented 11 years ago

I'm also experiencing this problem, in the same circumstances. Here's a screenshot in case the scenario is unclear. I've tried the usual restart, etc. Anyone have any other ideas?

EDIT - found my problem in workspace/.metadata/.log: com.heroku.eclipse.core.services.exceptions.HerokuServiceException: You've reached the limit of 5 apps for unverified accounts.\nAdd a credit card to verify your account.

darkmuse commented 10 years ago

I'm currently getting a similar error. Windows Vista Home Premium, Java 7 JRE, Eclipse Java EE IDE for Web Developers, Version: Kepler Service Release 1, Build id: 20130919-0819

java.lang.reflect.InvocationTargetException at com.heroku.eclipse.ui.wizards.HerokuAppCreate$1.run(HerokuAppCreate.java:114) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: com.heroku.eclipse.core.services.exceptions.HerokuServiceException: com.heroku.api.exception.RequestFailedException: Failed to clone app statuscode:503 responseBody:{"id":"unavailable","error":"Could not get a logplex token for this app. Please try the request again."} at com.heroku.eclipse.core.services.rest.RestHerokuServices.runCancellableOperation(RestHerokuServices.java:1068) at com.heroku.eclipse.core.services.rest.RestHerokuServices.createAppFromTemplate(RestHerokuServices.java:418) at com.heroku.eclipse.ui.wizards.HerokuAppCreate$1.run(HerokuAppCreate.java:101) ... 1 more Caused by: com.heroku.api.exception.RequestFailedException: Failed to clone app statuscode:503 responseBody:{"id":"unavailable","error":"Could not get a logplex token for this app. Please try the request again."} at com.heroku.api.request.app.AppClone.getResponse(AppClone.java:62) at com.heroku.api.request.app.AppClone.getResponse(AppClone.java:18) at com.heroku.api.connection.JerseyClientAsyncConnection$1.handleResponse(JerseyClientAsyncConnection.java:79) at com.heroku.api.connection.JerseyClientAsyncConnection$1.get(JerseyClientAsyncConnection.java:71) at com.heroku.api.connection.JerseyClientAsyncConnection.execute(JerseyClientAsyncConnection.java:87) at com.heroku.api.HerokuAPI.cloneApp(HerokuAPI.java:211) at com.heroku.eclipse.core.services.rest.RestHerokuSession.createAppFromTemplate(RestHerokuSession.java:368) at com.heroku.eclipse.core.services.rest.RestHerokuServices$8.run(RestHerokuServices.java:430) at com.heroku.eclipse.core.services.rest.RestHerokuServices$8.run(RestHerokuServices.java:1) at com.heroku.eclipse.core.services.rest.RestHerokuServices$31.run(RestHerokuServices.java:1042) Root exception: com.heroku.eclipse.core.services.exceptions.HerokuServiceException: com.heroku.api.exception.RequestFailedException: Failed to clone app statuscode:503 responseBody:{"id":"unavailable","error":"Could not get a logplex token for this app. Please try the request again."} at com.heroku.eclipse.core.services.rest.RestHerokuServices.runCancellableOperation(RestHerokuServices.java:1068) at com.heroku.eclipse.core.services.rest.RestHerokuServices.createAppFromTemplate(RestHerokuServices.java:418) at com.heroku.eclipse.ui.wizards.HerokuAppCreate$1.run(HerokuAppCreate.java:101) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: com.heroku.api.exception.RequestFailedException: Failed to clone app statuscode:503 responseBody:{"id":"unavailable","error":"Could not get a logplex token for this app. Please try the request again."} at com.heroku.api.request.app.AppClone.getResponse(AppClone.java:62) at com.heroku.api.request.app.AppClone.getResponse(AppClone.java:18) at com.heroku.api.connection.JerseyClientAsyncConnection$1.handleResponse(JerseyClientAsyncConnection.java:79) at com.heroku.api.connection.JerseyClientAsyncConnection$1.get(JerseyClientAsyncConnection.java:71) at com.heroku.api.connection.JerseyClientAsyncConnection.execute(JerseyClientAsyncConnection.java:87) at com.heroku.api.HerokuAPI.cloneApp(HerokuAPI.java:211) at com.heroku.eclipse.core.services.rest.RestHerokuSession.createAppFromTemplate(RestHerokuSession.java:368) at com.heroku.eclipse.core.services.rest.RestHerokuServices$8.run(RestHerokuServices.java:430) at com.heroku.eclipse.core.services.rest.RestHerokuServices$8.run(RestHerokuServices.java:1) at com.heroku.eclipse.core.services.rest.RestHerokuServices$31.run(RestHerokuServices.java:1042)

sanjaymahadi commented 10 years ago

any resolution or recommendations to fix for this problem?

alexroussos commented 10 years ago

I think there can be several causes with this same symptom. Check your workspace/.metadata/.log, that's where I found more details on my problem.

tedturner29 commented 10 years ago

I was getting this error because I was over my limit of project for a free user. When I attempted to create a project, even when it throws an error it still creates the project in heroku. I hope that helps.

yltang52 commented 9 years ago

I had the same problem, any fix?

workspace/.metadata/.log: Caused by: com.heroku.eclipse.core.services.exceptions.HerokuServiceException: com.heroku.api.exception.RequestFailedException: Failed to clone app