[GUMP@vmgump]: Project ooxml-schemas (in module poi) failed

2016-08-15 Thread Gump [HEAD] :-(
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project ooxml-schemas has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 2 runs.
The current state of this project is 'Failed', with reason 'Build Timed Out'.
For reference only, the following projects are affected by this:
- ooxml-schemas :  POI
- poi-ooxml-schemas :  POI


Full details are available at:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [ooxml-schemas-[0-9]*[0-9T].jar] identifier set to 
project name
 -INFO- Failed with reason build timed out
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/gump_work/build_poi_ooxml-schemas.html
Work Name: build_poi_ooxml-schemas (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 hour 4 secs
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only -Dant.build.clonevm=true org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml compile-ooxml-xsds 
[Working Directory: /srv/gump/public/workspace/poi]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/poi/ooxml-lib/curvesapi-1.04.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.6.0.jar.orig:/srv/gump/public/workspace/poi/compile-lib/bcpkix-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/bcprov-ext-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/slf4j-api-1.7.12.jar
-
Buildfile: /srv/gump/public/workspace/poi/build.xml

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:

init:
 [echo] Using Ant: Apache Ant(TM) version 1.10.0alpha compiled on August 16 
2016 from ${ant.home}, Ant detected Java 1.8 (may be different than actual Java 
sometimes...)
 [echo] Using Java: 1.8.0_60/1.8.0_60-b27/25.60-b23/Java HotSpot(TM) 64-Bit 
Server VM from Oracle Corporation on Linux: 3.13.0-66-generic
 [echo] Using Findbugs: 3.0.1 for Java 1.8.0_60

check-ooxml-xsds:

fetch-ooxml-xsds:
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip
  [get] Getting: 
https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/xmldsig-core-schema.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdES.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdESv141.xsd
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib

check-compiled-ooxml-xsds:

compile-ooxml-xsds:
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-xsds
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-sources
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-classes
 [copy] Copying 2 files to /srv/gump/public/workspace/poi/build/xmlbean-xsds
 [copy] Copying 87 resources to 
/srv/gump/public/workspace/poi/build/xmlbean-xsds
  [xmlbean] Time to build schema type system: 6.036 seconds
  [xmlbean] Time to generate code: 11.291 seconds
 [copy] Copying 7 files to 
/srv/gump/public/workspace/poi/build/xmlbean-sources
[javac] Compiling 4575 source files to 

[GUMP@vmgump]: Project ooxml-schemas (in module poi) failed

2016-08-15 Thread Gump [HEAD] :-(
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project ooxml-schemas has an issue affecting its community integration.
This issue affects 2 projects.
The current state of this project is 'Failed', with reason 'Build Timed Out'.
For reference only, the following projects are affected by this:
- ooxml-schemas :  POI
- poi-ooxml-schemas :  POI


Full details are available at:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [ooxml-schemas-[0-9]*[0-9T].jar] identifier set to 
project name
 -INFO- Failed with reason build timed out
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/gump_work/build_poi_ooxml-schemas.html
Work Name: build_poi_ooxml-schemas (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 hour 4 secs
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only -Dant.build.clonevm=true org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml compile-ooxml-xsds 
[Working Directory: /srv/gump/public/workspace/poi]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/poi/ooxml-lib/curvesapi-1.04.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.6.0.jar.orig:/srv/gump/public/workspace/poi/compile-lib/bcpkix-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/bcprov-ext-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/slf4j-api-1.7.12.jar
-
Buildfile: /srv/gump/public/workspace/poi/build.xml

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:

init:
 [echo] Using Ant: Apache Ant(TM) version 1.10.0alpha compiled on August 15 
2016 from ${ant.home}, Ant detected Java 1.8 (may be different than actual Java 
sometimes...)
 [echo] Using Java: 1.8.0_60/1.8.0_60-b27/25.60-b23/Java HotSpot(TM) 64-Bit 
Server VM from Oracle Corporation on Linux: 3.13.0-66-generic
 [echo] Using Findbugs: 3.0.1 for Java 1.8.0_60

check-ooxml-xsds:

fetch-ooxml-xsds:
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip
  [get] Getting: 
https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/xmldsig-core-schema.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdES.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdESv141.xsd
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib

check-compiled-ooxml-xsds:

compile-ooxml-xsds:
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-xsds
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-sources
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-classes
 [copy] Copying 2 files to /srv/gump/public/workspace/poi/build/xmlbean-xsds
 [copy] Copying 87 resources to 
/srv/gump/public/workspace/poi/build/xmlbean-xsds
  [xmlbean] Time to build schema type system: 7.004 seconds
  [xmlbean] Time to generate code: 19.482 seconds
 [copy] Copying 7 files to 
/srv/gump/public/workspace/poi/build/xmlbean-sources
[javac] Compiling 4575 source files to 
/srv/gump/public/workspace/poi/build/xmlbean-classes

[Bug 59853] XSSFSheet PivotTable support doesn't support Structured Reference (table) sources

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59853

Greg Woolsey  changed:

   What|Removed |Added

  Attachment #34110|0   |1
is obsolete||

--- Comment #11 from Greg Woolsey  ---
Created attachment 34153
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34153=edit
Updated patch for table/named range based pivot tables

Here is an updated patch for your review.  I refactored some more to get rid of
the ugly method signatures with mutually exclusive parameters.  I used a simple
functional interface, but with Java 6 compatible anonymous class
implementations, not Java 8 Lambda syntax.  Should be easy to read and
simplifies things.

I didn't touch the unit tests, per your preference.

-- 
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



Re: [VOTE] Apache POI 3.15-beta3

2016-08-15 Thread Javen O'Neal
> * 4 times NullPointerException in XSLFTextParagraph.getDefaultFontSize()
I opened bug 60005 [1] to fix the NPE in XSLFTextParagraph.getDefaultFontSize()
This has been fixed.

> * 456 times: ArrayIndexOutOfBoundsException in SprmOperation.getOperand()
The assumption that the operand length is "surely shorter than an int"
seems to incorrect for some files, since the test failed with AIOOB 4,
meaning the operandLength is at least 5 bytes.
I would need to look at the HWPF document specification ([MS-DOC].pdf,
[3]) to see if the operandLength may be longer than an int.
I do not know what the best way to fix this code is

// surely shorter than an int...
byte operandLength = _grpprl[_gOffset + 1];

// initialized to zeros by JVM
byte[] codeBytes = new byte[LittleEndian.INT_SIZE];
for ( int i = 0; i < operandLength; i++ )
if ( _gOffset + i < _grpprl.length )
codeBytes[i] = _grpprl[_gOffset + 1 + i];

return LittleEndian.getInt( codeBytes, 0 );


[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=60005
[2] 
https://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmOperation.java?revision=1753052=markup#l106
[3] 
https://interoperability.blob.core.windows.net/files/OfficeFileFormatsProtocols.zip

On Mon, Aug 15, 2016 at 3:09 AM, Dominik Stadler  wrote:
> Hi,
>
> Running the regression tests for POI 3.15-beta3 against the CommonCrawl
> corpus is now finished, initial results are as follows:
>
> * 11966 fail because I did not add commons-collections4, I'll trigger a
> re-run to get document-counts correctly show  the number of regressing
> documents
>
> * 456 times: ArrayIndexOutOfBoundsException in SprmOperation.getOperand()
>
> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: *
> at o.a.p.hwpf.extractor.WordExtractor.getText(WordExtractor.java:317)
> at 
> o.a.p.stress.AbstractFileHandler.handleExtractingInternal(AbstractFileHandler.java:85)
> at 
> o.a.p.stress.AbstractFileHandler.handleExtracting(AbstractFileHandler.java:60)
> at 
> org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:58)
>
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 4
> at o.a.p.hwpf.sprm.SprmOperation.getOperand(SprmOperation.java:113)
> at 
> o.a.p.hwpf.sprm.SectionSprmUncompressor.unCompressSEPOperation(SectionSprmUncompressor.java:62)
> at 
> o.a.p.hwpf.sprm.SectionSprmUncompressor.uncompressSEP(SectionSprmUncompressor.java:44)
> at o.a.p.hwpf.model.SEPX.getSectionProperties(SEPX.java:61)
> at o.a.p.hwpf.usermodel.Section.(Section.java:36)
> at o.a.p.hwpf.usermodel.Range.getSection(Range.java:745)
> at 
> o.a.p.hwpf.converter.AbstractWordConverter.processDocument(AbstractWordConverter.java:721)
> at o.a.p.hwpf.extractor.WordExtractor.getText(WordExtractor.java:299)
> ... 9 more
>
> * 4 times NullPointerException in XSLFTextParagraph.getDefaultFontSize()
>
> java.lang.NullPointerException
> at 
> o.a.p.xslf.usermodel.XSLFTextParagraph.getDefaultFontSize(XSLFTextParagraph.java:935)
> at 
> o.a.p.sl.draw.DrawTextParagraph.getAttributedString(DrawTextParagraph.java:567)
> at 
> o.a.p.sl.draw.DrawTextParagraph.breakText(DrawTextParagraph.java:235)
> at o.a.p.sl.draw.DrawTextShape.drawParagraphs(DrawTextShape.java:158)
> at o.a.p.sl.draw.DrawTextShape.getTextHeight(DrawTextShape.java:219)
> at o.a.p.sl.draw.DrawTextShape.drawContent(DrawTextShape.java:102)
> at o.a.p.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:93)
> at o.a.p.sl.draw.DrawSheet.draw(DrawSheet.java:67)
> at o.a.p.sl.draw.DrawSlide.draw(DrawSlide.java:39)
> at o.a.p.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:301)
> at 
> o.a.p.stress.SlideShowHandler.renderSlides(SlideShowHandler.java:120)
> at 
> o.a.p.stress.SlideShowHandler.handleSlideShow(SlideShowHandler.java:43)
> at o.a.p.stress.XSLFFileHandler.handleFile(XSLFFileHandler.java:43)
> at 
> org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:58)
>
>
>
> The others are probably flaky things where files caused OOM/Timeout before
> and thus were not reported with these errors before.
>
>
> See http://people.apache.org/~centic/poi_regression/reports/ and
> http://people.apache.org/~centic/poi_regression/reportsAll/ for detailed
> results.

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



[Bug 60005] NPE in XSLFTextParagraph.getDefaultFontSize()

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60005

Javen O'Neal  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #1 from Javen O'Neal  ---
Fixed in r1756397.

-- 
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 60005] New: NPE in XSLFTextParagraph.getDefaultFontSize()

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60005

Bug ID: 60005
   Summary: NPE in XSLFTextParagraph.getDefaultFontSize()
   Product: POI
   Version: 3.15-dev
  Hardware: PC
OS: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: XSLF
  Assignee: dev@poi.apache.org
  Reporter: one...@apache.org

Found by running the regression tests for POI 3.15 beta 3 RC1 against the
CommonCrawl corpus.

* 4 times NullPointerException in XSLFTextParagraph.getDefaultFontSize()

> java.lang.NullPointerException
> at 
> o.a.p.xslf.usermodel.XSLFTextParagraph.getDefaultFontSize(XSLFTextParagraph.java:935)
> at 
> o.a.p.sl.draw.DrawTextParagraph.getAttributedString(DrawTextParagraph.java:567)
> at 
> o.a.p.sl.draw.DrawTextParagraph.breakText(DrawTextParagraph.java:235)
> at o.a.p.sl.draw.DrawTextShape.drawParagraphs(DrawTextShape.java:158)
> at o.a.p.sl.draw.DrawTextShape.getTextHeight(DrawTextShape.java:219)
> at o.a.p.sl.draw.DrawTextShape.drawContent(DrawTextShape.java:102)
> at o.a.p.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:93)
> at o.a.p.sl.draw.DrawSheet.draw(DrawSheet.java:67)
> at o.a.p.sl.draw.DrawSlide.draw(DrawSlide.java:39)
> at o.a.p.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:301)
> at 
> o.a.p.stress.SlideShowHandler.renderSlides(SlideShowHandler.java:120)
> at 
> o.a.p.stress.SlideShowHandler.handleSlideShow(SlideShowHandler.java:43)
> at o.a.p.stress.XSLFFileHandler.handleFile(XSLFFileHandler.java:43)
> at 
> org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:58)

-- 
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



[GUMP@vmgump]: Project ooxml-schemas (in module poi) failed

2016-08-15 Thread Gump [HEAD] :-(
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project ooxml-schemas has an issue affecting its community integration.
This issue affects 2 projects.
The current state of this project is 'Failed', with reason 'Build Timed Out'.
For reference only, the following projects are affected by this:
- ooxml-schemas :  POI
- poi-ooxml-schemas :  POI


Full details are available at:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [ooxml-schemas-[0-9]*[0-9T].jar] identifier set to 
project name
 -INFO- Failed with reason build timed out
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/gump_work/build_poi_ooxml-schemas.html
Work Name: build_poi_ooxml-schemas (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 hour 10 secs
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only -Dant.build.clonevm=true org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml compile-ooxml-xsds 
[Working Directory: /srv/gump/public/workspace/poi]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/poi/ooxml-lib/curvesapi-1.04.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.6.0.jar.orig:/srv/gump/public/workspace/poi/compile-lib/bcpkix-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/bcprov-ext-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/slf4j-api-1.7.12.jar
-
Buildfile: /srv/gump/public/workspace/poi/build.xml

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:

init:
 [echo] Using Ant: Apache Ant(TM) version 1.10.0alpha compiled on August 15 
2016 from ${ant.home}, Ant detected Java 1.8 (may be different than actual Java 
sometimes...)
 [echo] Using Java: 1.8.0_60/1.8.0_60-b27/25.60-b23/Java HotSpot(TM) 64-Bit 
Server VM from Oracle Corporation on Linux: 3.13.0-66-generic
 [echo] Using Findbugs: 3.0.1 for Java 1.8.0_60

check-ooxml-xsds:

fetch-ooxml-xsds:
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip
  [get] Getting: 
https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/xmldsig-core-schema.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdES.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdESv141.xsd
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib

check-compiled-ooxml-xsds:

compile-ooxml-xsds:
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-xsds
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-sources
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-classes
 [copy] Copying 2 files to /srv/gump/public/workspace/poi/build/xmlbean-xsds
 [copy] Copying 87 resources to 
/srv/gump/public/workspace/poi/build/xmlbean-xsds
  [xmlbean] Time to build schema type system: 8.263 seconds
  [xmlbean] Time to generate code: 11.49 seconds
 [copy] Copying 7 files to 
/srv/gump/public/workspace/poi/build/xmlbean-sources
[javac] Compiling 4575 source files to 
/srv/gump/public/workspace/poi/build/xmlbean-classes

[Bug 51848] Incorrect DataValidation attributes created in XML

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=51848

Dominik Stadler  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #1 from Dominik Stadler  ---
Unfortunately the code-snippet contains lots of references to other code which
is not included, so it is hard to actually reproduce this. 

Progress on this can be sped up a lot if you can provide a self-contained
snippet of code together with any sample-file that is used.

-- 
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 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

Dominik Stadler  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Dominik Stadler  ---
Setting this to FIXED as the last comment indicates it is actually fixed.
Please reopen with information about what you tried if it does still not work
for you with this version.

-- 
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 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

--- Comment #7 from Sergey Parhomenko <ser...@parhomenko.net> ---
We bumped into the same issue when running on Google App Engine Standard
Environment, and can confirm the latest nightly build (3.15-beta4-20160815)
fixes the issue for us.

-- 
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



Re: [VOTE] Apache POI 3.15-beta3

2016-08-15 Thread Dominik Stadler
Hi,

Running the regression tests for POI 3.15-beta3 against the CommonCrawl
corpus is now finished, initial results are as follows:

* 11966 fail because I did not add commons-collections4, I'll trigger a
re-run to get document-counts correctly show  the number of regressing
documents

* 456 times: ArrayIndexOutOfBoundsException in SprmOperation.getOperand()

java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: *
at o.a.p.hwpf.extractor.WordExtractor.getText(WordExtractor.java:317)
at 
o.a.p.stress.AbstractFileHandler.handleExtractingInternal(AbstractFileHandler.java:85)
at 
o.a.p.stress.AbstractFileHandler.handleExtracting(AbstractFileHandler.java:60)
at 
org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:58)

Caused by: java.lang.ArrayIndexOutOfBoundsException: 4
at o.a.p.hwpf.sprm.SprmOperation.getOperand(SprmOperation.java:113)
at 
o.a.p.hwpf.sprm.SectionSprmUncompressor.unCompressSEPOperation(SectionSprmUncompressor.java:62)
at 
o.a.p.hwpf.sprm.SectionSprmUncompressor.uncompressSEP(SectionSprmUncompressor.java:44)
at o.a.p.hwpf.model.SEPX.getSectionProperties(SEPX.java:61)
at o.a.p.hwpf.usermodel.Section.(Section.java:36)
at o.a.p.hwpf.usermodel.Range.getSection(Range.java:745)
at 
o.a.p.hwpf.converter.AbstractWordConverter.processDocument(AbstractWordConverter.java:721)
at o.a.p.hwpf.extractor.WordExtractor.getText(WordExtractor.java:299)
... 9 more

* 4 times NullPointerException in XSLFTextParagraph.getDefaultFontSize()

java.lang.NullPointerException
at 
o.a.p.xslf.usermodel.XSLFTextParagraph.getDefaultFontSize(XSLFTextParagraph.java:935)
at 
o.a.p.sl.draw.DrawTextParagraph.getAttributedString(DrawTextParagraph.java:567)
at o.a.p.sl.draw.DrawTextParagraph.breakText(DrawTextParagraph.java:235)
at o.a.p.sl.draw.DrawTextShape.drawParagraphs(DrawTextShape.java:158)
at o.a.p.sl.draw.DrawTextShape.getTextHeight(DrawTextShape.java:219)
at o.a.p.sl.draw.DrawTextShape.drawContent(DrawTextShape.java:102)
at o.a.p.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:93)
at o.a.p.sl.draw.DrawSheet.draw(DrawSheet.java:67)
at o.a.p.sl.draw.DrawSlide.draw(DrawSlide.java:39)
at o.a.p.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:301)
at o.a.p.stress.SlideShowHandler.renderSlides(SlideShowHandler.java:120)
at 
o.a.p.stress.SlideShowHandler.handleSlideShow(SlideShowHandler.java:43)
at o.a.p.stress.XSLFFileHandler.handleFile(XSLFFileHandler.java:43)
at 
org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:58)



The others are probably flaky things where files caused OOM/Timeout before
and thus were not reported with these errors before.


See http://people.apache.org/~centic/poi_regression/reports/ and
http://people.apache.org/~centic/poi_regression/reportsAll/ for detailed
results.


Thanks... Dominik.


On Mon, Aug 15, 2016 at 4:16 AM, Javen O'Neal  wrote:

> Correction: HSLF. This is a ppt/OLE2 file.
>
> On Sun, Aug 14, 2016 at 6:58 PM, Javen O'Neal  wrote:
> > Tim,
> >
> > I have extracted the pptx PowerPoint file containing the Prague
> > footer. I'm want to write a unit test for POI to find the Prague
> > string so I can figure why Prague was not included in the Tika
> > regression test using POI 3.15 beta 3 but was found by POI 3.15 beta
> > 1.
> >
> > Could you point me to the Tika code that generated the potential
> > regressions zip file in TIKA-2013, or the POI class/function that is
> > used to extract the text from a document?
> >
> > Also, is the pptx file shareable and ASL 2.0 licensed so that it can
> > be included as part of POI's unit test suite?
> >
> > On Fri, Aug 12, 2016 at 6:52 PM, Javen O'Neal 
> wrote:
> >> On Aug 12, 2016 11:39, "Allison, Timothy B." 
> wrote:
> >>>...the two potential content regressions may be caused by something at
> the
> >>> Tika level.  If anyone has time to take a look, that'd be great.
> >>
> >> I can take a look this weekend.
> >>
> >> Did you use the same Tika code with different POI versions for these
> tests
> >> (so that we can attribute the change in behavior to a POI commit,
> regardless
> >> of whether the bug is in Tika or POI)?
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>


[Bug 52425] Error adding Comments into cloned Sheets

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=52425

Dominik Stadler  changed:

   What|Removed |Added

 Status|REOPENED|NEW
Version|3.8-dev |3.14-FINAL

-- 
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



Re: [VOTE] Apache POI 3.15-beta3

2016-08-15 Thread Javen O'Neal
I have spent some time on TIKA-2013 Issue #1 (extracting footer text
from a OLE2 power point slide master) and I think the issue is small
enough to proceed with the beta release with this issue open (#60003).

I do not know which files to look at for Issue #2 (some numbers in XLS
are being corrupted), so I cannot make a recommendation either way if
it is necessary to postpone the release until we have a fix.

On Sun, Aug 14, 2016 at 7:16 PM, Javen O'Neal  wrote:
> Correction: HSLF. This is a ppt/OLE2 file.
>
> On Sun, Aug 14, 2016 at 6:58 PM, Javen O'Neal  wrote:
>> Tim,
>>
>> I have extracted the pptx PowerPoint file containing the Prague
>> footer. I'm want to write a unit test for POI to find the Prague
>> string so I can figure why Prague was not included in the Tika
>> regression test using POI 3.15 beta 3 but was found by POI 3.15 beta
>> 1.
>>
>> Could you point me to the Tika code that generated the potential
>> regressions zip file in TIKA-2013, or the POI class/function that is
>> used to extract the text from a document?
>>
>> Also, is the pptx file shareable and ASL 2.0 licensed so that it can
>> be included as part of POI's unit test suite?
>>
>> On Fri, Aug 12, 2016 at 6:52 PM, Javen O'Neal  wrote:
>>> On Aug 12, 2016 11:39, "Allison, Timothy B."  wrote:
...the two potential content regressions may be caused by something at the
 Tika level.  If anyone has time to take a look, that'd be great.
>>>
>>> I can take a look this weekend.
>>>
>>> Did you use the same Tika code with different POI versions for these tests
>>> (so that we can attribute the change in behavior to a POI commit, regardless
>>> of whether the bug is in Tika or POI)?

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



[Bug 60003] Regression: HSLF Powerpoint text extractor from footer of master slide

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60003

Javen O'Neal  changed:

   What|Removed |Added

  Attachment #34150|0   |1
is obsolete||

--- Comment #2 from Javen O'Neal  ---
Created attachment 34152
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34152=edit
Failing unit test with logging

It looks like the omission of "Prague" from the PowerPointExtractor output was
likely intentional [1]

> 210   if(HSLFMasterSheet.isPlaceholder(sh)) {
> 211   // don't bother about boiler
> 212   // plate text on master
> 213   // sheets
> 214   continue;
> 215   }

Specifically, POI identified this master slide footer as a placeholder. Since
"placeholders aren't normal shapes, they are visible only in the Edit Master
mode" [2], they are omitted from the powerpoint extractor output. If POI
incorrectly identified this as a placeholder or the file was incorrectly saved
treating this as a placeholder, then this text should be included in the
PowerPointExtractor output.

> Ignoring boiler plate (placeholder) text '*' on slide master
> Ignoring boiler plate (placeholder) text 'Plan4all Kick-off Meeting, 14th May 
> 2009, Prague' on slide master
> Ignoring boiler plate (placeholder) text '*' on slide master
> Ignoring boiler plate (placeholder) text 'Click to edit Master title style' 
> on slide master

The change in functionality is likely somewhere in HeadersFooters.java where
> if(_newRecord) attach();
was no longer called, or changes to the implementation of
> isVisible

Extracting from the Master slide goes back to bug 48161 in 2009.

[1]
https://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/extractor/PowerPointExtractor.java?revision=1748783=markup#l206
[2]
https://poi.apache.org/apidocs/org/apache/poi/hslf/usermodel/HSLFMasterSheet.html#isPlaceholder(org.apache.poi.hslf.usermodel.HSLFShape)

-- 
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 52425] Error adding Comments into cloned Sheets

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=52425

Daniel  changed:

   What|Removed |Added

 Resolution|LATER   |---
 Status|RESOLVED|REOPENED

--- Comment #6 from Daniel  ---
Issue still exists, tested on version 3.14 --> reopening bug

-- 
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 52425] Error adding Comments into cloned Sheets

2016-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=52425

--- Comment #5 from Daniel  ---
Created attachment 34151
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34151=edit
Testfile

Testfile which can be used with the previous posted Testprogram.

-- 
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