Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1164

template not found when display ontologies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Ontology Manager
    • None
    • Ubuntu 13.04 x86_64 GNU/Linux

    Description

      clicking on a new loaded ontology it throws the following exception:

      java.lang.RuntimeException: org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter$Wrapper
      org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.renderPojo(ViewableWriter.java:93)
      org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:74)
      org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:43)
      com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
      com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1448)
      com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1360)
      com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1350)
      com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
      com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
      org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
      org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:78)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.stanbol.commons.httpqueryheaders.impl.QueryHeadersFilter.doFilter(QueryHeadersFilter.java:75)
      org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
      org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilterHttp(ResourceServingFilter.java:148)
      org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilter(ResourceServingFilter.java:91)
      org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
      org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
      org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
      org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:278)
      org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:174)
      root cause

      java.io.FileNotFoundException: Template html/org/apache/stanbol/ontologymanager/web/util/OntologyStatsResource/ontology not found.
      freemarker.template.Configuration.getTemplate(Configuration.java:580)
      freemarker.template.Configuration.getTemplate(Configuration.java:543)
      org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.renderPojo(ViewableWriter.java:90)
      org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:74)
      org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:43)
      com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
      com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1448)
      com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1360)
      com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1350)
      com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
      com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
      org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
      org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:78)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.stanbol.commons.httpqueryheaders.impl.QueryHeadersFilter.doFilter(QueryHeadersFilter.java:75)
      org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
      org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilterHttp(ResourceServingFilter.java:148)
      org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilter(ResourceServingFilter.java:91)
      org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
      org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
      org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
      org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
      org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
      org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:278)
      org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:174)

      Attachments

        Activity

          People

            enridaga Enrico Daga
            robyrobot Roberto Iannone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: