You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the grails-excel-import plugin during run-app, the import of the file works perfectly.
After building a WAR and running the same on Tomcat, we are seeing the following error:
groovy.lang.MissingPropertyException: No such property: sheetName for class: org.apache.poi.hssf.usermodel.HSSFSheet
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassGetPropertySite.getProperty(PojoMetaClassGetPropertySite.java:35)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at org.grails.plugins.excelimport.ExcelImportService.convertColumnMapOneRow(ExcelImportService.groovy:168)
at org.grails.plugins.excelimport.ExcelImportService$convertColumnMapOneRow.callCurrent(Unknown Source)
at org.grails.plugins.excelimport.ExcelImportService.convertColumnMapManyRows(ExcelImportService.groovy:131)
at org.grails.plugins.excelimport.ExcelImportService$convertColumnMapManyRows.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.grails.plugins.excelimport.ExcelImportService.convertColumnMapConfigManyRows(ExcelImportService.groovy:102)
at org.grails.plugins.excelimport.ExcelImportService$convertColumnMapConfigManyRows.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.grails.plugins.excelimport.ExcelImportService.columns(ExcelImportService.groovy:82)
at org.grails.plugins.excelimport.ExcelImportService.columns(ExcelImportService.groovy)
at org.grails.plugins.excelimport.ExcelImportService$columns.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.example.package.SomeService.importStuff(SomeService.groovy:253)
This is being observed while calling ExcelImportService.columns as follows:
While using the grails-excel-import plugin during run-app, the import of the file works perfectly.
After building a WAR and running the same on Tomcat, we are seeing the following error:
groovy.lang.MissingPropertyException: No such property: sheetName for class: org.apache.poi.hssf.usermodel.HSSFSheet
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassGetPropertySite.getProperty(PojoMetaClassGetPropertySite.java:35)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at org.grails.plugins.excelimport.ExcelImportService.convertColumnMapOneRow(ExcelImportService.groovy:168)
at org.grails.plugins.excelimport.ExcelImportService$convertColumnMapOneRow.callCurrent(Unknown Source)
at org.grails.plugins.excelimport.ExcelImportService.convertColumnMapManyRows(ExcelImportService.groovy:131)
at org.grails.plugins.excelimport.ExcelImportService$convertColumnMapManyRows.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.grails.plugins.excelimport.ExcelImportService.convertColumnMapConfigManyRows(ExcelImportService.groovy:102)
at org.grails.plugins.excelimport.ExcelImportService$convertColumnMapConfigManyRows.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.grails.plugins.excelimport.ExcelImportService.columns(ExcelImportService.groovy:82)
at org.grails.plugins.excelimport.ExcelImportService.columns(ExcelImportService.groovy)
at org.grails.plugins.excelimport.ExcelImportService$columns.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.example.package.SomeService.importStuff(SomeService.groovy:253)
This is being observed while calling ExcelImportService.columns as follows:
columnList = excelImportService.columns(workbook, columnConfig)
Any suggestions for this issue or any resolution would be highly appreciated.
Thanks,
KD
The text was updated successfully, but these errors were encountered: