poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51963] Comma in sheet name may cause "IllegalArgumentException: References passed to the AreaReference must be contiguous..." exception
Date Wed, 05 Oct 2011 17:45:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51963

--- Comment #2 from Paul Spencer <paulsp@apache.org> 2011-10-05 17:45:40 UTC ---
Created attachment 27698
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27698
The only sheet is named "Abc,1"

***
* Sample of code that generated the exception.
***
String RegionName = "Intekon.ProdCodes"
Name namedRegion = workbook.getName(regionName);
if (namedRegion != null && !namedRegion.isDeleted()) {
  if ((sheetName == null) || sheetName.equals(namedRegion.getSheetName())) {
    regions.add(namedRegion);
  }
}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message