While importing an xml I get te following error: An error has occurred while handling te request.

0
I'm trying to import an xml document. I've done the mappings en made a microflow to import the document. When I'm starting the microflow to import the document I'm getting the following error: An error has occurred while handling the request. [User 'Anonymous_3933de01-6ceb-4f7e-859d-d4e9a042371b' with roles 'Administrator'] com.mendix.core.CoreException: Exception occurred in action 'Microflow [Inkoop.IMPXML]', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.d(SourceFile:553) Caused by: com.mendix.core.CoreException: Exception occurred in microflow 'Inkoop.IMPXML' for activity 'Import XML document XMLDocument', all database changes executed by this microflow were rolled back at kM.b(SourceFile:252) Caused by: gD: Xml document should not be null at gk.a(SourceFile:51) at kM.a(SourceFile:72) at eR.executeAction(SourceFile:96) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:473) at it.b(SourceFile:155) at com.mendix.core.Core.execute(SourceFile:191) at dA.execute(SourceFile:183) at ju.a(SourceFile:299) at ju.a(SourceFile:230) at ju.processRequest(SourceFile:174) at fF.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:924) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:42) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662)
asked
1 answers
1

It says 'Xml document should not be null' so I'm guessing the filedocument you're using is empty (i.e. does not have a reference to an actual object)

Can you debug the microflow and see if the filedocument is actually there?

answered