scala.MatchError: null when consuming a Webservice

2
Hi all, I have strange issue here. I have published a Webservice which is consumed by client. As soon as a request with subsection arrives i get scala.MatchError:null error. All fields are optional so no reason for this error. Example when error occurs: <patient> <SapNr>0685194266</SapNr> <Doctors> <PatientPartnerElement> <Index>1</Index> <No>0685194275</No> <ValidTo>99991231</ValidTo> <ValidFrom>20180430</ValidFrom> <RelationTyp>ZTHR01</RelationTyp> </PatientPartnerElement> </Doctors> </patient> and without error <patient> <SapNr>0685194266</SapNr> </patient>   Exception occurred while processing webservice request -------- com.mendix.integration.WebserviceException: Internal server error at com.mendix.integration.webservices.publish.handling.WebServiceCallBodyProcessor.executeMicroflow(WebServiceCallBodyProcessor.scala:108) at com.mendix.integration.webservices.publish.handling.WebServiceActionMonitor$.$anonfun$run$1(WebServiceActionMonitor.scala:22) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) at com.mendix.integration.webservices.publish.handling.WebServiceMonitoredAction.monitor(WebServiceActionMonitor.scala:27) at com.mendix.integration.webservices.publish.handling.WebServiceActionMonitor$.run(WebServiceActionMonitor.scala:20) at com.mendix.integration.webservices.publish.handling.WebServiceCallBodyProcessor.executeOperation(WebServiceCallBodyProcessor.scala:42) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$4(WebserviceCallHandler.scala:70) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$4$adapted(WebserviceCallHandler.scala:62) at scala.Option.fold(Option.scala:158) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$2(WebserviceCallHandler.scala:62) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$2$adapted(WebserviceCallHandler.scala:61) at scala.Option.fold(Option.scala:158) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.handleSoapRequest(WebserviceCallHandler.scala:61) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.processRequest(WebserviceCallHandler.scala:38) at com.mendix.integration.webservices.WebserviceModuleImpl.handleWebserviceCall(WebserviceModuleImpl.scala:60) at com.mendix.integration.requesthandlers.WebserviceRequestHandler.processRequest(WebserviceRequestHandler.scala:12) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:68) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:858) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748) Caused by: scala.MatchError: null at com.mendix.integration.webservices.publish.handling.WebServiceCallBodyProcessor.getMendixObjectValue(WebServiceCallBodyProcessor.scala:205) at com.mendix.integration.webservices.publish.handling.WebServiceCallBodyProcessor.addMicroflowParameter(WebServiceCallBodyProcessor.scala:161) at com.mendix.integration.webservices.publish.handling.WebServiceCallBodyProcessor.processInputParameters(WebServiceCallBodyProcessor.scala:124) at com.mendix.integration.webservices.publish.handling.WebServiceCallBodyProcessor.executeMicroflow(WebServiceCallBodyProcessor.scala:83) at com.mendix.integration.webservices.publish.handling.WebServiceActionMonitor$.$anonfun$run$1(WebServiceActionMonitor.scala:22) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) at com.mendix.integration.webservices.publish.handling.WebServiceMonitoredAction.monitor(WebServiceActionMonitor.scala:27) at com.mendix.integration.webservices.publish.handling.WebServiceActionMonitor$.run(WebServiceActionMonitor.scala:20) at com.mendix.integration.webservices.publish.handling.WebServiceCallBodyProcessor.executeOperation(WebServiceCallBodyProcessor.scala:42) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$4(WebserviceCallHandler.scala:70) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$4$adapted(WebserviceCallHandler.scala:62) at scala.Option.fold(Option.scala:158) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$2(WebserviceCallHandler.scala:62) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.$anonfun$handleSoapRequest$2$adapted(WebserviceCallHandler.scala:61) at scala.Option.fold(Option.scala:158) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.handleSoapRequest(WebserviceCallHandler.scala:61) at com.mendix.integration.webservices.publish.handling.WebserviceCallHandler.processRequest(WebserviceCallHandler.scala:38) at com.mendix.integration.webservices.WebserviceModuleImpl.handleWebserviceCall(WebserviceModuleImpl.scala:60) at com.mendix.integration.requesthandlers.WebserviceRequestHandler.processRequest(WebserviceRequestHandler.scala:12) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:68) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:858) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748)  
asked
1 answers
0

Hey Dalibor,

Did you manage to resolve this issue?

i am having the same problems, 

Kind regards,

Rob vd Berg

answered