RE: [VOTE] Apache POI 3.16 beta 2 release (RC1)

2017-01-31 Thread Dominik Stadler
My testing is still running, had some trouble with JDK crashes in Jpeg
handling code, but as you said it's just a beta.

Dominik.

On Feb 1, 2017 03:11, "Javen O'Neal"  wrote:

> Alright. Just a beta. I'll release it in a few hours.
>
> On Jan 31, 2017 17:49, "Allison, Timothy B."  wrote:
>
> Argh...sorry, no time this go around...
>
> -Original Message-
> From: Javen O'Neal [mailto:one...@apache.org]
> Sent: Tuesday, January 31, 2017 8:19 PM
> To: POI Developers List 
> Subject: Re: [VOTE] Apache POI 3.16 beta 2 release (RC1)
>
> Should I wait for the results of common crawl or other regression testing
> before proceeding with the release?
>
> On Jan 30, 2017 16:19, "Andreas Beeker"  wrote:
>
> > +1 from me
> >
> > I have only done a shallow check of the - not any more - usual
> > suspects, as I'm quite busy with other stuff ... sorry
> >
> > Thank you Javen for taking care of this.
> >
> > Andi
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional
> > commands, e-mail: dev-h...@poi.apache.org
> >
> >
>


RE: [VOTE] Apache POI 3.16 beta 2 release (RC1)

2017-01-31 Thread Javen O'Neal
Alright. Just a beta. I'll release it in a few hours.

On Jan 31, 2017 17:49, "Allison, Timothy B."  wrote:

Argh...sorry, no time this go around...

-Original Message-
From: Javen O'Neal [mailto:one...@apache.org]
Sent: Tuesday, January 31, 2017 8:19 PM
To: POI Developers List 
Subject: Re: [VOTE] Apache POI 3.16 beta 2 release (RC1)

Should I wait for the results of common crawl or other regression testing
before proceeding with the release?

On Jan 30, 2017 16:19, "Andreas Beeker"  wrote:

> +1 from me
>
> I have only done a shallow check of the - not any more - usual
> suspects, as I'm quite busy with other stuff ... sorry
>
> Thank you Javen for taking care of this.
>
> Andi
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional
> commands, e-mail: dev-h...@poi.apache.org
>
>


RE: [VOTE] Apache POI 3.16 beta 2 release (RC1)

2017-01-31 Thread Allison, Timothy B.
Argh...sorry, no time this go around...

-Original Message-
From: Javen O'Neal [mailto:one...@apache.org] 
Sent: Tuesday, January 31, 2017 8:19 PM
To: POI Developers List 
Subject: Re: [VOTE] Apache POI 3.16 beta 2 release (RC1)

Should I wait for the results of common crawl or other regression testing 
before proceeding with the release?

On Jan 30, 2017 16:19, "Andreas Beeker"  wrote:

> +1 from me
>
> I have only done a shallow check of the - not any more - usual 
> suspects, as I'm quite busy with other stuff ... sorry
>
> Thank you Javen for taking care of this.
>
> Andi
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional 
> commands, e-mail: dev-h...@poi.apache.org
>
>


Build failed in Jenkins: POI-DSL-1.6 #134

2017-01-31 Thread Apache Jenkins Server
See 

Changes:

[onealj] echo release version

[onealj] ignore compile-lib/svnant

--
[...truncated 4450 lines...]
 [echo] Building poi javadocs from 

[mkdir] Created dir: 

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
  [jar] Building jar: 

 [echo] Building poi-scratchpad javadocs from 

   [delete] Deleting directory 

[mkdir] Created dir: 

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
  [jar] Building jar: 

 [echo] Building poi-ooxml javadocs from 

   [delete] Deleting directory 

[mkdir] Created dir: 

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
  [jar] Building jar: 


assemble:
  [zip] Building zip: 

  [tar] Building tar: 

  [zip] Building zip: 

  [tar] Building tar: 

 [echo] Creating Maven POMs

maven-poms:
 [copy] Copying 6 files to 

 [echo] Maven POMs are located in 

 [echo] Use ant dist-nexus to deploy the artifacts in the remote repository
 [echo] Distribution located in 

 [echo] Use "ant dist-checksum" to create md5/sha1 checksums and GPG 
signatures

findbugs:
  [get] Destination already exists (skipping): 

[unzip] Expanding: 

 into 
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] Java Result: 137
 [findbugs] Output saved to build/findbugs.xml
 [xslt] Transforming into 

 [xslt] Processing 
 to 

 [xslt] Loading stylesheet 
jar:
 [xslt] : Error! Premature end of file.
 [xslt] : Error! 
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of 
file.
 [xslt] Failed to process null

BUILD FAILED
:2276: 
javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: 
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of 
file.
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:735)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:336)
at 
org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:197)
at 
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:844)
at 
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:434)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at 

Build failed in Jenkins: POI-DSL-1.6 #133

2017-01-31 Thread Apache Jenkins Server
See 

Changes:

[onealj] release-prep1 should abort if release tag already exists. It's likely 
that the version was entered incorrectly or copy-pasted from a template.

--
[...truncated 4452 lines...]
 [echo] Building poi javadocs from 

[mkdir] Created dir: 

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
  [jar] Building jar: 

 [echo] Building poi-scratchpad javadocs from 

   [delete] Deleting directory 

[mkdir] Created dir: 

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
  [jar] Building jar: 

 [echo] Building poi-ooxml javadocs from 

   [delete] Deleting directory 

[mkdir] Created dir: 

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
  [jar] Building jar: 


assemble:
  [zip] Building zip: 

  [tar] Building tar: 

  [zip] Building zip: 

  [tar] Building tar: 

 [echo] Creating Maven POMs

maven-poms:
 [copy] Copying 6 files to 

 [echo] Maven POMs are located in 

 [echo] Use ant dist-nexus to deploy the artifacts in the remote repository
 [echo] Distribution located in 

 [echo] Use "ant dist-checksum" to create md5/sha1 checksums and GPG 
signatures

findbugs:
  [get] Destination already exists (skipping): 

[unzip] Expanding: 

 into 
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] Java Result: 137
 [findbugs] Output saved to build/findbugs.xml
 [xslt] Transforming into 

 [xslt] Processing 
 to 

 [xslt] Loading stylesheet 
jar:
 [xslt] : Error! Premature end of file.
 [xslt] : Error! 
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of 
file.
 [xslt] Failed to process null

BUILD FAILED
:2276: 
javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: 
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of 
file.
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:735)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:336)
at 
org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:197)
at 
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:844)
at 
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:434)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 

Re: [VOTE] Apache POI 3.16 beta 2 release (RC1)

2017-01-31 Thread Javen O'Neal
Should I wait for the results of common crawl or other regression testing
before proceeding with the release?

On Jan 30, 2017 16:19, "Andreas Beeker"  wrote:

> +1 from me
>
> I have only done a shallow check of the - not any more - usual suspects,
> as I'm quite busy with other stuff ... sorry
>
> Thank you Javen for taking care of this.
>
> Andi
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>


[Bug 59907] HSSFClientAnchor.setAnchorType API was broken (problem with jasperreports-5.1.0 and poi-3.14)

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

Javen O'Neal  changed:

   What|Removed |Added

 Blocks||59836


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=59836
[Bug 59836] Tracker: Replace primitives with enums
-- 
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 59836] Tracker: Replace primitives with enums

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

Javen O'Neal  changed:

   What|Removed |Added

 Depends on||59907


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=59907
[Bug 59907] HSSFClientAnchor.setAnchorType API was broken (problem with
jasperreports-5.1.0 and poi-3.14)
-- 
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 60556] IllegalArgumentException: The end () must not be before the start ()

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

Dominik Stadler  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Dominik Stadler  ---
Seems to have been caused by a slightly broken document.

-- 
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 60556] IllegalArgumentException: The end () must not be before the start ()

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

--- Comment #2 from ismaelgom...@gmail.com ---
Thank you very much. That was the problem. Now it works fine!
Regards.

-- 
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 60670] Fails to create document nodes in MSI files larger than 2 GB

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

--- Comment #6 from Marcus Lundblad  ---
(In reply to Marcus Lundblad from comment #5)
> Created attachment 34697 [details]
> Stand-alone program to expose bug
> 
> The supplied program can be run with an input file as commandline argument.
> The file is overwritten (if successful).

https://www.update.uu.se/~ml/large.zip

An archive containing a very large MSI file.
NOTE: the file will decompress to a very large file.
The MSI file was created with msibuilder (from msitools) and only contains
document streams filled with zeros. It will not actually work as a real
installer in Windows.

-- 
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 60670] Fails to create document nodes in MSI files larger than 2 GB

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

--- Comment #5 from Marcus Lundblad  ---
Created attachment 34697
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34697=edit
Stand-alone program to expose bug

The supplied program can be run with an input file as commandline argument.
The file is overwritten (if successful).

-- 
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 60670] Fails to create document nodes in MSI files larger than 2 GB

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

--- Comment #4 from Nick Burch  ---
If you could knock up a failing unit test based on a temp File and some huge
empty starting entries, that'd be great!

If not, I can try later

-- 
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 60670] Fails to create document nodes in MSI files larger than 2 GB

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

--- Comment #3 from Andreas Beeker  ---
Btw. I've received a contribution from Sebastian S. a while ago, which I
eventually plan to integrate ... maybe it's a help to you ...

http://people.apache.org/~kiwiwings/20140908_MSIAPI_JUnitTests.zip

-- 
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-DSL-SonarQube #30

2017-01-31 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 60670] Fails to create document nodes in MSI files larger than 2 GB

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

--- Comment #2 from Marcus Lundblad  ---
Right, missed that, sorry about that.

This is in a module in-development.
The code looks something like this:

final NPOIFSFileSystem fsOut =
new NPOIFSFileSystem(responseData.getAsFile(), false)) {
// Add the signature file
fsOut.createDocument(new ByteArrayInputStream(signedbytes),
"\05DigitalSignature");

where the getAsFile() call would return a File instance pointing to the
resulting file (which is just a copy of the original file).
and the signedbytes is a byte array with the signature data (I don't think the
content should really matter in this case.

I could try to write a simple stand-alone program to expose the issue as well.

-- 
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 60670] Fails to create document nodes in MSI files larger than 2 GB

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

Nick Burch  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #1 from Nick Burch  ---
I can't seem to find the source code for MSAuthCodeSigner, so it's hard to tell
if this is a POI bug or a mistake in the calling code. (It seems to be missing
from the module list in
https://svn.cesecore.eu/svn/signserver/trunk/signserver/modules/ )

Are you able to share the POI-related lines of code from there, so we can take
a look? (If it is a bug, we'll need to write a unit test, which'll require the
code steps taken to reproduce)

-- 
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 60670] New: Fails to create document nodes in MSI files larger than 2 GB

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

Bug ID: 60670
   Summary: Fails to create document nodes in MSI files larger
than 2 GB
   Product: POI
   Version: 3.15-FINAL
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: POIFS
  Assignee: dev@poi.apache.org
  Reporter: marcus.lundb...@primekey.se
  Target Milestone: ---

I have generated 2 MSI files 3 GB in size (one with a single large document
entry and one with three smaller 1 GB entries).
Trying to add an additional document entry in the file system, I get:

Caused by: java.lang.IllegalArgumentException: Negative position
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:755)
[rt.jar:1.8.0_121]
at
org.apache.poi.poifs.nio.FileBackedDataSource.write(FileBackedDataSource.java:120)
[poi-3.15.jar:3.15]
at
org.apache.poi.poifs.filesystem.NPOIFSFileSystem.createBlockIfNeeded(NPOIFSFileSystem.java:505)
[poi-3.15.jar:3.15]
at
org.apache.poi.poifs.filesystem.NPOIFSStream$StreamBlockByteBuffer.createBlockIfNeeded(NPOIFSStream.java:226)
[poi-3.15.jar:3.15]
at
org.apache.poi.poifs.filesystem.NPOIFSStream$StreamBlockByteBuffer.write(NPOIFSStream.java:246)
[poi-3.15.jar:3.15]
at
org.apache.poi.poifs.filesystem.NPOIFSDocument.store(NPOIFSDocument.java:143)
[poi-3.15.jar:3.15]
at
org.apache.poi.poifs.filesystem.NPOIFSDocument.(NPOIFSDocument.java:84)
[poi-3.15.jar:3.15]
at
org.apache.poi.poifs.filesystem.DirectoryNode.createDocument(DirectoryNode.java:422)
[poi-3.15.jar:3.15]
at
org.apache.poi.poifs.filesystem.NPOIFSFileSystem.createDocument(NPOIFSFileSystem.java:689)
[poi-3.15.jar:3.15]
at
org.signserver.module.msauthcode.signer.MSAuthCodeSigner.signMSI(MSAuthCodeSigner.java:570)
[SignServer-Module-MSAuthCode-4.1.0-SNAPSHOT.jar:]

I think the culprit here is the prevBlock and nextBlock index "pointers" in
StreamBlockByteBuffer being ints causing an overflow.

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