Details
-
Bug
-
Resolution: Fixed
-
Minor
-
6.4
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- add the Admin Tools Application to the standard XE UI (xwiki-enterprise-ui-mainwiki-ui/pom.xml):
<dependency> <groupId>org.xwiki.contrib</groupId> <artifactId>xwiki-application-admintools</artifactId> <version>4.1</version> <type>xar</type> </dependency>
- build this application
- then build xwiki-enterprise-data-hsqdb
You get the following stack trace:
[INFO] ... Importing XAR file: /home/gdelhumeau/.m2/repository/org/xwiki/contrib/xwiki-application-admintools/4.1/xwiki-application-admintools-4.1.xar 2015-02-09 12:54:13,117 [main] WARN o.r.f.r.RegexTokenFilter - <span class="error">Exception</span>: com.xpn.xwiki.render.filter.XWikiLinkFilter@612f079d java.lang.NullPointerException: null at com.xpn.xwiki.web.XWikiServletURLFactory.normalizeURL(XWikiServletURLFactory.java:651) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.normalizeURL(XWikiServletURLFactory.java:622) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:241) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:50) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:298) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) ~[radeox-1.0-b2.jar:na] at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) ~[radeox-1.0-b2.jar:na] at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) ~[radeox-1.0-b2.jar:na] at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) [radeox-1.0-b2.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:151) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:2037) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1995) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:762) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1402) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1346) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:870) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:664) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.Importer.installWithUser(Importer.java:164) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.Importer.importXAR(Importer.java:139) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.ImportMojo.importDependencies(ImportMojo.java:181) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:152) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [maven-core-3.x.jar:na] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) [maven-core-3.x.jar:na] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) [maven-core-3.x.jar:na] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) [maven-embedder-3.x.jar:na] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) [maven-embedder-3.x.jar:na] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [maven-embedder-3.x.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_76] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_76] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_76] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [plexus-classworlds2-2.5.1.jar:na] 2015-02-09 12:54:13,118 [main] WARN o.r.f.FilterPipe - FilterPipe.filter: error while filtering: com.xpn.xwiki.render.filter.XWikiLinkFilter@612f079d 2015-02-09 12:54:13,429 [main] WARN o.r.f.r.RegexTokenFilter - <span class="error">Exception</span>: com.xpn.xwiki.render.filter.XWikiLinkFilter@612f079d java.lang.NullPointerException: null at com.xpn.xwiki.web.XWikiServletURLFactory.normalizeURL(XWikiServletURLFactory.java:651) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.normalizeURL(XWikiServletURLFactory.java:622) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:241) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:50) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:298) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) ~[radeox-1.0-b2.jar:na] at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) ~[radeox-1.0-b2.jar:na] at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) ~[radeox-1.0-b2.jar:na] at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) [radeox-1.0-b2.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:151) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:2037) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1995) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:762) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1402) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1346) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:870) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:664) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.Importer.installWithUser(Importer.java:164) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.Importer.importXAR(Importer.java:139) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.ImportMojo.importDependencies(ImportMojo.java:181) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:152) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [maven-core-3.x.jar:na] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) [maven-core-3.x.jar:na] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) [maven-core-3.x.jar:na] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) [maven-embedder-3.x.jar:na] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) [maven-embedder-3.x.jar:na] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [maven-embedder-3.x.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_76] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_76] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_76] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [plexus-classworlds2-2.5.1.jar:na] 2015-02-09 12:54:13,430 [main] WARN o.r.f.FilterPipe - FilterPipe.filter: error while filtering: com.xpn.xwiki.render.filter.XWikiLinkFilter@612f079d 2015-02-09 12:54:13,510 [main] WARN o.r.f.r.RegexTokenFilter - <span class="error">Exception</span>: com.xpn.xwiki.render.filter.XWikiLinkFilter@612f079d java.lang.NullPointerException: null at com.xpn.xwiki.web.XWikiServletURLFactory.normalizeURL(XWikiServletURLFactory.java:651) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.normalizeURL(XWikiServletURLFactory.java:622) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:241) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:50) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:298) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209) ~[xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) ~[radeox-1.0-b2.jar:na] at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) ~[radeox-1.0-b2.jar:na] at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) ~[radeox-1.0-b2.jar:na] at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) [radeox-1.0-b2.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:151) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:2037) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1995) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:762) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1402) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1346) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:870) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:664) [xwiki-platform-oldcore-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.Importer.installWithUser(Importer.java:164) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.Importer.importXAR(Importer.java:139) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.ImportMojo.importDependencies(ImportMojo.java:181) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:152) [xwiki-platform-tool-packager-plugin-7.0-SNAPSHOT.jar:na] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [maven-core-3.x.jar:na] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [maven-core-3.x.jar:na] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) [maven-core-3.x.jar:na] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) [maven-core-3.x.jar:na] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) [maven-embedder-3.x.jar:na] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) [maven-embedder-3.x.jar:na] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [maven-embedder-3.x.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_76] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_76] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_76] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [plexus-classworlds2-2.5.1.jar:na] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [plexus-classworlds2-2.5.1.jar:na] 2015-02-09 12:54:13,511 [main] WARN o.r.f.FilterPipe - FilterPipe.filter: error while filtering: com.xpn.xwiki.render.filter.XWikiLinkFilter@612f079d 2015-02-09 12:54:13,632 [main] WARN iComponentManagerEventListener - Failed to create wiki component(s) for document [xwiki:Admin.AdminUIExtension]: Registering UI extensions at wiki level requires wiki administration rights 2015-02-09 12:54:13,790 [main] WARN iComponentManagerEventListener - Failed to register the wiki component located in the document [xwiki:Admin.AdminUIExtension]: WikiComponentException: Registering UI extensions at wiki level requires wiki administration rights [INFO] ..... Imported 34 documents
Note that it does not prevent the Admin Tools application to work (it seems that only the backlinks feature is broken)