google-code-export / b3log-solo

Automatically exported from code.google.com/p/b3log-solo
0 stars 1 forks source link

0.4.0 beta1 统计丢失问题 #330

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SEVERE: Can not add comment on article
org.json.JSONException: JSONObject["statisticBlogCommentCount"] not found.
        at org.json.JSONObject.get(JSONObject.java:521)
        at org.json.JSONObject.getInt(JSONObject.java:582)
        at org.b3log.solo.util.Statistics.incBlogCommentCount(Statistics.java:33
2)
        at org.b3log.solo.web.processor.CommentProcessor.addArticleCommentIntern
al(CommentProcessor.java:498)
        at org.b3log.solo.web.processor.CommentProcessor.addArticleComment(Comme
ntProcessor.java:379)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(R
untime.java:100)
        at org.b3log.latke.servlet.RequestProcessors.invoke(RequestProcessors.ja
va:119)
        at org.b3log.latke.servlet.HTTPRequestDispatcher.dispatch(HTTPRequestDis
patcher.java:169)
        at org.b3log.latke.servlet.HTTPRequestDispatcher.service(HTTPRequestDisp
atcher.java:139)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511
)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1166)
        at org.b3log.solo.filter.InitCheckFilter.doFilter(InitCheckFilter.java:8
1)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at org.b3log.solo.filter.PermalinkFilter.doFilter(PermalinkFilter.java:9
3)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at org.b3log.solo.filter.PageCacheFilter.doFilter(PageCacheFilter.java:1
08)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at com.google.appengine.tools.development.HeaderVerificationFilter.doFil
ter(HeaderVerificationFilter.java:35)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(Serve
BlobFilter.java:60)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at com.google.appengine.tools.development.StaticFileFilter.doFilter(Stat
icFileFilter.java:122)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at com.google.appengine.tools.development.BackendServersFilter.doFilter(
BackendServersFilter.java:97)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1157)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
88)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
82)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
65)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

        at com.google.appengine.tools.development.DevAppEngineWebAppContext.hand
le(DevAppEngineWebAppContext.java:78)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
        at com.google.appengine.tools.development.JettyContainerService$ApiProxy
Handler.handle(JettyContainerService.java:362)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54
2)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:938)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:409)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
ava:582)

Original issue reported on code.google.com by shore1...@gmail.com on 15 Dec 2011 at 6:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by dl88250 on 15 Dec 2011 at 6:36

GoogleCodeExporter commented 9 years ago
将在 0.4.0 beta2 修复。

目前可以更新最新代码,并运行 /fix/restore-stat.do 进行修复。

Original comment by dl88250 on 19 Dec 2011 at 4:44

GoogleCodeExporter commented 9 years ago
0.4.0 beta2 修复,周末发布。

Original comment by dl88250 on 20 Dec 2011 at 10:12