Hi, this seems to be some invalid or conflicting third-party libraries dependency in your environment.
You can check differences in dependencies via maven-central, e.g. https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml/3.17 and https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml/4.0.0 One notable difference is that POI 4.x introduced a dependency on commons-compress, maybe you have a very outdated version of this library in your application? Otherwise you will need to narrow down the test-case that works on your local machine and fails on your server until you know which difference causes it. There might be a number of factors, it is hard to say without being able to take a direct look which one is exactly causing this here. Dominik. On Mon, Jun 1, 2020 at 12:41 AM adidesi <[email protected]> wrote: > Hi Dominic, > > Sorry for the late reply.. I tried tweaking the code updating dependency > jars to correct version but still doesn't. A simple example code > > https://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/xssf/usermodel/examples/CreateCell.java > Also is not working at 4.0.0 which works as expected 3.7 > I couldn't reproduce as you suggested by locally running withnjava bundle > as > the OS of my local and server are different > > Do we need any specific dependency which is to be added to server library > on > server which is not required or is available locally as default? > > The docprops/core.xml is generating with 0bytes. And consequently the rels > file and content_types.xml thus is being empty ie 0 bytes. But the cause > effect is just a mere guess as the content_types.xml and rels point to > core.xml > > > > > -- > Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
