开发者社区> 问答> 正文

创建套件时, url地址访问异常http statusCode is500,接收不到值



/** url中的签名 **/
                String msgSignature = request.getParameter("signature");
                /** url中的时间戳 **/
                String timeStamp = request.getParameter("timestamp");
                /** url中的随机字符串 **/
                String nonce = request.getParameter("nonce");
                System.out.println("msgSignature:"+msgSignature);

java.lang.NullPointerException
        at com.sun.servlet.TestDingDing.doGet(TestDingDing.java:75)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Unknown Source)

展开
收起
好久不见丶 2016-10-20 10:52:36 3629 0
2 条回答
写回答
取消 提交回答
  • Re创建套件时, url地址访问异常http statusCode is500,接收不到值
    已经fix了。原来会有两次调用,一次带参数一次不带。不带参数那次是因为安全问题故意做的保护性尝试。现在已经去掉不带参数的访问了。
    2016-10-20 18:28:03
    赞同 展开评论 打赏
  • Re创建套件时, url地址访问异常http statusCode is500,接收不到值
    接收不到值啊。

    -------------------------

    Re创建套件时, url地址访问异常http statusCode is500,接收不到值
    有遇到这问题又解决了的嘛
    2016-10-20 10:59:26
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里巴巴HTTP 2.0实践及无线通信协议的演进之路 立即下载
CDN助力企业网站进入HTTPS时代 立即下载
低代码开发师(初级)实战教程 立即下载