# 11.10 - Orphaned Dependencies - Velocity Macro Error

**URL:** <https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982>\
**Category:** Help / Discuss\
**Created:** [December 14, 2019, 11:31pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982 "2019-12-14T23:31:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 14, 2019, 11:31pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/1 "2019-12-14T23:31:34Z")

</div>

Upgrading to 11.10, during the DW’s new screen, “Step 3 - Orphaned dependencies”, I got an error that the velocity macro failed. That happened again with 11.10.1.

![image](https://discourse.xwiki.org/uploads/default/original/2X/9/9fd5fb66c0bdc7605da2a3209e09551d2d45abbe.png)

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 16, 2019, 10:29am UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/2 "2019-12-16T10:29:27Z")

</div>

Could you click on the message to get the detailed error? In any case it would be great if you could create a BUG issue on [Loading...](https://jira.xwiki.org/browse/XWIKI) with all the details you can think of to reproduce the issue.

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 16, 2019, 12:07pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/3 "2019-12-16T12:07:23Z")

</div>

I did not realize the issue was clickable and I already clicked continue. Is there a way to get back to that screen?

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 16, 2019, 1:13pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/4 "2019-12-16T13:13:52Z")

</div>

Given the message I see I don’t think so (no orphaned dependency anymore so you won’t get back this step).

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 17, 2019, 1:22am UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/5 "2019-12-17T01:22:33Z")

</div>

[https://jira.xwiki.org/browse/XWIKI-16923](https://jira.xwiki.org/browse/XWIKI-16923)

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [December 17, 2019, 9:22am UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/6 "2019-12-17T09:22:08Z")

</div>

@laurin1 could you try to reproduce it? That would help us a lot. Also we need more details like what what version of XWiki you upgraded from. It would really help a lot to know if you can systematically reproduce it or not with your setup. Thanks

EDIT: Also the xwiki logs would help too. It would help to know if you had orphaned extensions and what they were too.

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 17, 2019, 11:32am UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/7 "2019-12-17T11:32:02Z")

</div>

If I had any idea how to reproduce it, sure, but seems to happen during the normal upgrade. If the pattern holds, it will happen again at the next upgrade (happened on 11.10 and 11.10.1).

As for the logs, this is a like the the movie, “Never-Ending Story”. 🙂 I really have no idea which logs are useful. I seem to be running an uncommon configuration for XWiki (Apache Tomcat on Windows Server), as nobody can really tell me which logs should contain this info.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [December 17, 2019, 12:15pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/8 "2019-12-17T12:15:13Z")

</div>

> [@laurin1](#):
>
> If I had any idea how to reproduce it, sure, but seems to happen during the normal upgrade. If the pattern holds, it will happen again at the next upgrade (happened on 11.10 and 11.10.1).

Maybe you could start by answering the few questions I asked above? 🙂 (version of XWiki you’re upgrading from, orphaned extensions, etc) and provide the max info you can (what config you have compared to the default config, etc).

If there’s a way for you to provide one of the xwiki devs with access to your original instance that would be awesome too.

> [@laurin1](#):
>
> As for the logs, this is a like the the movie, “Never-Ending Story”. 🙂 I really have no idea which logs are useful. I seem to be running an uncommon configuration for XWiki (Apache Tomcat on Windows Server), as nobody can really tell me which logs should contain this info.

So we need:

1. the stacktrace (you need to click on the message). Could you please try to redo a migration to reproduce the problem and this time click on the message?
2. the xwiki logs, see [https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Logging#HLogLocation](https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Logging#HLogLocation) to find them

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 17, 2019, 2:43pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/9 "2019-12-17T14:43:37Z")

</div>

Upgraded from 11.9 to 11.10 - we never miss a release, unless one fails completely (which has not happened in a long time). How would I know I have orphaned dependencies (if this tool is not working)?

> [@vmassol](#):
>
> the stacktrace (you need to click on the message). Could you please try to redo a migration to reproduce the problem and this time click on the message?

Without restoring a database backup, I have no idea how to do that (and a restore would be too time consuming, I’m short-staffed as it is).

> [@vmassol](#):
>
> the xwiki logs, see [https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Logging#HLogLocation](https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Logging#HLogLocation) to find them

I’ve read that page many times in an attempt to get these logs and I still don’t know for certain I’m getting the correct logs. I guess this is the one that applies to me:

> If you use the [Manual WAR packaging](https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/InstallationWAR), then it depends on the Servlet engine you’ve used and how you’ve configured it. You could check in /var/log/tomcat\*/catalina.out on unix or /logs/catalina.out for Tomcat.

I don’t have a catalina.out log file. I have this:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/0/031e54cf7f890a040441ccba175e7d1c01dbab68.png)

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 17, 2019, 2:50pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/10 "2019-12-17T14:50:17Z")

</div>

Attached these 3 to the issue:

![image](https://discourse.xwiki.org/uploads/default/original/2X/e/e8a689a254ab6e87a6d1f5ce5b19277c62f4df86.png)

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 17, 2019, 2:56pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/11 "2019-12-17T14:56:18Z")

</div>

Those log files do contain Tomcat log but not XWiki one it seems. Maybe each application get its own file in your setup.

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 17, 2019, 2:58pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/12 "2019-12-17T14:58:23Z")

</div>

If so, I have no idea where, and I’ve searched the whole system looking.

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 17, 2019, 3:15pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/13 "2019-12-17T15:15:18Z")

</div>

These contain some xwiki references, including a error that might be related to this issue (hard for me to tell).

![image](https://discourse.xwiki.org/uploads/default/original/2X/8/89e183e9c60c47311c98ca8b811a079fc9c41943.png)

2019-12-17 08:48:01,691 [main] INFO iPropertiesConfigurationSource - loading xwiki.properties from file:/C:/apache-tomcat/webapps/xwiki/WEB-INF/xwiki.properties  
2019-12-17 08:48:02,206 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [\opt\tomcat7\data]  
2019-12-17 08:49:05,091 [main] WARN .e.r.i.l.LocalExtensionStorage - Failed to load extension from file [\opt\tomcat7\data\extension\repository\org%2Exwiki%2Eplatform%3Axwiki-platform-messagestream-ui\11%2E6%2E1\org%2Exwiki%2Eplatform%3Axwiki-platform-messagestream-ui-11%2E6%2E1.xed] in local repository  
org.xwiki.extension.InvalidExtensionException: Failed to parse descriptor  
at org.xwiki.extension.repository.internal.DefaultExtensionSerializer.getExtensionElement(DefaultExtensionSerializer.java:271)  
at org.xwiki.extension.repository.internal.DefaultExtensionSerializer.loadLocalExtensionDescriptor(DefaultExtensionSerializer.java:248)  
at org.xwiki.extension.repository.internal.local.LocalExtensionStorage.loadDescriptor(LocalExtensionStorage.java:170)  
at org.xwiki.extension.repository.internal.local.LocalExtensionStorage.loadExtensions(LocalExtensionStorage.java:142)  
at org.xwiki.extension.repository.internal.local.LocalExtensionStorage.loadExtensions(LocalExtensionStorage.java:139)  
at org.xwiki.extension.repository.internal.local.LocalExtensionStorage.loadExtensions(LocalExtensionStorage.java:139)  
at org.xwiki.extension.repository.internal.local.LocalExtensionStorage.loadExtensions(LocalExtensionStorage.java:111)  
at org.xwiki.extension.repository.internal.local.DefaultLocalExtensionRepository.initialize(DefaultLocalExtensionRepository.java:107)  
at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)  
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)  
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)  
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)  
at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:406)  
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)  
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)  
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)  
at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:406)  
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)  
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)  
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)  
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:189)  
at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:120)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)  
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)  
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)  
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)  
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867)  
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)  
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)  
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)  
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)  
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)  
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)  
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)  
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)  
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)  
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)  
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)  
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)  
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)  
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)  
Caused by: org.xml.sax.SAXParseException: Premature end of file.  
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)  
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)  
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)  
at org.xwiki.extension.repository.internal.DefaultExtensionSerializer.getExtensionElement(DefaultExtensionSerializer.java:269)  
… 62 common frames omitted  
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-rendering-macro-container/9.5.1] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-rendering-macro-container/9.5.1] already exists as a core extension)  
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-activitystream-api/11.3] on namespace [wiki:xwiki] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-activitystream-api/11.3] already exists as a core extension)

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 17, 2019, 3:23pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/14 "2019-12-17T15:23:55Z")

</div>

This is definitely XWiki log. It does not seems related to the issue you got in the wizard but you definitely have some issue with your extensions. For example having `xwiki-platform-rendering-macro-container` installed as extension does not make much sense.

You should take a look at your installed extensions in the Extension Manager UI and probably remove everything tagged as invalid. You can ask here for confirmation when you have the list.

Also you should probably delete \opt\tomcat7\data\extension\repository\org%2Exwiki%2Eplatform%3Axwiki-platform-messagestream-ui\11%2E6%2E1\ folder since it seems broken and you definitely don’t need that in XWiki 11.10.1 so no risk.

You log also suggest you have the watchlist installed which is most probably not really what you want since it’s not really working in recent version of XWiki and was replaced by the new notifications.

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 18, 2019, 8:37pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/15 "2019-12-18T20:37:58Z")

</div>

> [@tmortagne](#):
>
> You should take a look at your installed extensions in the Extension Manager UI and probably remove everything tagged as invalid. You can ask here for confirmation when you have the list.

The only one that flagged as invalid is “Activity Stream Plugin”. I removed that one.

> [@tmortagne](#):
>
> For example having `xwiki-platform-rendering-macro-container` installed as extension does not make much sense.

Why does that not make sense? It does not show as invalid.

> [@tmortagne](#):
>
> You log also suggest you have the watchlist installed

As an extension? I don’t see that in the extension list. How do I remove it?

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 23, 2019, 11:12am UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/16 "2019-12-23T11:12:05Z")

</div>

> [@laurin1](#):
>
> The only one that flagged as invalid is “Activity Stream Plugin”. I removed that one.

I see the following in your log:

```auto
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-rendering-macro-container/9.5.1] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-rendering-macro-container/9.5.1] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-activitystream-api/11.3] on namespace [wiki:xwiki] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-activitystream-api/11.3] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-chart-renderer/9.5.1] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-chart-renderer/9.5.1] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.jfree:jfreechart/1.0.19] (InvalidExtensionException: Extension [org.jfree:jfreechart/1.0.19] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-rendering-macro-groovy/9.5.1] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-rendering-macro-groovy/9.5.1] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-groovy/9.5.1] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-groovy/9.5.1] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-dashboard-macro/9.5.1] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-dashboard-macro/9.5.1] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-chart-macro/9.5.1] (InvalidExtensionException: Extension [org.xwiki.platform:xwiki-platform-chart-macro/9.5.1] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.apache.ivy:ivy/2.3.0] (InvalidExtensionException: Extension [org.apache.ivy:ivy/2.3.0] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.xwiki.commons:xwiki-commons-groovy/9.5.1] (InvalidExtensionException: Extension [org.xwiki.commons:xwiki-commons-groovy/9.5.1] already exists as a core extension) 
2019-12-17 08:50:00,628 [main] WARN ltInstalledExtensionRepository - Invalid extension [org.jfree:jcommon/1.0.23] (InvalidExtensionException: Extension [org.jfree:jcommon/1.0.23] already exists as a core extension) 

```

so all those should be tagged as invalid in the list of installed extensions. Seems they were installed as extension at some point and are now part of the WAR (it’s the case since quite a long time AFAIK).

> [@laurin1](#):
>
> Why does that not make sense?

Because it’s in WEB-INF/lib already so that extension is a duplicate.

> [@laurin1](#):
>
> As an extension? I don’t see that in the extension list. How do I remove it?

What I exatly see in your log is:

```auto
2019-12-17 08:52:25,960 [XWiki Scheduler initialization] ERROR c.x.x.p.s.SchedulerPlugin - Failed to restore job with in document [xwiki:Scheduler.WatchListHourlyNotifier] and wiki [xwiki] 
com.xpn.xwiki.plugin.scheduler.SchedulerPluginException: Error number 90006 in 5: Exception in plugin [com.xpn.xwiki.plugin.scheduler.SchedulerPlugin]: Error while loading job class for job : WatchList hourly notifier

```

Which is a page generated by the Watchlist, maybe you uninstalled later but the watchlist scheduler were left and are unusable (they don’t any other arm that errors in the log but still…). If you can’t find the watchlist in the installed extension then simply go to the Scheduler app home page and delete the watchlist related scheduler (there should be 3).

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 23, 2019, 12:14pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/17 "2019-12-23T12:14:35Z")

</div>

> [@tmortagne](#):
>
> so all those should be tagged as invalid in the list of installed extensions. Seems they were installed as extension at some point and are now part of the WAR (it’s the case since quite a long time AFAIK).

So what does it mean that these are invalid, but the extension list does not indicate they are invalid? FYI, all of these, instead of having the “Uninstall” button:

![image](https://forum.xwiki.org/uploads/default/original/2X/1/156e6c376614a8540beda031a2b03f3203099609.png)

Have “Repair on farm” button:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/1/1fd61f3f741f3e05d1e7af786f039de4064cad51.png)

I’ve uninstalled all of the invalid ones listed (which was all the ones with the “Repair on farm” button).

> [@tmortagne](#):
>
> If you can’t find the watchlist in the installed extension then simply go to the Scheduler app home page and delete the watchlist related scheduler (there should be 3).

 ![image](https://forum.xwiki.org/uploads/default/original/2X/2/20897087683c2082cfef4bb1f45f54148d2dc5c4.png)

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 23, 2019, 12:51pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/18 "2019-12-23T12:51:48Z")

</div>

> [@laurin1](#):
>
> Have “Repair on farm” button:

This definitely means they are invalid. Looks like only one of “dependency” or “invalid” is displayed but I tough the pirority was on “invalid”.

---

<div class="post-metadata">

**Author:** ![laurin1](https://forum.xwiki.org/user_avatar/forum.xwiki.org/laurin1/32/9_2.png) [@laurin1](https://forum.xwiki.org/u/laurin1)\
**Post date:** [December 31, 2019, 6:53pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/19 "2019-12-31T18:53:15Z")

</div>

In 11.10.2, it’s fixed:

![image](https://discourse.xwiki.org/uploads/default/original/2X/f/fcc59bc636b5b2a01ef23cd9a3cebb355e99b38a.png)

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [December 31, 2019, 7:11pm UTC](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982/20 "2019-12-31T19:11:17Z")

</div>

> [@laurin1](#):
>
> In 11.10.2, it’s fixed:

Cool! Thanks for confirming 🙂

[Next page](https://forum.xwiki.org/t/11-10-orphaned-dependencies-velocity-macro-error/5982.md?page=2)
