stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Bhatt <interface.pub...@ab-a.net>
Subject Re: Reasoners endpoint
Date Tue, 22 Jul 2014 15:43:45 GMT
I have the same error, with release-0.12, Tomcat on CentOS 5.x and Java 1.8

On 22-Jul-2014, at 19:32, Daniele Perlo <perlo.daniele@gmail.com> wrote:

> Hi all,
> 
> after a new Stanbol installation, at localhost:8080/reasoners, i found the
> page below
> 
> I use release-0.12  full/target launcher on a debian system openjdk7
> 
> *************Reasoners
> 
> The Stanbol Reasoners provides a set of services that take advantage of
> automatic inference engines.
> Active services
> 
> There are currently *get(activeServices) failed on instance of
> org.apache.stanbol.reasoners.web.resources.ReasoningServicesResource The
> problematic instruction: ---------- ==> ${it.activeServices?size} escaped
> ${it.activeServices?size?html} [on line 26, column 33 in
> html/org/apache/stanbol/reasoners/web/resources/ReasoningServicesResource/index]
> in user-directive common.page [on line 21, column 1 in
> html/org/apache/stanbol/reasoners/web/resources/ReasoningServicesResource/index]
> ---------- Java backtrace for programmers: ----------
> freemarker.template.TemplateModelException: get(activeServices) failed on
> instance of
> org.apache.stanbol.reasoners.web.resources.ReasoningServicesResource at
> freemarker.ext.beans.BeanModel.get(BeanModel.java:224) at
> freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.BuiltIn$sizeBI._getAsTemplateModel(BuiltIn.java:692) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
> freemarker.core.Environment.visit(Environment.java:221) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:221) at
> freemarker.core.Environment.visit(Environment.java:406) at
> freemarker.core.BodyInstruction.accept(BodyInstruction.java:93) at
> freemarker.core.Environment.visit(Environment.java:221) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:221) at
> freemarker.core.Macro$Context.runMacro(Macro.java:172) at
> freemarker.core.Environment.visit(Environment.java:614) at
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at
> freemarker.core.Environment.visit(Environment.java:221) at
> freemarker.core.EscapeBlock.accept(EscapeBlock.java:84) at
> freemarker.core.Environment.visit(Environment.java:221) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:221) at
> freemarker.core.Environment.process(Environment.java:199) at
> freemarker.template.Template.process(Template.java:259) at
> org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.renderPojo(ViewableWriter.java:90)
> at
> org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:74)
> at
> org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:43)
> at
> com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)
> at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
> at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
> at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
> at
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
> at
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
> at
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
> org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:339)
> at
> org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:300)
> at
> org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:93)
> at
> org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:50)
> at
> org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
> at
> org.apache.stanbol.commons.httpqueryheaders.impl.QueryHeadersFilter.doFilter(QueryHeadersFilter.java:84)
> at
> org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
> at
> org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
> at
> org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
> at
> org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
> at
> org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:84)
> at
> org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
> at
> org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
> at
> org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilterHttp(ResourceServingFilter.java:148)
> at
> org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilter(ResourceServingFilter.java:91)
> at
> org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
> at
> org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
> at
> org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
> at
> org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
> at
> org.apache.stanbol.commons.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:163)
> at java.security.AccessController.doPrivileged(Native Method) at
> javax.security.auth.Subject.doAsPrivileged(Subject.java:536) at
> org.apache.stanbol.commons.security.auth.AuthenticatingFilter.doFilter(AuthenticatingFilter.java:159)
> at
> org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
> at
> org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
> at
> org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
> at
> org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
> at
> org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:76)
> at
> org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:49)
> at
> org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> at org.eclipse.jetty.server.Server.handle(Server.java:370) at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
> at
> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
> at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
> at java.lang.Thread.run(Thread.java:744) Caused by:
> java.lang.reflect.InvocationTargetException at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606) at
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866) at
> freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:277)
> at freemarker.ext.beans.BeanModel.get(BeanModel.java:184) ... 91 more
> Caused by: java.lang.NullPointerException at
> org.apache.stanbol.reasoners.web.resources.ReasoningServicesResource.getActiveServices(ReasoningServicesResource.java:113)
> ... 98 more*
> ************
> -- 
> *****
> 
> *Perlo Daniele*


Mime
View raw message