Title:
An exception occurred while using action=write. at coldfusion.excel.Excel.writeExcel Error when using cfspreadsheet tag.
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Masha Edelen / Masha Edelen (Masha Edelen)
Created: 10/06/2016
Components: Document Management, Office Integration
Versions: 10.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description:
Unable to use cfspreadsheet tag after the update with the following code:
<cfspreadsheet action="write"
name="BuildExcel"
filename="#filePath#\#fileName#.xls"
overwrite="true"
sheetname = "Custom sheet name with a #Variable#">
Getting an error
An exception occurred while using action=write. java.lang.NullPointerException
Steps to Reproduce:
<cfspreadsheet action="write"
name="BuildExcel"
filename="#filePath#\#fileName#.xls"
overwrite="true"
sheetname = "Custom sheet name with a #Variable#">
Actual Result:
Error
Expected Result:
Writing spreadsheet.
Any Workarounds:
Removing the sheetname solves the problem.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4195395
External Customer Info:
External Company:
External Customer Name: Masha Edelen
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 2008, CF10, Update 21
Attachments:
Comments: