previousXarExtension = (XarLocalExtension) this.xarRepository.resolve(previousLocalExtension.getId());
} catch (ResolveException e) {
throw new InstallException("Failed to get xar extension [" + previousLocalExtension.getId()
+ "] from xar repository", e);
}
<BUG>install(previousXarExtension, newLocalExtension, wiki);
</BUG>
Set<XarEntry> previousPages = new HashSet<XarEntry>(previousXarExtension.getPages());
List<XarEntry> newPages;
try {

previousXarExtension = (XarLocalExtension) this.xarRepository.resolve(previousLocalExtension.getId());
} catch (ResolveException e) {
throw new InstallException("Failed to get xar extension [" + previousLocalExtension.getId()
+ "] from xar repository", e);
}
install(previousXarExtension, newLocalExtension, wiki, request);
Set<XarEntry> previousPages = new HashSet<XarEntry>(previousXarExtension.getPages());
List<XarEntry> newPages;
try {
