|
楼主 |
发表于 2017-6-6 14:47:25
|
显示全部楼层
引入两个jar包后,执行 ActionResult actionResult = ActionEngine.login2(username, password, ip, language, loginDate, null, ActionUtils.JSON_CONTENT_TYPE, null);
报错:
[14:44:06|ERROR|(com.justep.biz.client.ActionEngine)]=[null]
java.lang.NullPointerException
at com.justep.biz.client.ActionEngine.invokeActions(Unknown Source)
at com.justep.biz.client.ActionEngine.__login2(Unknown Source)
at com.justep.biz.client.ActionEngine.login2(Unknown Source)
at com.yourong.yrprocess.LoginServlet.validateUserByPassword(LoginServlet.java:89)
at com.yourong.yrprocess.LoginServlet.service(LoginServlet.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
|
|