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

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

Javen O'Neal  changed:

   What|Removed |Added

   Keywords||PatchAvailable
Summary|XSSFSheet PivotTable|[PATCH] XSSFSheet
   |support doesn't support |PivotTable support doesn't
   |Structured Reference|support Structured
   |(table) sources |Reference (table) sources

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



Build failed in Jenkins: POI-JDK8 #1232

2016-09-20 Thread Apache Jenkins Server
See 

Changes:

[onealj] update changelog for bug 59853

[onealj] bug 59853: support PivotTables with named structured references; patch 
from Greg Woolsey

--
[...truncated 459 lines...]
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runners.Suite.runChild(Suite.java:128)
 [java] at org.junit.runners.Suite.runChild(Suite.java:27)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
 [java] at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:129)
 [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88)
 [java] 9) 
testAddDataColumnOutOfRangeThrowsException(org.apache.poi.xssf.usermodel.BaseTestXSSFPivotTable)
 [java] java.lang.InstantiationException
 [java] at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
 [java] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
 [java] at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runners.Suite.runChild(Suite.java:128)
 [java] at org.junit.runners.Suite.runChild(Suite.java:27)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
 [java] at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:129)
 [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88)
 [java] 10) 
testAddRowLabelOutOfRangeThrowsException(org.apache.poi.xssf.usermodel.BaseTestXSSFPivotTable)
 [java] java.lang.InstantiationException
 [java] at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
 [java] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217)
 

Build failed in Jenkins: POI #1535

2016-09-20 Thread Apache Jenkins Server
See 

Changes:

[onealj] update changelog for bug 59853

[onealj] bug 59853: support PivotTables with named structured references; patch 
from Greg Woolsey

--
[...truncated 455 lines...]
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runners.Suite.runChild(Suite.java:128)
 [java] at org.junit.runners.Suite.runChild(Suite.java:27)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
 [java] at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:129)
 [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88)
 [java] 9) 
testAddDataColumnOutOfRangeThrowsException(org.apache.poi.xssf.usermodel.BaseTestXSSFPivotTable)
 [java] java.lang.InstantiationException
 [java] at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
 [java] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
 [java] at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
 [java] at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runners.Suite.runChild(Suite.java:128)
 [java] at org.junit.runners.Suite.runChild(Suite.java:27)
 [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
 [java] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
 [java] at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
 [java] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
 [java] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
 [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
 [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
 [java] at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:129)
 [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88)
 [java] 10) 
testAddRowLabelOutOfRangeThrowsException(org.apache.poi.xssf.usermodel.BaseTestXSSFPivotTable)
 [java] java.lang.InstantiationException
 [java] at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
 [java] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 

Early Access build 136 for JDK 9 & JDK 9 with Project Jigsaw are available on java.net

2016-09-20 Thread Rory O'Donnell


Hi Dominik,

Early Access b136  for JDK 9 is 
available on java.net, summary of  changes are listed here 
.
Early Access b136  (#5506) for JDK 9 with 
Project Jigsaw is available on java.net, summary of  changes are listed 
here 
.


There have been a number of fixes to bugs reported by Open Source 
projects since the last availability email  :


 * 8165723 - b136 - core-libs JarFile::isMultiRelease() method returns
   false when it should return true
 * 8165116 - b136 - xml redirect function is not allowed even with
   enableExtensionFunctions

NOTE:-  Build 135 included a fix for JDK-8161016 which *has introduced a 
behavioral change to HttpURLConnection, more info:*


The behavior of HttpURLConnection when using a ProxySelector has been 
modified with this JDK release. Currently, HttpURLConnection.connect() 
call would fallback to a DIRECT connection attempt if the configured 
proxy/proxies failed to make a connection. This release introduces a 
change whereby no DIRECT connection will be attempted in such a 
scenario. Instead, the HttpURLConnection.connect() method will fail and 
throw an IOException which occurred from the last proxy tested. This 
behavior now matches with the HTTP connections made by popular web 
browsers. But this change will bring compatibility issues for the 
applications expecting a DIRECT connection when a proxy server is down 
or when wrong proxies are provided.

*

JDK 9 Outreach Survey*

In order to encourage and receive additional feedback from developers 
testing their applications with JDK 9,
the OpenJDK Quality Outreach effort has put together a very brief survey 
about your experiences with JDK 9 so far.


It is available at***https://www.surveymonkey.de/r/JDK9EA*

We would love to hear feedback from you!


Rgds,Rory

--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland



[Bug 60153] New: Use ZipEntrySource in SXSSF module

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60153

Bug ID: 60153
   Summary: Use ZipEntrySource in SXSSF module
   Product: POI
   Version: 3.14-FINAL
  Hardware: PC
OS: Mac OS X 10.1
Status: NEW
  Severity: normal
  Priority: P2
 Component: SXSSF
  Assignee: dev@poi.apache.org
  Reporter: fannin...@yahoo.com

The current SXSSF implementation uses temp files and this is problematic for
companies who want all their data at rest to be encrypted.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59841 added support for
developers to use their own implementations of ZipEntrySource when reading inro
XSSF workbook. I have my own subclass of this that encrypts the temp file data.
The ZipEntrySource interface is read only but it would be feasible to have
support for a writer to create ZipEntrySources too (eg something like
org.apache.poi.poifs.crypt.TestSecureTempZip).
org.apache.poi.xssf.streaming.SheetDataWriter exposes the temp file via its
public API. If we were able to deprecate this and just provide Readers and
Writers, then this could also be subclassed to have the data in the temp file
encrypted. We could also allow a pattern where the readers and writers could be
decorated with encryptors/decryptors.

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

2016-09-20 Thread David North
Thanks all. I'll do the tally and final actions tonight with a bit of luck.

On 20/09/16 02:47, Javen O'Neal wrote:
> +1 from me.
> 
> Initiate countdown sequence. 10... 9... 8...
> 
> On Sep 19, 2016 07:50, "Allison, Timothy B."  wrote:
> 
>> +1
>>
>> Built on Windows and integrated successfully with Tika and Tika's unit
>> tests.  I'm relying on my earlier run of RC2 on the full regression corpus
>> as evidence that we're in good shape.
>>
>> Thank you, David!
>>
>> Cheers,
>>
>> Tim
>>
>> -Original Message-
>> From: David North [mailto:dno...@apache.org]
>> Sent: Saturday, September 17, 2016 1:08 PM
>> To: POI Developers List 
>> Subject: [VOTE] Apache POI 3.15 RC3
>>
>> Hi everyone,
>>
>> https://dist.apache.org/repos/dist/dev/poi/3.15-RC3/
>>
>> Areas to review:
>>
>> * Does it work?
>> * Are the sigs and hashes valid?
>> * Have the issues with the last RC been fixed?
>> * Are the release notes (inc requested additions from Javen) OK?
>>
>> The vote starts now and ends at 18:15 BST on Monday, 21 September.
>>
>> Here is my +1.
>>
>> Thanks,
>>
>> --
>> David North | www.dnorth.net
>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
>> For additional commands, e-mail: dev-h...@poi.apache.org
>>
>>
> 

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



Jenkins build is back to normal : POI #1536

2016-09-20 Thread Apache Jenkins Server
See 


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



[Bug 60157] NULL handling when modifying Excel.

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60157

Nick Burch  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #2 from Nick Burch  ---
Without any code, it's hard to see what is going wrong, and impossible to tell
if it's a bug in your code or in Apache POI

Can you write a small self-contained junit test case that shows your problem?
And ideally also upgrade to the most recent version of Apache POI too?

-- 
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 60153] Use ZipEntrySource in SXSSF module

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60153

--- Comment #1 from PJ Fanning  ---
I have a sample of what I'd like to change in
https://github.com/pjfanning/poi/commit/72f0ada28f17b0079d296fa6dbc98d3b76b058a3

I can add test cases to demonstrate the ability to plug in custom temp file
implementations to override the use of simple temp files.
By subclassing this version of SXSSFWorkbook, developers can replace the temp
file behaviour in write(OutputStream stream) with a custom ZipEntrySource (see
org.apache.poi.poifs.crypt.TestSecureTempZip) before calling injectData.
createSheetDataWriter() can be overriden to return a subclass of
SheetDataWriter that overrides the decorateInputStream snd decorateOutputStream
methods I've added.

-- 
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 60158] AIOOBE in VBAMacroReader

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60158

--- Comment #1 from Tim Allison  ---
Same exception with the original .docm file that Jeff submitted on TIKA-2069

-- 
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 60158] New: AIOOBE in VBAMacroReader

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60158

Bug ID: 60158
   Summary: AIOOBE in VBAMacroReader
   Product: POI
   Version: unspecified
  Hardware: PC
OS: Windows NT
Status: NEW
  Severity: normal
  Priority: P2
 Component: POI Overall
  Assignee: dev@poi.apache.org
  Reporter: talli...@mitre.org

Created attachment 34282
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34282=edit
triggering file

While working TIKA-2069, I got an AIOOBE on a test file that I generated by
taking the docm that Jeff Swindle submitted and saving as .doc.

I confirmed this AIOOBE in pure POI:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.io.ByteArrayInputStream.read(ByteArrayInputStream.java:144)
at
org.apache.poi.util.RLEDecompressingInputStream.(RLEDecompressingInputStream.java:77)
at
org.apache.poi.poifs.macros.VBAMacroReader.readModule(VBAMacroReader.java:204)
at
org.apache.poi.poifs.macros.VBAMacroReader.readMacros(VBAMacroReader.java:308)
at
org.apache.poi.poifs.macros.VBAMacroReader.findMacros(VBAMacroReader.java:155)
at
org.apache.poi.poifs.macros.VBAMacroReader.findMacros(VBAMacroReader.java:160)
at
org.apache.poi.poifs.macros.VBAMacroReader.findMacros(VBAMacroReader.java:160)
at
org.apache.poi.poifs.macros.VBAMacroReader.readMacros(VBAMacroReader.java:116)
at
org.apache.poi.poifs.macros.VBAMacroExtractor.extract(VBAMacroExtractor.java:83)
at
org.apache.poi.poifs.macros.VBAMacroExtractor.extract(VBAMacroExtractor.java:123)
at
org.apache.poi.poifs.macros.VBAMacroExtractor.main(VBAMacroExtractor.java:54)

-- 
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-09-20 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 5 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
- org.apache.poi :  POI
- poi :  POI
- poi-ooxml-schemas :  POI
- poi-test :  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 3 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 September 
21 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: 5.512 seconds
  [xmlbean] Time to generate code: 10.211 seconds
 [copy] Copying 7 files to 
/srv/gump/public/workspace/poi/build/xmlbean-sources
[javac] Compiling 4575 source 

[Bug 60153] [PATCH] Use ZipEntrySource in SXSSF module

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60153

PJ Fanning  changed:

   What|Removed |Added

Summary|Use ZipEntrySource in SXSSF |[PATCH] Use ZipEntrySource
   |module  |in SXSSF module

-- 
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 60153] Use ZipEntrySource in SXSSF module

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60153

--- Comment #2 from PJ Fanning  ---
Created attachment 34284
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34284=edit
[PATCH] open up SXSSF classes so that they can be subclassed

-- 
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 60158] AIOOBE in VBAMacroReader

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60158

Javen O'Neal  changed:

   What|Removed |Added

 OS|Windows NT  |All
Version|unspecified |3.15-dev

--- Comment #2 from Javen O'Neal  ---
I added a failing unit test to POI in r1761652 using test-macro-doc.docm from
TIKA-2069 [1] submitted by Jeff Swindle

[1] https://issues.apache.org/jira/browse/TIKA-2069

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



Build failed in Jenkins: POI #1538

2016-09-20 Thread Apache Jenkins Server
See 

Changes:

[onealj] bug 59933: demote accessibility of POILogger implementations of 
log(int, Object) and log(int, Object, Throwable) to be consistent with the 
POILogger abstract class

[onealj] javadoc

[onealj] bug 59933: demote accessibility of NullLogger methods to the same 
level as POILogger

[onealj] make POILogFactory _loggers cache final

[onealj] bug 59933: override POILogger#log(int, Object...) in NullLogger

[onealj] fix copy-paste error

[onealj] include class of caught exception

[onealj] bug 60158: add failing test cases for AIOOBE on VBAMacroReader

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (Ubuntu ubuntu1 yahoo-not-h2 ubuntu docker) in 
workspace 
Updating http://svn.apache.org/repos/asf/poi/trunk at revision 
'2016-09-21T02:49:27.001 +'
AUtest-data/document/60158.docm
U src/integrationtest/org/apache/poi/TestAllFiles.java
U src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
U src/ooxml/java/org/apache/poi/util/OOXMLLite.java
U src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java
U src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
UU
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotCacheDefinition.java
U src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
UUsrc/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java
D 
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFPivotTable.java
AU
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFPivotTableRef.java
AU
src/ooxml/testcases/org/apache/poi/xssf/usermodel/BaseTestXSSFPivotTable.java
AU
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFPivotTableName.java
U 
src/ooxml/testcases/org/apache/poi/xssf/usermodel/AllXSSFUsermodelTests.java
U src/testcases/org/apache/poi/util/DummyPOILogger.java
U src/testcases/org/apache/poi/util/TestPOILogger.java
U src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
U src/java/org/apache/poi/ss/usermodel/FormulaError.java
U src/java/org/apache/poi/ss/usermodel/DataConsolidateFunction.java
U src/java/org/apache/poi/util/NullLogger.java
U src/java/org/apache/poi/util/CommonsLogger.java
U src/java/org/apache/poi/util/POILogFactory.java
U src/java/org/apache/poi/util/SystemOutLogger.java
U src/java/org/apache/poi/util/POILogger.java
U src/java/org/apache/poi/poifs/nio/FileBackedDataSource.java
U build.xml
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 
into '
At revision 1761665

Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 
into '
U src/documentation/content/xdocs/status.xml
At revision 1761665

At revision 1761665

No changes for http://svn.apache.org/repos/asf/poi/site/forrest.properties 
since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation 
since the previous build
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
LANG=en_US.UTF-8

[EnvInject] - Variables injected successfully.
[POI] $ /bin/bash -xe /tmp/hudson1229205995487526017.sh
+ svn status
X   forrest.properties
X   src/documentation

Performing status on external item at 'src/documentation':
+ exit 0
[POI] $ /home/jenkins/tools/ant/latest/bin/ant -Dcoverage.enabled=true clean 
jenkins
Buildfile: 

clean:
   [delete] Deleting directory 

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:

init:
[mkdir] Created dir: 
[mkdir] Created dir: 
[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[Bug 59933] IllegalAccessError POILogger.log

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59933

--- Comment #10 from Javen O'Neal  ---
I think I have fixed this in r1761662. The problem is that the signature of
log(int, Object...) is identical to log(int, Object) or log(int, Object, final
Throwable). We are relying on the visibility of the last two to make the
log(int, Object...) the version that gets called.
Looking at the code, Java must prefer non-varargs over varargs functions when
the signature is otherwise compatible, which is why Andreas had issues with
NullLogger calling the log methods that were protected in POILogger but public
in NullLogger.

We are silently falling back to using a NullLogger for the DocumentHelper
class, hopefully because the org.apache.poi.util.POILogger system property has
not been set and not a different reason. POILogFactory [1] seems to be catching
and suppressing exceptions in multiple locations.

Could you verify this fix with the latest trunk release?

[1] POILogFactory
https://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/util/POILogFactory.java?view=log

-- 
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 59933] IllegalAccessError POILogger.log

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59933

--- Comment #11 from Javen O'Neal  ---
I fixed the accidental accessibility elevation from protected to public in the
remaining logging classes in r1761665.

This does not introduce any backwards compatibility issues because log(int,
Object...) is still public and will catch any of the old uses.

-- 
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 60153] [PATCH] Use ZipEntrySource in SXSSF module

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60153

--- Comment #3 from Javen O'Neal  ---
The patch from comment 2 looks good to me, including the relevant unit tests :)
I committed SXSSFWorkbook#flushSheets() to get the ball rolling in r1761668.

Can someone else review this patch to make sure this implementation doesn't
write unencrypted data to disk and is unlikely to be the source of a security
vulnerability?

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



Jenkins build is back to normal : POI #1539

2016-09-20 Thread Apache Jenkins Server
See 


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



[Bug 60157] NULL handling when modifying Excel.

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60157

Sateesh  changed:

   What|Removed |Added

 CC||sakol...@in.ibm.com

-- 
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 60157] New: NULL handling when modifying Excel.

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60157

Bug ID: 60157
   Summary: NULL handling when modifying Excel.
   Product: POI
   Version: unspecified
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: XSSF
  Assignee: dev@poi.apache.org
  Reporter: sakol...@in.ibm.com

Created attachment 34280
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34280=edit
testcase_excel_files

During modifying an existing excel file - If an excel file gets a NULL value as
input the original field value of the excel file is retained. If it gets a
non-NULL value the old value is replaced with this non-NULL value.

Original excel file: test.xlsx
Output excel file: test.out.xslx

The following values are sent as input to modify "test.xslx"
A2:1000 B2:2000
A3:NULL B3:2001

NULL here means no value.

Now in test.out.xlsx - though cell A3 has input of NULL value, the original
value '2' is retained. Instead it should be blank. I see the following output
in "test.out.xlsx"

A2:1000 B2:2000
A3:2B3:2001

instead it should be

A2:1000 B2:2000
A3:NULL B3:2001

-- 
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 60157] NULL handling when modifying Excel.

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60157

Sateesh  changed:

   What|Removed |Added

 OS||All

--- Comment #1 from Sateesh  ---
Version 3.9

-- 
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 59983] Wrong update of shared formulas after shiftRow

2016-09-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59983

--- Comment #1 from Javen O'Neal  ---
Thanks for the unit test! Applied in r1761673.
I can verify that the shared formula is being shifted twice.

Testcase: testSharedFormulas took 0.004 sec
SKIPPED: This test currently fails with org.junit.ComparisonFailure:
expected: but was:

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