java.lang.RuntimeException: Could not resolve external workbook name 'CP.xls'. Workbook environment has not been set up.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via coderanch.com by Unknown author, 1 year ago
Could not resolve external workbook name 'CP.xls'. Workbook environment has not been set up.
via Coderanch by Jigar Naik, 1 year ago
Could not resolve external workbook name 'CP.xls'. Workbook environment has not been set up.
via GitHub by yury
, 1 year ago
Could not resolve external workbook name 'Documents and SettingsmalekruzikMy DocumentsMy Dropboxpl33_bloki.xls'. Workbook environment has not been set up.
via Stack Overflow by Abid357
, 1 year ago
Could not resolve external workbook name 'b.xlsx'. Workbook environment has not been set up.
via filegala.com by Unknown author, 1 year ago
Could not resolve external workbook name 'GMA%204.5.x-Fast%20Fail%20Test%20Script.xls'. Workbook environment has not been set up.
via Stack Overflow by Deepak Kumar
, 1 year ago
Could not resolve external workbook name '/**/**.xlsx'. Workbook environment has not been set up.
java.lang.RuntimeException: Could not resolve external workbook name 'CP.xls'. Workbook environment has not been set up.
at org.apache.poi.ss.formula.OperationEvaluationContext.createExternSheetRefEvaluator(OperationEvaluationContext.java:87)
at org.apache.poi.ss.formula.OperationEvaluationContext.getRef3DEval(OperationEvaluationContext.java:244)
at org.apache.poi.ss.formula.WorkbookEvaluator.getEvalForPtg(WorkbookEvaluator.java:561)
at org.apache.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:439)
at org.apache.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:260)
at org.apache.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:206)
at org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.evaluateFormulaCellValue(HSSFFormulaEvaluator.java:317)
at com.ofss.excel.read.usermodel.ExcelReader.displayExcelToConsole(ExcelReader.java:61)
at com.ofss.excel.read.usermodel.ExcelReader.main(ExcelReader.java:34)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.