Uploaded image for project: 'Numbered Content Application'
  1. Numbered Content Application
  2. NCAPP-80

Figure numbering are not displayed on XWiki 15.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Blocker
    • None
    • 1.9.1
    • Figures - UI
    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      1. create a page with numbered figure activated
      2. insert a figure (e.g., [[Picture caption>>image:Help.Applications.WebHome@meeting.png]])

      Expected

      • A prefix is displayed before the caption text (e.g., Figure 1: Picture caption)

      Actual

      • The prefix is not displayed before the caption text (i.e., Picture caption)

      Notes

      This issue is likely not directly related to the numbered figures application.
      Can be reproduced on 15.8 but not on 15.7.

      2023-10-25 15:16:11,007 [qtp382750013-25 - http://localhost:8082/xwiki/bin/ssx/NumberedFigures/Code/NumberedFigures?isNumberedFiguresEnabled=true&locale=en&docVersion=1.1] ERROR .x.i.t.InternalTemplateManager - Error while rendering template [null] 
      org.xwiki.rendering.RenderingException: Failed to execute renderer
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:287)
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:267)
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:904)
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderNoException(InternalTemplateManager.java:822)
      	at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:115)
      	at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:109)
      	at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.evaluate(CachedLESSCompiler.java:160)
      	at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.compute(CachedLESSCompiler.java:120)
      	at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.compute(CachedLESSCompiler.java:54)
      	at org.xwiki.lesscss.internal.cache.AbstractCachedCompiler.getResult(AbstractCachedCompiler.java:137)
      	at org.xwiki.lesscss.internal.cache.AbstractCachedCompiler.getResult(AbstractCachedCompiler.java:85)
      	at org.xwiki.lesscss.internal.compiler.DefaultLESSCompiler.compile(DefaultLESSCompiler.java:66)
      	at com.xpn.xwiki.web.sx.SxDocumentSource.getContent(SxDocumentSource.java:141)
      	at com.xpn.xwiki.web.sx.AbstractSxAction.renderExtension(AbstractSxAction.java:86)
      	at com.xpn.xwiki.web.sx.AbstractSxAction.render(AbstractSxAction.java:142)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:637)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:339)
      	at com.xpn.xwiki.web.LegacyActionServlet.service(LegacyActionServlet.java:112)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
      	at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1419)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
      	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:122)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:61)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:210)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:598)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:192)
      	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:51)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
      	at org.eclipse.jetty.server.Server.handle(Server.java:563)
      	at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
      	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
      	at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)
      	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: org.xwiki.rendering.RenderingException: Failed to evaluate template with id [null]
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:221)
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:174)
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:135)
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:54)
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:284)
      	at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:284)
      	... 77 common frames omitted
      Caused by: org.apache.velocity.exception.VelocityException: Exception thrown processing Template null
      	at org.apache.velocity.Template.process(Template.java:168)
      	at org.xwiki.velocity.VelocityTemplate.compile(VelocityTemplate.java:79)
      	at org.xwiki.velocity.internal.DefaultVelocityManager.compile(DefaultVelocityManager.java:186)
      	at org.xwiki.velocity.internal.DefaultVelocityManager.compile(DefaultVelocityManager.java:194)
      	at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.getVelocityTemplate(VelocityTemplateEvaluator.java:129)
      	at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:100)
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:219)
      	... 83 common frames omitted
      Caused by: java.lang.NullPointerException: null
      2023-10-25 15:16:11,019 [qtp382750013-25 - http://localhost:8082/xwiki/bin/ssx/NumberedFigures/Code/NumberedFigures?isNumberedFiguresEnabled=true&locale=en&docVersion=1.1] ERROR o.x.l.i.c.DefaultLESSCompiler  - Error during the compilation of the resource [org.xwiki.lesscss.internal.resources.LESSObjectPropertyResourceReference@5d5a7d6d]. 
      org.xwiki.lesscss.compiler.LESSCompilerException: Failed to compile the resource [org.xwiki.lesscss.internal.resources.LESSObjectPropertyResourceReference@5d5a7d6d] with LESS.
      	at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.compute(CachedLESSCompiler.java:136)
      	at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.compute(CachedLESSCompiler.java:54)
      	at org.xwiki.lesscss.internal.cache.AbstractCachedCompiler.getResult(AbstractCachedCompiler.java:137)
      	at org.xwiki.lesscss.internal.cache.AbstractCachedCompiler.getResult(AbstractCachedCompiler.java:85)
      	at org.xwiki.lesscss.internal.compiler.DefaultLESSCompiler.compile(DefaultLESSCompiler.java:66)
      	at com.xpn.xwiki.web.sx.SxDocumentSource.getContent(SxDocumentSource.java:141)
      	at com.xpn.xwiki.web.sx.AbstractSxAction.renderExtension(AbstractSxAction.java:86)
      	at com.xpn.xwiki.web.sx.AbstractSxAction.render(AbstractSxAction.java:142)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:637)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:339)
      	at com.xpn.xwiki.web.LegacyActionServlet.service(LegacyActionServlet.java:112)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
      	at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1419)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
      	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:122)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:61)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:210)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170)
      	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
      	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:598)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:192)
      	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:51)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
      	at org.eclipse.jetty.server.Server.handle(Server.java:563)
      	at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
      	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
      	at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)
      	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)
      	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: com.github.sommeri.less4j.Less4jException: Could not compile less. 1 error(s) occurred:
      ERROR 1:1 missing EOF at '<' in stylesheet (which started at 1:1)
       1: <div class="box xwikirenderingerror"><p>Failed to execute template. Cause: [null]. Click on this message for details.</p></div><div class="box xwikirenderingerrordescription hidden"><p>org.xwiki.rendering.RenderingException: Failed to execute renderer<br/>&nbsp;at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:287)<br/>&nbsp;at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:267)<br/>&nbsp;at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)<br/>&nbsp;at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:904)<br/>&nbsp;at com.xpn.xwiki.internal.template.InternalTemplateManager.renderNoException(InternalTemplateManager.java:822)<br/>&nbsp;at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:115)<br/>&nbsp;at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:109)<br/>&nbsp;at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.evaluate(CachedLESSCompiler.java:160)<br/>&nbsp;at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.compute(CachedLESSCompiler.java:120)<br/>&nbsp;at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.compute(CachedLESSCompiler.java:54)<br/>&nbsp;at org.xwiki.lesscss.internal.cache.AbstractCachedCompiler.getResult(AbstractCachedCompiler.java:137)<br/>&nbsp;at org.xwiki.lesscss.internal.cache.AbstractCachedCompiler.getResult(AbstractCachedCompiler.java:85)<br/>&nbsp;at org.xwiki.lesscss.internal.compiler.DefaultLESSCompiler.compile(DefaultLESSCompiler.java:66)<br/>&nbsp;at com.xpn.xwiki.web.sx.SxDocumentSource.getContent(SxDocumentSource.java:141)<br/>&nbsp;at com.xpn.xwiki.web.sx.AbstractSxAction.renderExtension(AbstractSxAction.java:86)<br/>&nbsp;at com.xpn.xwiki.web.sx.AbstractSxAction.render(AbstractSxAction.java:142)<br/>&nbsp;at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:637)<br/>&nbsp;at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:339)<br/>&nbsp;at com.xpn.xwiki.web.LegacyActionServlet.service(LegacyActionServlet.java:112)<br/>&nbsp;at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1419)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665)<br/>&nbsp;at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:122)<br/>&nbsp;at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)<br/>&nbsp;at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:61)<br/>&nbsp;at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)<br/>&nbsp;at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)<br/>&nbsp;at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)<br/>&nbsp;at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132)<br/>&nbsp;at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)<br/>&nbsp;at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)<br/>&nbsp;at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)<br/>&nbsp;at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)<br/>&nbsp;at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:210)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)<br/>&nbsp;at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170)<br/>&nbsp;at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)<br/>&nbsp;at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)<br/>&nbsp;at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:598)<br/>&nbsp;at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)<br/>&nbsp;at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)<br/>&nbsp;at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)<br/>&nbsp;at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)<br/>&nbsp;at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)<br/>&nbsp;at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)<br/>&nbsp;at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)<br/>&nbsp;at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543)<br/>&nbsp;at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)<br/>&nbsp;at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)<br/>&nbsp;at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)<br/>&nbsp;at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:192)<br/>&nbsp;at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:51)<br/>&nbsp;at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)<br/>&nbsp;at org.eclipse.jetty.server.Server.handle(Server.java:563)<br/>&nbsp;at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)<br/>&nbsp;at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)<br/>&nbsp;at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)<br/>&nbsp;at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)<br/>&nbsp;at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)<br/>&nbsp;at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)<br/>&nbsp;at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)<br/>&nbsp;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)<br/>&nbsp;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)<br/>&nbsp;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)<br/>&nbsp;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)<br/>&nbsp;at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)<br/>&nbsp;at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)<br/>&nbsp;at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)<br/>&nbsp;at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)<br/>&nbsp;at java.base/java.lang.Thread.run(Thread.java:829)<br/>Caused by: org.xwiki.rendering.RenderingException: Failed to evaluate template with id [null]<br/>&nbsp;at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:221)<br/>&nbsp;at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:174)<br/>&nbsp;at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:135)<br/>&nbsp;at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:54)<br/>&nbsp;at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:284)<br/>&nbsp;at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)<br/>&nbsp;at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:284)<br/>&nbsp;... 77 more<br/>Caused by: org.apache.velocity.exception.VelocityException: Exception thrown processing Template null<br/>&nbsp;at org.apache.velocity.Template.process(Template.java:168)<br/>&nbsp;at org.xwiki.velocity.VelocityTemplate.compile(VelocityTemplate.java:79)<br/>&nbsp;at org.xwiki.velocity.internal.DefaultVelocityManager.compile(DefaultVelocityManager.java:186)<br/>&nbsp;at org.xwiki.velocity.internal.DefaultVelocityManager.compile(DefaultVelocityManager.java:194)<br/>&nbsp;at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.getVelocityTemplate(VelocityTemplateEvaluator.java:129)<br/>&nbsp;at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:100)<br/>&nbsp;at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:219)<br/>&nbsp;... 83 more<br/>Caused by: java.lang.NullPointerException</p></div>
      
      
      	at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.toAntlrTree(ThreadUnsafeLessCompiler.java:136)
      	at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.doCompile(ThreadUnsafeLessCompiler.java:101)
      	at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.compile(ThreadUnsafeLessCompiler.java:85)
      	at com.github.sommeri.less4j.core.DefaultLessCompiler.compile(DefaultLessCompiler.java:56)
      	at org.xwiki.lesscss.internal.compiler.less4j.Less4jCompiler.compile(Less4jCompiler.java:67)
      	at org.xwiki.lesscss.internal.compiler.CachedLESSCompiler.compute(CachedLESSCompiler.java:125)
      	... 69 common frames omitted
      
      

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: