Код:
server 09-26/15:19:07 ERROR [http-bio-0.0.0.0-8088-exec-5] CommonExecutor - moduleId
java.lang.NoSuchFieldError: moduleId
at ru.bitel.bgbilling.modules.rentsoft.server.bean.RentsoftPaymentManager.setServiceId(RentsoftPaymentManager.java:44)
at ru.bitel.bgbilling.modules.rentsoft.server.bean.RentsoftPaymentManager.<init>(RentsoftPaymentManager.java:35)
at ru.bitel.bgbilling.modules.rentsoft.server.action.web.ActionRentsoft.doAction(ActionRentsoft.java:21)
at bitel.billing.server.WebExecuter.executeAction(WebExecuter.java:446)
at bitel.billing.server.WebExecuter.doPost(WebExecuter.java:215)
at bitel.billing.server.WebExecuter.doGet(WebExecuter.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at ru.bitel.common.server.filters.MultipartFilter.doFilter(MultipartFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at ru.bitel.common.server.filters.XSSFilter.doFilter(XSSFilter.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at ru.bitel.common.server.filters.BGAuthFilter.doFilter(BGAuthFilter.java:315)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at ru.bitel.common.server.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Почему эта ошибка? в доке не написано как moduleId указать. Услуга рентсофт заведена одна!
Код:
private void setServiceId()
throws BGException
{
try
{
String query = "SELECT id FROM service WHERE mid=? LIMIT 1";
PreparedStatement ps = this.con.prepareStatement(query);
ps.setInt(1, this.moduleId);
ResultSet rs = ps.executeQuery();
if (rs.next()) {
this.serviceId = rs.getInt(1);
}
rs.close();
ps.close();
}
catch (SQLException ex)
{
throw new BGException(ex.getMessage(), ex);
}
}
тут падает, где указать moduleId в общем?
Код:
Информация о версии:
Клиент: вер. 6.2.848 / 14.12.2016 14:30:47
os: Windows 7; java: Java HotSpot(TM) 64-Bit Server VM, v.1.8.0_181
Сервер: вер. 6.2.899 / 08.06.2015 15:34:01
os: Windows 7; java: Java HotSpot(TM) Client VM, v.1.8.0_45
bill: вер. ?
ВНИМАНИЕ: клиентская версия: 6.2.97 / 14.12.2016 14:33:00
inet: вер. 6.2.707 / 18.01.2017 18:48:43
ВНИМАНИЕ: клиентская версия: 6.2.518 / 08.06.2015 15:34:16
npay: вер. 6.2.197 / 04.10.2016 19:12:21
ВНИМАНИЕ: клиентская версия: 6.2.201 / 02.06.2017 03:41:54
rentsoft: вер. 6.2.67 / 19.11.2018 18:05:10