[jbosstools-issues] [JBoss JIRA] (JBDS-3362) JBDS 8.0.0 Update: An error occurred while uninstalling

Nick Boldt (JIRA) issues at jboss.org
Tue Feb 24 19:03:49 EST 2015


    [ https://issues.jboss.org/browse/JBDS-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043375#comment-13043375 ] 

Nick Boldt commented on JBDS-3362:
----------------------------------

Log shows you what happened and what to do:

{code}
!MESSAGE Manual restore of backup needed for: C:\Users\Burr\AppData\Local\Temp\jbds_2977bd496140_c0a83801d922\D\gettingstarted2\jbds8ga\studio\jbdevstudio.exe
!MESSAGE Restore of backup failed - see log for details. Backup directory name: jbds_2977bd496140_c0a83801d922.
java.io.IOException: File that was copied to backup could not be deleted: D:\gettingstarted2\jbds8ga\studio\jbdevstudio.exe
{code}

So if I had to guess I'd say Eclipse's reference to the temp folder is broken. First there's a full path, but then it's incomplete, and as a result Eclipse can't copy C:\Users\Burr\AppData\Local\Temp\jbds_2977bd496140_c0a83801d922\D\gettingstarted2\jbds8ga\studio\jbdevstudio.exe back to D:\gettingstarted2\jbds8ga\studio\jbdevstudio.exe

I notice your log also complains about not being able to resolve URLs like https://devstudio.redhat.com/updates/8.0.0/jboss-devstudio-8.0.2.GA* ... that's a real bug. But unrelated to this.


> JBDS 8.0.0 Update: An error occurred while uninstalling
> -------------------------------------------------------
>
>                 Key: JBDS-3362
>                 URL: https://issues.jboss.org/browse/JBDS-3362
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 8.0.0.GA
>            Reporter: Burr Sutter
>            Assignee: Nick Boldt
>            Priority: Critical
>             Fix For: 8.1.0.Beta1
>
>         Attachments: .log, jbosstools-diagnostics-20150224183031.zip
>
>
> Freshly downloaded JBDS 8.0.0 from http://www.jboss.org/products/devstudio/get-started
> update results in:
> An error occurred while uninstalling session context was:(profile=jbds, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, 
> operand=[R]
> com.jboss.devstudio.core.package.executable.win32.win32.x86_64 
> 8.0.0.GA-v20141020-1042-B317 --> null, 
> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.C
> leanupzipAction).
> Backup of file D:\gettingstarted2\jbds8ga\studio\jbdevstudio.exe failed.
> File that was copied to backup could not be deleted: D:
> \gettingstarted2\jbds8ga\studio\jbdevstudio.exe
> Video: 
> http://screencast.com/t/dCkzlin17



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list