2 kingson wu Kingson_Wu 于 2014.07.10 12:49 提问

war包提交到sae后请求失败(post请求本地测试是正确的,微信公众平台开发)

121.32.130.122 [10/Jul/2014:11:33:38 +0800]
JAVA_SAE_Fatal_error: /coreServletjava.lang.NullPointerException

at org.kxw.weixin.servlet.CoreServlet.doPost(CoreServlet.java:59)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)

at com.sina.sae.servlet.SaeServletHandler.doHandle(SaeServletHandler.java:49)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at com.sina.sae.webapp.SaeWebAppContext.doScope(SaeWebAppContext.java:166)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:259)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)

at com.sina.sae.handler.SaeUserInfoHandler.handle(SaeUserInfoHandler.java:106)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)

at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:305)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)

at org.eclipse.jetty.server.Server.handle(Server.java:346)

at org.eclipse.jetty.server.HttpConnection.handleReques
yq33.javaruntime

2个回答

xingtaijuan
xingtaijuan   2014.09.11 00:19

是不是session问题?

abcdefg2343
abcdefg2343   2014.12.27 17:51

后来问题解决了么? 我遇到了一样的问题、

Kingson_Wu
Kingson_Wu 好像是打包的时候排除servlet对应的jar就可以啦,因为sae的容器已经有了servlet的jar
3 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!