Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Tomcat: groovy.lang.MissingPropertyException: No such property: sheetName for class: org.apache.poi.hssf.usermodel.HSSFSheet #8

Open
kddev1109 opened this issue Feb 26, 2014 · 0 comments

Comments

@kddev1109
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant