Hi Isomorphic,
does this stack trace (using latest 11.1p) make sense to you?
It was thrown in a DMI for request.addToCriteria(), where resellerSet is a HashSet<Long> filled with some entries.
Best regards
Blama
does this stack trace (using latest 11.1p) make sense to you?
Code:
=== 2018-01-31 09:31:06,587 [ec-1] DEBUG DataSourceDMI - Invocation threw exception java.lang.NullPointerException at com.isomorphic.criteria.LogicalOperator.convertToMap(LogicalOperator.java:70) at com.isomorphic.criteria.LogicalOperator.convertToMap(LogicalOperator.java:72) at com.isomorphic.criteria.AdvancedCriteria.getCriteriaAsMap(AdvancedCriteria.java:370) at com.isomorphic.datasource.DSRequest.setAdvancedCriteria(DSRequest.java:1080) at com.isomorphic.datasource.DSRequest.addToCriteria(DSRequest.java:6739) at com.isomorphic.datasource.DSRequest.addToCriteria(DSRequest.java:6662) at com.isomorphic.datasource.DSRequest.addToCriteria(DSRequest.java:6605) at com.lmscompany.lms.server.worker.T_RESELLER.fetchDirectionDown(T_RESELLER.java:20) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.isomorphic.base.Reflection._invokeMethod(Reflection.java:580) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:895) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:434) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2811) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:230) at com.lmscompany.lms.server.LMSIDACall.handleDSRequest(LMSIDACall.java:185) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:187) at com.lmscompany.lms.server.LMSIDACall.processRequest(LMSIDACall.java:95) at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:119) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:176) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260) at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 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)
Code:
public DSResponse fetchDirectionDown(DSRequest request, HttpServletRequest servletRequest) throws Exception { ..... request.addToCriteria("ID", DefaultOperators.InSet, resellerSet); return request.execute(); }
Blama
Comment