Re: Time for another release?

2017-01-23 Thread Andreas Beeker
I would go for another beta soon.
Who will be the release manager?

Andi

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



[Bug 60625] Rendering issue with background and shape overlayed by image

2017-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60625

--- Comment #2 from Andreas Beeker  ---
The file is also available at [1] - I've seen a few rendering issues and try to
cope with them (... hopefully soon ...)
As we've also uploaded files from tika runs, I probably will upload it also to
our test corpus, 


[1] https://people.apache.org/~kiwiwings/spring-boot.pptx

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Time for another release?

2017-01-23 Thread Nick Burch

Hi All

We seem to be about 2 months after our last beta release now, and about 4 
months since our last final release.


Is it worth doing another beta soon, to let people test possible breaking 
changes from some of the enum and deprecated stuff? Or hold off a bit 
longer, and just go for 3.16 final?


Nick

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



[Bug 60633] Apache POI 3.13 generated powerpoint file cannot be opened

2017-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60633

Nick Burch  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #2 from Nick Burch  ---
Apache POI 3.13 is about 18 months old now, and a lot of bugs have been fixed
since then - see http://poi.apache.org/changes.html#3.13 . Can you please try
with a more recent version of POI, and see if the issue still remains?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60633] Apache POI 3.13 generated powerpoint file cannot be opened

2017-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60633

--- Comment #1 from Javen O'Neal  ---
> File pptFile = File.createTempFile("fileName", ".ppt")
.pptx?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60633] New: Apache POI 3.13 generated powerpoint file cannot be opened

2017-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60633

Bug ID: 60633
   Summary: Apache POI 3.13 generated powerpoint file cannot be
opened
   Product: POI
   Version: unspecified
  Hardware: Macintosh
OS: Mac OS X 10.1
Status: NEW
  Severity: normal
  Priority: P2
 Component: POI Overall
  Assignee: dev@poi.apache.org
  Reporter: suhaasta...@engineer.com
  Target Milestone: ---

Created attachment 34668
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34668=edit
The image shows the error that is seen while opening the pptx file

Apache poi - 3.13 is being used to generate a pptx file. The generated file
cannot be opened: when attempted to open, the file displays that it has a
problem with the content and offers an option to "repair". After clicking on
"repair" a couple of times, the file does open up eventually. 
XSLFTableCell cell
XSLFTextParagraph p
XSLFTextRun line

XSLFTable tbl = slide.createTable();
tbl.setAnchor(new Rectangle(X, Y, WIDTH, HEIGHT));

XSLFTableRow headerRow = tbl.addRow();
headerRow.setHeight(45);
//Loop through the data collection and populate rows and columns. 
for(int i = 0; i < numberOfCols; i++) {
XSLFTableCell th = headerRow.addCell();
p = th.addNewTextParagraph();
p.setTextAlign(TextAlign.CENTER);
line = p.addNewTextRun();
.}
for (int item=0; item < 8; item++)
{
XSLFTableRow itemRow = tbl.addRow();.}

//finally write the file
File pptFile = File.createTempFile("fileName", ".ppt")

FileOutputStream out = new FileOutputStream(pptFile)

ppt.write(out)
out.close()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60626] ArrayIndexOutOfBoundsException in EvilUnclosedBRFixingInputStream

2017-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60626

--- Comment #2 from Joachim Piketz  ---
Created attachment 34664
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34664=edit
Alternative implementation of EvilUnclosedBRFixingInputStream

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60626] ArrayIndexOutOfBoundsException in EvilUnclosedBRFixingInputStream

2017-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60626

Joachim Piketz  changed:

   What|Removed |Added

 OS||All

--- Comment #1 from Joachim Piketz  ---
I used a FilterInputStream to test if it works with another
EvilUnclosedBRFixingInputStream implementation, and it did. I have attached the
file, but not tested it any further.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60626] New: ArrayIndexOutOfBoundsException in EvilUnclosedBRFixingInputStream

2017-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60626

Bug ID: 60626
   Summary: ArrayIndexOutOfBoundsException in
EvilUnclosedBRFixingInputStream
   Product: POI
   Version: 3.16-dev
  Hardware: PC
Status: NEW
  Severity: blocker
  Priority: P2
 Component: XSSF
  Assignee: dev@poi.apache.org
  Reporter: p...@uniquare.com
  Target Milestone: ---

Created attachment 34663
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34663=edit
VML file that causes the problem

I have an Excel file that can't be loaded. I found that
EvilUnclosedBRFixingInputStream has a problem with a VML file with was part of
my Excel file. 

The following sample code reproduces the problem:

String xmlFile = "vmlDrawing3.vml";
byte[] data = Files.readAllBytes(Paths.get(xmlFile));
ByteArrayInputStream bis = new ByteArrayInputStream(data);
EvilUnclosedBRFixingInputStream is = new EvilUnclosedBRFixingInputStream(bis);
DocumentHelper.readDocument(is);

The following Exception is thrown, however not in all Operating Systems/JDK
Versions:

   Caused by: java.lang.ArrayIndexOutOfBoundsException: 2048
 at org.apache.xerces.impl.io.UTF8Reader.read(UTF8Reader.java:336)
 at
org.apache.xerces.impl.XMLEntityScanner.load(XMLEntityScanner.java:1753)
 at
org.apache.xerces.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:834)
 at
org.apache.xerces.impl.XMLScanner.scanAttributeValue(XMLScanner.java:772)
 at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:529)
 at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:181)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1653)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
 at
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:875)
 at
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
 at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
 at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:230)
 at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:298)
 at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
 at
org.apache.poi.util.DocumentHelper.readDocument(DocumentHelper.java:137)
...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org