[ERROR]-[2019-04-25 15:22:00]-[org.b3log.symphony.service.ArticleQueryService:1569]: Organizes article [1555745058690] failed
java.lang.NullPointerException
[ERROR]-[2019-04-25 15:22:00]-[org.b3log.symphony.service.ArticleQueryService:1569]: Organizes article [1555744835700] failed
java.lang.NullPointerException
[ERROR]-[2019-04-25 15:22:00]-[org.b3log.latke.servlet.renderer.AbstractFreeMarkerRenderer:131]: Renders template [search-articles.ftl] failed [Request [
method=GET,
URL=http://qiankunpingtai.cn:443/symphony/search,
contentType=null,
characterEncoding=UTF-8,
local=[
addr=127.0.0.1,
port=8081,
name=localhost],
remote=[
addr=61.130.*.*,
port=45628,
host=127.0.0.1],
headers=[
host=qiankunpingtai.cn:443
remote-host=61.130.*.*
x-real-ip=61.130.*.*
x-forwarded-for=61.130.*.*
connection=close
accept=*/*
user-agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
accept-encoding=gzip, deflate
]
]]
FreeMarker template error:
The following has evaluated to null or missing:
==> article.articleTagObjs [in template "classic/common/list-item.ftl" at line 22, column 16]
Tip: It's the step after the last dot that caused this error, not those before it.
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
FTL stack trace ("~" means nesting-related):
- Failed at: #list article.articleTagObjs as artic... [in template "classic/common/list-item.ftl" at line 22, column 9]
- Reached through: #include "common/list-item.ftl" [in template "classic/macro-list.ftl" in macro "list" at line 28, column 9]
- Reached through: @list listData=articles [in template "classic/search-articles.ftl" at line 42, column 25]
Java stack trace (for programmers):
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.Expression.assertNonNull(Expression.java:233)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:103)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:93)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.include(Environment.java:2582)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:366)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:317)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:242)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:642)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:107)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:93)
at freemarker.core.Environment.visit(Environment.java:366)
at freemarker.core.Environment.invoke(Environment.java:775)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at org.b3log.latke.servlet.renderer.AbstractFreeMarkerRenderer.genHTML(AbstractFreeMarkerRenderer.java:154)
at org.b3log.symphony.processor.SkinRenderer.genHTML(SkinRenderer.java:137)
at org.b3log.latke.servlet.renderer.AbstractFreeMarkerRenderer.render(AbstractFreeMarkerRenderer.java:125)
at org.b3log.latke.servlet.DispatcherServlet.result(DispatcherServlet.java:118)
at org.b3log.latke.servlet.DispatcherServlet.handle(DispatcherServlet.java:97)
at org.b3log.latke.servlet.DispatcherServlet.service(DispatcherServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
[WARN ]-[2019-04-25 15:22:06]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post
相关帖子
- 其他回帖
-
qiankunpingtai •作者
[DEBUG]-[2019-04-18 10:53:39]-[org.b3log.symphony.SymphonyServletListener:194]: Request made from a search engine [User-Agent=Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)] [ERROR]-[2019-04-18 10:54:03]-[org.b3log.symphony.util.Geos:152]: Can't get location from Taobao [ip=113.140.16.75] java.io.IOException: Server returned HTTP response code: 502 for URL: http://ip.taobao.com/service/getIpInfo.php?ip=113.140.16.75 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at org.b3log.symphony.util.Geos.getAddressTaobao(Geos.java:135) at org.b3log.symphony.util.Geos.getAddress(Geos.java:77)
-
qiankunpingtai •作者
[WARN ]-[2019-04-25 15:16:52]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/thumbs-down [WARN ]-[2019-04-25 15:16:52]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/wechat [WARN ]-[2019-04-25 15:16:53]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:53]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/weibo [WARN ]-[2019-04-25 15:16:53]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/twitter [WARN ]-[2019-04-25 15:16:54]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/chevron-right [WARN ]-[2019-04-25 15:16:54]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/google [WARN ]-[2019-04-25 15:16:54]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/link [WARN ]-[2019-04-25 15:16:54]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/chevron-left [WARN ]-[2019-04-25 15:16:55]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/star [WARN ]-[2019-04-25 15:16:55]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/view [WARN ]-[2019-04-25 15:16:56]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [refresh, requestURI=/symphony/member/refresh] [WARN ]-[2019-04-25 15:16:57]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [iconAsk, requestURI=/symphony/member/iconAsk] [WARN ]-[2019-04-25 15:16:57]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [perfect, requestURI=/symphony/member/perfect] [WARN ]-[2019-04-25 15:16:57]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [locked, requestURI=/symphony/member/locked] [WARN ]-[2019-04-25 15:16:58]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [icon-report, requestURI=/symphony/member/icon-report] [WARN ]-[2019-04-25 15:16:58]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [goods, requestURI=/symphony/member/goods] [WARN ]-[2019-04-25 15:17:01]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [addfile, requestURI=/symphony/member/addfile] [WARN ]-[2019-04-25 15:17:01]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: Not found user [star, requestURI=/symphony/member/star] [WARN ]-[2019-04-25 15:18:18]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/settings/refresh [WARN ]-[2019-04-25 15:18:18]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/settings/iconAsk [WARN ]-[2019-04-25 15:18:18]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/settings/perfect [ERROR]-[2019-04-25 15:18:22]-[org.b3log.symphony.service.ArticleQueryService:1569]: Organizes article [1555745058690] failed
-
qiankunpingtai •作者
[WARN ]-[2019-04-25 15:16:09]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/settings/avatar [WARN ]-[2019-04-25 15:16:19]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:25]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:30]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/settings/function [WARN ]-[2019-04-25 15:16:30]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:35]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:38]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:42]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:45]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:48]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:48]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/refresh [WARN ]-[2019-04-25 15:16:48]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/perfect [WARN ]-[2019-04-25 15:16:50]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 401, /symphony/post [WARN ]-[2019-04-25 15:16:50]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/iconAsk [WARN ]-[2019-04-25 15:16:51]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/thumbs-up [WARN ]-[2019-04-25 15:16:51]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/down [WARN ]-[2019-04-25 15:16:51]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/chevron-down [WARN ]-[2019-04-25 15:16:52]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/comments [WARN ]-[2019-04-25 15:16:52]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/icon-report [WARN ]-[2019-04-25 15:16:52]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 404, /symphony/article/heart
- 查看全部回帖