ASF Bugzilla – Attachment 31608 Details for
Bug 56514
NullPointerException in XSSFSimpleShape constructor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Unit test case
TestXSSFDrawingGetShapes.java (text/plain), 601 bytes, created by
Joachim Herrmann
on 2014-05-12 13:33:53 UTC
(
hide
)
Description:
Unit test case
Filename:
MIME Type:
Creator:
Joachim Herrmann
Created:
2014-05-12 13:33:53 UTC
Size:
601 bytes
patch
obsolete
>package poi; > >import java.io.FileInputStream; > >import junit.framework.TestCase; > >import org.apache.poi.xssf.usermodel.XSSFDrawing; >import org.apache.poi.xssf.usermodel.XSSFSheet; >import org.apache.poi.xssf.usermodel.XSSFWorkbook; > >public class TestXSSFDrawingGetShapes extends TestCase { > > public void testXSSFSimpleShapeCausesNPE() throws Exception { > XSSFWorkbook wb = new XSSFWorkbook( > new FileInputStream("test-data/shapes.xlsx")); > XSSFSheet sheet = wb.getSheetAt(0); > XSSFDrawing drawing = sheet.createDrawingPatriarch(); > drawing.getShapes(); > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 56514
:
31607
| 31608