Build failed in Jenkins: POI » POI-DSL-Windows-1.18 #12

2022-01-22 Thread Apache Jenkins Server
See 


Changes:

[PJ Fanning] revert test module changes

[PJ Fanning] try to fix build for Java 9+

[PJ Fanning] try to fix build for Java 9+

[PJ Fanning] slf4j 1.7.33

[PJ Fanning] slf4j 1.7.33

[Dominik Stadler] Remove one unnecessary exclude

It seems the problem when cloning was fixed in the meantime

[Dominik Stadler] Exclude one more file when running tests without 
poi-scratchpad

[Dominik Stadler] Add more output when integration-tests do not fail with the 
expected exception

[Dominik Stadler] Adjust thread-names when running integration

This allows to identify in thread-dumps which
file is taking a long time or is causing issues

[Dominik Stadler] Don't create an error-log when slightly broken spreadsheets 
contain an empty value for attribute "s"

[Dominik Stadler] Don't add main classes to *-test.jar files

Better to only provide them once to avoid very strange
errors if they differ for some reason

[Dominik Stadler] Avoid log-spam when using SXSSFWorkbook with auto-sizing

[Dominik Stadler] Fix invalid comparison and optimize construction of CellStyle 
objects for comparison

Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".

Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().

[Dominik Stadler] Adjust one more version-number in the osgi-pom.xml

[Dominik Stadler] Introduce an OldVisioFormatException similar to other 
file-types

[Dominik Stadler] Improve error-message, include some details why processing 
the file fails

[Dominik Stadler] Make all text-extractors always return a non-null String

This changes the expected exception of some test-files

[Dominik Stadler] Avoid stackoverflow exception that can be caused by a 
corrupted slideshow file

[Dominik Stadler] Add test-dependency on slf4j-simple to include all logs in 
captured test-output

[PJ Fanning] [github-296] cache data of external workbook. Thanks to aspojo. 
This closes #296

[PJ Fanning] curvesapi 1.07

[PJ Fanning] remove use of deprecated commons-math methods

[PJ Fanning] unused import

[PJ Fanning] snapshot version


--
[...truncated 76.43 KB...]
at 
java.base/java.util.ServiceLoader.loadProvider(ServiceLoader.java:859)
at 
java.base/java.util.ServiceLoader$ModuleServicesLookupIterator.hasNext(ServiceLoader.java:1084)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
at 
java.base/sun.security.jca.ProviderConfig$ProviderLoader.load(ProviderConfig.java:345)
at 
java.base/sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:254)
at 
java.base/sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:248)
at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at 
java.base/sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:248)
at 
java.base/sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:226)
at 
java.base/sun.security.jca.ProviderList.getProvider(ProviderList.java:270)
at 
java.base/sun.security.jca.ProviderList.getService(ProviderList.java:383)
at 
java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
at 
java.base/java.security.SecureRandom.getInstance(SecureRandom.java:387)
at 
java.base/sun.nio.ch.UnixDomainSockets.getRandom(UnixDomainSockets.java:120)
at 
java.base/sun.nio.ch.UnixDomainSockets.(UnixDomainSockets.java:126)
at 
java.base/sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:101)
at 
java.base/java.nio.channels.ServerSocketChannel.open(ServerSocketChannel.java:176)
at java.base/sun.nio.ch.PipeImpl.createListener(PipeImpl.java:221)
at 
java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:125)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:67)
at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at java.base/sun.nio.ch.PipeImpl.(PipeImpl.java:195)
at 
java.base/sun.nio.ch.WEPollSelectorImpl.(WEPollSelectorImpl.java:78)
at 
java.base/sun.nio.ch.WEPollSelectorProvider.openSelector(WEPollSelectorProvider.java:33)
at java.base/java.nio.channels.Selector.open(Selector.java:295)
at 
org.gradle.internal.remote.internal.inet.SocketConnection$SocketInputStream.(SocketConnection.java:162)
at 
org.gradle.internal.remote.internal.inet.SocketConnection.(SocketConnection.java:60)
at 
org.gradle.internal.remote.internal.inet.SocketConnectCompletion.create(SocketConnectCompletion.java:40)
a

Build failed in Jenkins: POI » POI-DSL-Windows-1.8 #437

2022-01-22 Thread Apache Jenkins Server
See 


Changes:

[PJ Fanning] revert test module changes

[PJ Fanning] try to fix build for Java 9+

[PJ Fanning] try to fix build for Java 9+

[PJ Fanning] slf4j 1.7.33

[PJ Fanning] slf4j 1.7.33


--
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content 
LANG=en_US.UTF-8
FORREST_HOME=f:\jenkins\tools\forrest\latest
CI_BUILD=TRUE

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on jenkins-win-azr-1 (Windows) in workspace 

[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Updating https://svn.apache.org/repos/asf/poi/trunk at revision 
'2022-01-23T00:47:46.019 +'
U poi\src\test\java9\module-info.class
U poi\src\main\java\org\apache\poi\hpsf\PropertySetFactory.java
U poi\src\main\java\org\apache\poi\ddf\AbstractEscherOptRecord.java
U poi-excelant\build.gradle
U poi-excelant\src\test\java9\module-info.class
U poi-integration\build.gradle
U poi-integration\src\test\java\org\apache\poi\stress\TestAllFiles.java
U 
poi-integration\src\test\java\org\apache\poi\stress\XWPFFileHandler.java
U poi-ooxml\build.gradle
U poi-ooxml\src\main\java9\module-info.class
U 
poi-ooxml\src\main\java\org\apache\poi\xssf\eventusermodel\XSSFSheetXMLHandler.java
U poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\SXSSFCell.java
U 
poi-ooxml\src\main\java\org\apache\poi\xssf\extractor\XSSFBEventBasedExcelExtractor.java
U 
poi-ooxml\src\main\java\org\apache\poi\xssf\extractor\XSSFEventBasedExcelExtractor.java
U poi-ooxml\src\test\java9\module-info.class
U 
poi-ooxml\src\test\java\org\apache\poi\xssf\eventusermodel\TestXSSFSheetXMLHandler.java
U 
poi-ooxml\src\test\java\org\apache\poi\xssf\streaming\TestSXSSFFormulaEvaluation.java
U poi-scratchpad\src\main\java9\module-info.class
U 
poi-scratchpad\src\main\java\org\apache\poi\hdgf\chunks\ChunkHeader.java
A 
poi-scratchpad\src\main\java\org\apache\poi\hdgf\exceptions\OldVisioFormatException.java
U 
poi-scratchpad\src\main\java\org\apache\poi\hdgf\pointers\PointerFactory.java
U poi-scratchpad\src\test\java9\module-info.class
U poi-ooxml-lite-agent\src\main\java9\module-info.class
U 
poi-examples\src\main\java\org\apache\poi\examples\ss\ExcelComparator.java
U build.gradle
G osgi\pom.xml
U test-data\spreadsheet\stress.xls

<-- Got one external: forrest.properties, svn url: 
https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 
into 
'F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\forrest.properties'
At revision 1897359


<-- Got one external: documentation, svn url: 
https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 
into 
'F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\src\documentation'
U src\documentation\content\xdocs\encryption.xml
At revision 1897359

At revision 1897359

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties 
since the previous build
[POI-DSL-Windows-1.8] $ cmd /c call 
F:\jenkins\jenkins-home\temp\jenkins4997466294779015574.bat
X   forrest.properties
M   poi-ooxml-lite\src\main\java9\module-info.java
X   src\documentation

Performing status on external item at 'src\documentation':
svn: E155010: The node 
'F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi*\src\*' 
was not found.
Java-Home: f:\\jenkins\\tools\\java\\latest1.8
 Volume in drive F is Data
 Volume Serial Number is 7082-E32C

 Directory of f:\jenkins\tools\java\latest1.8

07/30/2021  06:24 PM  .
07/30/2021  06:24 PM  ..
04/16/2020  07:15 AM 1,522 ASSEMBLY_EXCEPTION
07/30/2021  06:24 PM  bin
07/30/2021  06:24 PM  include
07/30/2021  06:24 PM  jre
07/30/2021  06:24 PM  lib
04/16/2020  07:15 AM19,274 LICENSE
04/16/2020  07:15 AM86 release
07/30/2021  06:24 PM  sample
04/16/2020  07:15 AM51,408,032 src.zip
04/16/2020  07:15 AM   153,250 THIRD_PARTY_README
   5 File(s) 51,582,164 bytes
   7 Dir(s)  989,090,107,392 bytes free
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
OpenJDK 64-Bit

Jenkins build is back to normal : POI » POI-DSL-Windows-1.17 #130

2022-01-22 Thread Apache Jenkins Server
See 



-
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 » POI-DSL-1.17 #172

2022-01-22 Thread Apache Jenkins Server
See 



-
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 » POI-DSL-no-scratchpad #85

2022-01-22 Thread Apache Jenkins Server
See 



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



Re: Java 9+ build issues

2022-01-22 Thread PJ Fanning
We don't distribute the test jars - at least not via Maven Central. If we ever 
did choose to distribute the test jars, we would have to consider not including 
the main source classes.






On Saturday 22 January 2022, 22:19:19 GMT+1, PJ Fanning 
 wrote: 





Hi Andreas,
I'm ok with reverting the test jar changes.






On Saturday 22 January 2022, 22:06:41 GMT+1, Dominik Stadler 
 wrote: 





Hi,

sorry for breaking the build, unfortunately these Java 9+ module stuff is
quite a mystery for me as well.We can revert to the previous state if you
think your current solution is not final.

Would be nice if we can decide to ditch Java 8 at some point so we can
simplify the build and then have less "works on Java 8, but breaks on Java
9+" issues.

Thanks... Dominik.


On Sat, Jan 22, 2022 at 3:37 PM PJ Fanning 
wrote:

> Hi,
> I've tried to fix the build issues in Java 9+ that happened after
> https://github.com/apache/poi/commit/bba249d52207799dc984efd884353aa4783c1c40
>
> This change seems worthwhile so I tried to fix the underlying compile
> issues but ran into trouble with the test tasks setting module stuff. By
> commenting out this module stuff, the test tasks run again (on my laptop).
> I may not have fixed all the submodules yet and will have to leave it for
> the next few hours.
>
>
> https://github.com/apache/poi/commit/ca9cf3c6f83e06fe2504a01fff4bb7b53f44f577
>
> https://github.com/apache/poi/commit/1ee199b1ea8ce524d734aa5e9fa7fbe0c4a52ac0
>
> If anyone knows more about Jigsaw modules than me (and I don't much) --
> maybe they can have a look.

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


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



Re: Java 9+ build issues

2022-01-22 Thread PJ Fanning
Hi Andreas,
I'm ok with reverting the test jar changes.






On Saturday 22 January 2022, 22:06:41 GMT+1, Dominik Stadler 
 wrote: 





Hi,

sorry for breaking the build, unfortunately these Java 9+ module stuff is
quite a mystery for me as well.We can revert to the previous state if you
think your current solution is not final.

Would be nice if we can decide to ditch Java 8 at some point so we can
simplify the build and then have less "works on Java 8, but breaks on Java
9+" issues.

Thanks... Dominik.


On Sat, Jan 22, 2022 at 3:37 PM PJ Fanning 
wrote:

> Hi,
> I've tried to fix the build issues in Java 9+ that happened after
> https://github.com/apache/poi/commit/bba249d52207799dc984efd884353aa4783c1c40
>
> This change seems worthwhile so I tried to fix the underlying compile
> issues but ran into trouble with the test tasks setting module stuff. By
> commenting out this module stuff, the test tasks run again (on my laptop).
> I may not have fixed all the submodules yet and will have to leave it for
> the next few hours.
>
>
> https://github.com/apache/poi/commit/ca9cf3c6f83e06fe2504a01fff4bb7b53f44f577
>
> https://github.com/apache/poi/commit/1ee199b1ea8ce524d734aa5e9fa7fbe0c4a52ac0
>
> If anyone knows more about Jigsaw modules than me (and I don't much) --
> maybe they can have a look.

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



Re: Java 9+ build issues

2022-01-22 Thread Dominik Stadler
Hi,

sorry for breaking the build, unfortunately these Java 9+ module stuff is
quite a mystery for me as well.We can revert to the previous state if you
think your current solution is not final.

Would be nice if we can decide to ditch Java 8 at some point so we can
simplify the build and then have less "works on Java 8, but breaks on Java
9+" issues.

Thanks... Dominik.


On Sat, Jan 22, 2022 at 3:37 PM PJ Fanning 
wrote:

> Hi,
> I've tried to fix the build issues in Java 9+ that happened after
> https://github.com/apache/poi/commit/bba249d52207799dc984efd884353aa4783c1c40
>
> This change seems worthwhile so I tried to fix the underlying compile
> issues but ran into trouble with the test tasks setting module stuff. By
> commenting out this module stuff, the test tasks run again (on my laptop).
> I may not have fixed all the submodules yet and will have to leave it for
> the next few hours.
>
>
> https://github.com/apache/poi/commit/ca9cf3c6f83e06fe2504a01fff4bb7b53f44f577
>
> https://github.com/apache/poi/commit/1ee199b1ea8ce524d734aa5e9fa7fbe0c4a52ac0
>
> If anyone knows more about Jigsaw modules than me (and I don't much) --
> maybe they can have a look.
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>


Re: Java 9+ build issues

2022-01-22 Thread Andreas Beeker

HI,

On 22.01.22 15:37, PJ Fanning wrote:

I've tried to fix the build issues in Java 9+ that happened after 
https://github.com/apache/poi/commit/bba249d52207799dc984efd884353aa4783c1c40


If anyone knows more about Jigsaw modules than me (and I don't much) -- maybe 
they can have a look.


I think that change makes things more complicated, the test classes sometimes 
use the main classes on a package level, i.e. what a user code can't do. 
Therefore with JPMS they are either in the same jar or we use patch-module more 
extensively. Referencing the test archives seems to be easier than specifying 
the patch-modules for each transitive module.

I'm not sure, if this was a thought involved, but working on the class output directories 
directly (aka in "gradle style") instead on the jars probably doesn't work 
correctly with JPMS.

Andi


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



Java 9+ build issues

2022-01-22 Thread PJ Fanning
Hi,
I've tried to fix the build issues in Java 9+ that happened after 
https://github.com/apache/poi/commit/bba249d52207799dc984efd884353aa4783c1c40

This change seems worthwhile so I tried to fix the underlying compile issues 
but ran into trouble with the test tasks setting module stuff. By commenting 
out this module stuff, the test tasks run again (on my laptop). I may not have 
fixed all the submodules yet and will have to leave it for the next few hours.

https://github.com/apache/poi/commit/ca9cf3c6f83e06fe2504a01fff4bb7b53f44f577
https://github.com/apache/poi/commit/1ee199b1ea8ce524d734aa5e9fa7fbe0c4a52ac0

If anyone knows more about Jigsaw modules than me (and I don't much) -- maybe 
they can have a look. 

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



Re: Duplicate classes in classpath from poi-ooxml-lite and ooxml-schemas

2022-01-22 Thread PJ Fanning
Stackoverflow is full of questions from users who think they can randomly 
change the jar versions used in opensagres pdf converter - you can't -- you 
need to use the versions of jars opensagres was built with






On Saturday 22 January 2022, 14:07:25 GMT+1, Nick Burch  
wrote: 





On Fri, 21 Jan 2022, Валерий Зайченко wrote:
> I used fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.pdf:1.0.5 for
> convert *.docx files to *.pdf.

That's a totally different project, which merely depends on Apache POI


> Can you please put in order dependencies for 
> fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf ?


You would need to ask the authors of that project for help with their 
versions and dependencies, we have no control over their project

Nick


-
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



Re: Duplicate classes in classpath from poi-ooxml-lite and ooxml-schemas

2022-01-22 Thread PJ Fanning
poi-ooxml-schemas and ooxml-schemas are not meant to be used together -- you 
use one or the other

poi-ooxml-lite is a new jar for newer versions of POI -- not to be used with 
pre-historic versions of POI like 3.14

fr.opensagres -- this is nothing whatsover to do with Apache POI - talk to 
OpenSagres about this jar





On Saturday 22 January 2022, 14:04:02 GMT+1, Валерий Зайченко 
 wrote: 





Good day
I used fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.pdf:1.0.5 for
convert *.docx files to *.pdf. This converter depends on
org.apache.poi:poi-ooxml:3.14 and org.apache.poi:ooxml-schemas-1.1. In turn
org.apache.poi:poi-ooxml:3.14 depends on
org.apache.poi:poi:3.14 and org.apache.poi:poi-ooxml-schemas:3.14. But
org.apache.poi:ooxml-schemas-1.1 and org.apache.poi:poi-ooxml-schemas:3.14
have the same packages with same duplicate classes. For example
/org/openxmlformats/schemas/wordprocessingml/x2006/main. It isn't good for
building classpaths but this combination worked.
Now fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.pdf moved to
fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf.
fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf:2.0.2 depend
from org.apache.poi:poi-ooxml:5.2.0 and org.apache.poi:ooxml-schemas:1.4.
In turn org.apache.poi:poi-ooxml:5.2.0 depend from
org.apache.poi:poi-ooxml-lite:5.2.0. As in early case
org.apache.poi:ooxml-schemas:1.4 and org.apache.poi:poi-ooxml-lite:5.2.0
have the same packages with same duplicate classes. But now I get runtime
error when create instance XWPFDocument
XWPFDocument document = new XWPFDocument(bis);
Caused by: java.lang.NoSuchFieldError: Factory
        at
org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:196)
        at org.apache.poi.ooxml.POIXMLDocument.load(POIXMLDocument.java:169)
        at
org.apache.poi.xwpf.usermodel.XWPFDocument.(XWPFDocument.java:159)

    This is because in classpath set
org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument.class
from org.apache.poi:ooxml-schemas:1.4. instead

org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument.class
from org.apache.poi:poi-ooxml-lite:5.2.0

    Can you please put in order
dependencies for
fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf ?

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



Re: Duplicate classes in classpath from poi-ooxml-lite and ooxml-schemas

2022-01-22 Thread Nick Burch

On Fri, 21 Jan 2022, Валерий Зайченко wrote:

I used fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.pdf:1.0.5 for
convert *.docx files to *.pdf.


That's a totally different project, which merely depends on Apache POI

Can you please put in order dependencies for 
fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf ?


You would need to ask the authors of that project for help with their 
versions and dependencies, we have no control over their project


Nick

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

Duplicate classes in classpath from poi-ooxml-lite and ooxml-schemas

2022-01-22 Thread Валерий Зайченко
Good day
I used fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.pdf:1.0.5 for
convert *.docx files to *.pdf. This converter depends on
org.apache.poi:poi-ooxml:3.14 and org.apache.poi:ooxml-schemas-1.1. In turn
org.apache.poi:poi-ooxml:3.14 depends on
org.apache.poi:poi:3.14 and org.apache.poi:poi-ooxml-schemas:3.14. But
org.apache.poi:ooxml-schemas-1.1 and org.apache.poi:poi-ooxml-schemas:3.14
have the same packages with same duplicate classes. For example
/org/openxmlformats/schemas/wordprocessingml/x2006/main. It isn't good for
building classpaths but this combination worked.
Now fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.pdf moved to
fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf.
fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf:2.0.2 depend
from org.apache.poi:poi-ooxml:5.2.0 and org.apache.poi:ooxml-schemas:1.4.
In turn org.apache.poi:poi-ooxml:5.2.0 depend from
org.apache.poi:poi-ooxml-lite:5.2.0. As in early case
 org.apache.poi:ooxml-schemas:1.4 and org.apache.poi:poi-ooxml-lite:5.2.0
have the same packages with same duplicate classes. But now I get runtime
error when create instance XWPFDocument
 XWPFDocument document = new XWPFDocument(bis);
Caused by: java.lang.NoSuchFieldError: Factory
at
org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:196)
at org.apache.poi.ooxml.POIXMLDocument.load(POIXMLDocument.java:169)
at
org.apache.poi.xwpf.usermodel.XWPFDocument.(XWPFDocument.java:159)

This is because in classpath set
org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument.class
from org.apache.poi:ooxml-schemas:1.4. instead

org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument.class
from org.apache.poi:poi-ooxml-lite:5.2.0

Can you please put in order
 dependencies for
fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf ?


Build failed in Jenkins: POI » POI-DSL-1.17 #171

2022-01-22 Thread Apache Jenkins Server
See 


Changes:

[Dominik Stadler] Remove one unnecessary exclude

It seems the problem when cloning was fixed in the meantime

[Dominik Stadler] Exclude one more file when running tests without 
poi-scratchpad

[Dominik Stadler] Add more output when integration-tests do not fail with the 
expected exception

[Dominik Stadler] Adjust thread-names when running integration

This allows to identify in thread-dumps which
file is taking a long time or is causing issues

[Dominik Stadler] Don't create an error-log when slightly broken spreadsheets 
contain an empty value for attribute "s"

[Dominik Stadler] Don't add main classes to *-test.jar files

Better to only provide them once to avoid very strange
errors if they differ for some reason

[Dominik Stadler] Avoid log-spam when using SXSSFWorkbook with auto-sizing

[Dominik Stadler] Fix invalid comparison and optimize construction of CellStyle 
objects for comparison

Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".

Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().

[Dominik Stadler] Adjust one more version-number in the osgi-pom.xml

[Dominik Stadler] Introduce an OldVisioFormatException similar to other 
file-types

[Dominik Stadler] Improve error-message, include some details why processing 
the file fails

[Dominik Stadler] Make all text-extractors always return a non-null String

This changes the expected exception of some test-files

[Dominik Stadler] Avoid stackoverflow exception that can be caused by a 
corrupted slideshow file

[Dominik Stadler] Add test-dependency on slf4j-simple to include all logs in 
captured test-output


--
[...truncated 41.46 KB...]
^
:400:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.ERROR);
^
:401:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
:403:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
:2362:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
:90:
 warning: [deprecation] getCode() in CellType has been deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
   ^
:90:
 warning: [deprecation] getCachedResultType() in FormulaRecord has been 
deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
 ^

> Task :poi-ooxml-full:compileJava

> Task :poi:compileTestJava
:312:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
SecurityManager sm = System.getSecurityManager();
^
:312:
 warning: [removal] getSecurityManager() in System has been deprecated and 
marked for removal
SecurityManager sm = System.getSecurityManager();
   ^
:313:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
System.setSecurityManager(new NoExitSecurityManager());
  ^
:319:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
System.setSecurityManager(sm);
  ^


Build failed in Jenkins: POI » POI-DSL-Windows-1.17 #129

2022-01-22 Thread Apache Jenkins Server
See 


Changes:

[Dominik Stadler] Remove one unnecessary exclude

It seems the problem when cloning was fixed in the meantime

[Dominik Stadler] Exclude one more file when running tests without 
poi-scratchpad

[Dominik Stadler] Add more output when integration-tests do not fail with the 
expected exception

[Dominik Stadler] Adjust thread-names when running integration

This allows to identify in thread-dumps which
file is taking a long time or is causing issues

[Dominik Stadler] Don't create an error-log when slightly broken spreadsheets 
contain an empty value for attribute "s"

[Dominik Stadler] Don't add main classes to *-test.jar files

Better to only provide them once to avoid very strange
errors if they differ for some reason

[Dominik Stadler] Avoid log-spam when using SXSSFWorkbook with auto-sizing

[Dominik Stadler] Fix invalid comparison and optimize construction of CellStyle 
objects for comparison

Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".

Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().

[Dominik Stadler] Adjust one more version-number in the osgi-pom.xml

[Dominik Stadler] Introduce an OldVisioFormatException similar to other 
file-types

[Dominik Stadler] Improve error-message, include some details why processing 
the file fails

[Dominik Stadler] Make all text-extractors always return a non-null String

This changes the expected exception of some test-files

[Dominik Stadler] Avoid stackoverflow exception that can be caused by a 
corrupted slideshow file

[Dominik Stadler] Add test-dependency on slf4j-simple to include all logs in 
captured test-output


--
[...truncated 56.45 KB...]
cell.setCellType(CellType.BOOLEAN);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\hssf\usermodel\TestHSSFCell.java:399:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\hssf\usermodel\TestHSSFCell.java:400:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.ERROR);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\hssf\usermodel\TestHSSFCell.java:401:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\hssf\usermodel\TestHSSFCell.java:403:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^

> Task :poi-scratchpad:compileJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hslf\usermodel\HSLFSlide.java:492:
 warning: [deprecation] getDisplayPlaceholder(Placeholder) in Slide has been 
deprecated
public boolean getDisplayPlaceholder(final Placeholder placeholder) {
   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hwpf\usermodel\Table.java:89:
 warning: [deprecation] TYPE_TABLE in Range has been deprecated
return TYPE_TABLE;
   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hwpf\HWPFDocument.java:337:
 warning: [deprecation] 
PicturesTable(HWPFDocument,byte[],byte[],FSPATable,OfficeArtContent) in 
PicturesTable has been deprecated
_pictures = new PicturesTable(this, _dataStream, _mainStream, 
_fspaMain, officeArtContent);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hwpf\usermodel\Section.java:238:
 warning: [deprecation] TYPE_SECTION in Range has been deprecated
return TYPE_SECTION;
   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hwpf\model\BytePropertyNode.java:35:
 warning: [unchecked] unchecked method invocation: constructor  in class 
PropertyNode is applied to given types
super(other);
 ^
  required: PropertyNode
  found:BytePropertyNode
  where T is a type-variable:
T extends PropertyNode declared in class PropertyNode
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hwpf\model\BytePropertyNode.java:35:
 warning: [unchecked] unchecked conversion
super(o

[GitHub] [poi] dependabot[bot] commented on pull request #297: Bump slf4j-simple from 1.7.32 to 1.7.33

2022-01-22 Thread GitBox


dependabot[bot] commented on pull request #297:
URL: https://github.com/apache/poi/pull/297#issuecomment-1019113824


   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`. You can also ignore 
all major, minor, or patch releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[GitHub] [poi] asfgit closed pull request #297: Bump slf4j-simple from 1.7.32 to 1.7.33

2022-01-22 Thread GitBox


asfgit closed pull request #297:
URL: https://github.com/apache/poi/pull/297


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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