Error when creating a template by excel file

2
Hi, I updated my excel importer to the latest version (v3.3) and I tried creating a new template by an excel file that worked properly on the previous version but an error occurred. Here is the error and thank you. An error has occurred while handling the request. [User 'root' with roles 'FrontOffice_Administrator'] ld: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: Document could not be read, because: null at ExcelImporter.IVK_SaveContinue_CreateTemplateFromDoc (JavaAction : 'Get the columns from the template document') Advanced stacktrace: at mq.a(SourceFile:187) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: Document could not be read, because: null at com.mendix.core.Core.execute(SourceFile:225) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: Document could not be read, because: null at hA.b(SourceFile:204) Caused by: com.mendix.core.CoreException: Document could not be read, because: null at excelimporter.reader.readers.ExcelReader.getHeaders(ExcelReader.java:182) Caused by: java.lang.NullPointerException at excelimporter.reader.readers.ExcelReader.getExcelFile(ExcelReader.java:437) at excelimporter.reader.readers.ExcelReader.getHeaders(ExcelReader.java:168) at excelimporter.reader.ExcelImporter.getColumns(ExcelImporter.java:54) at excelimporter.actions.GetHeaderInformationFromExcelFile.executeAction(GetHeaderInformationFromExcelFile.java:42) at excelimporter.actions.GetHeaderInformationFromExcelFile.executeAction(GetHeaderInformationFromExcelFile.java:20) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hA.b(SourceFile:193) at com.mendix.core.Core.execute(SourceFile:219) at lk.a(SourceFile:69) at mq.a(SourceFile:72) at mp.a(SourceFile:151) at mp.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hA.b(SourceFile:193) at com.mendix.core.Core.execute(SourceFile:219) at gl.execute(SourceFile:186) at ja.a(SourceFile:319) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:157) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:148) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:147) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:143) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192)
asked
1 answers
0

Hi Rami, How did you resolve this issue with importing xls in Acceptance env 4.4.0.

I am getting this error too, when trying to create template from xls: lg: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: Document could not be read, because: Access is denied at ExcelImporter.IVKSaveContinueCreateTemplateFromDoc (JavaAction : 'Get the columns from the template document')

Advanced stacktrace: at mt.a(SourceFile:187) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: Document could not be read, because: Access is denied at com.mendix.core.Core.execute(SourceFile:232)

And similarly also getting error when trying to upload xls using existing template:

lg: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreException: Document could not be imported, because: Access is denied at ExcelImporter.IVK_ImportTemplateDocument (JavaAction : 'Call 'StartImportByTemplate'')

Advanced stacktrace: at mt.a(SourceFile:187) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreException: Document could not be imported, because: Access is denied at com.mendix.core.Core.execute(SourceFile:232)

answered