[
https://issues.jboss.org/browse/JBIDE-12777?page=com.atlassian.jira.plugi...
]
Andre Dietisheim updated JBIDE-12777:
-------------------------------------
Steps to Reproduce:
# ASSERT: Have JBT 4 Alpha2b installed on eclipse juno sr0
# EXEC: Use Check for updates and update IDE and Egit
# ASSERT: Updater will install Egit 2.1 (required by Juno SR1) and leave Egit 2.0
installed (required by org.jboss.tools.openshift.express.ui)
# EXEC: Try to publish some openshift application e.g. via server adapter
Result:
ClassCastException (see below)
was:
* Have JBT 4 Alpha2b installed on eclipse juno sr0
* Use Check for updates and update IDE and Egit
* Updater will install Egit 2.1 (required by Juno SR1) and leave Egit 2.0 installed
(required by org.jboss.tools.openshift.express.ui)
* Try to publish some openshift application e.g. via server adapter
ClassCastException after updating TP when publishing to openshift
-----------------------------------------------------------------
Key: JBIDE-12777
URL:
https://issues.jboss.org/browse/JBIDE-12777
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.0.0.Alpha2
Reporter: Stefan Bunciak
Assignee: Andre Dietisheim
Fix For: 4.0.0.Alpha2
Egit 2.0 and Egit 2.1 conflict resulting into:
{code}
java.lang.ClassCastException: org.eclipse.jgit.transport.URIish cannot be cast to
org.eclipse.jgit.transport.URIish
at
org.jboss.tools.openshift.express.internal.ui.console.ConsoleUtils.getPushErrors(ConsoleUtils.java:177)
at
org.jboss.tools.openshift.express.internal.ui.console.ConsoleUtils.getPushResultAsString(ConsoleUtils.java:128)
at
org.jboss.tools.openshift.express.internal.ui.console.ConsoleUtils.appendGitPushToConsole(ConsoleUtils.java:119)
at
org.jboss.tools.openshift.express.internal.core.behaviour.ExpressPublishMethod.commitAndPushProject(ExpressPublishMethod.java:249)
at
org.jboss.tools.openshift.express.internal.core.behaviour.ExpressPublishMethod.publishFinish(ExpressPublishMethod.java:79)
at
org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishFinish(DeployableServerBehavior.java:96)
at
org.jboss.ide.eclipse.as.core.server.internal.DelegatingServerBehavior.publishFinish(DelegatingServerBehavior.java:148)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:974)
at
org.jboss.tools.openshift.express.internal.core.behaviour.ExpressBehaviour.publish(ExpressBehaviour.java:32)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at
org.jboss.tools.openshift.express.internal.core.behaviour.ExpressBehaviour.publish(ExpressBehaviour.java:39)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3108)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira