51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2264|回复: 1
打印 上一主题 下一主题

[原创] 求助QC11不能使用邮箱功能

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-2-10 10:35:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我是一个新手,刚刚安装完QC11.00,想配置一下邮件功能可是怎么也不成功,企业内部邮箱服务器:172.22.64.65 ,内部邮件一直正常。
有劳各位帮助
详细信息报错信息Messages:
Failed to Test Send Mail;
Failed to send mail. Please make sure that the server '172.22.64.65' of type smtp is configured correctly;

Stack Trace:
java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
at java.util.Arrays.asList(Arrays.java:3343)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:463)
        wrapped in com.mercury.optane.core.CTdException:
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:477)
at com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:826)
        wrapped in com.mercury.optane.core.CTdException: Failed to send mail. Please make sure that the server '172.22.64.65' of type smtp is configured correctly
at com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:839)
at com.mercury.td.saserver.requests.TestSendMail.execute(TestSendMail.java:26)
at com.mercury.optane.core.web.RequestsDispatcher.execute(RequestsDispatcher.java:91)
        wrapped in com.mercury.optane.core.CTdException: Failed to Test Send Mail
at com.mercury.optane.core.web.RequestsDispatcher.execute(RequestsDispatcher.java:98)
at com.mercury.td.web.CAbsServlet.executeFunction(CAbsServlet.java:456)
at com.mercury.td.web.CAbsServlet.processRequest(CAbsServlet.java:448)
at com.mercury.td.web.CAbsServlet.doPost(CAbsServlet.java:344)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.hp.qc.core.utils.gzipfilter.GZIPFilter.doFilter(GZIPFilter.java:30)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.mercury.optane.core.state.ServerStatusFilter.doFilter(ServerStatusFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    开心
    2015-11-15 23:14
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
    发表于 2012-2-10 12:12:47 | 只看该作者
    回复 1# xuwlion


        这里用的是SMTP邮件服务,你确定你的SMTP服务起来了么?
        '172.22.64.65' of type smtp is configured correctly...安装QC的时候有设置的说.
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-20 06:59 , Processed in 0.073934 second(s), 29 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表