Summary: | init presetShapeDefinitions.xml fail under IBM jdk | ||
---|---|---|---|
Product: | POI | Reporter: | scmodabc <smdlzc> |
Component: | SL Common | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 4.0.x-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 62994 |
Description
scmodabc
2018-11-30 02:16:54 UTC
If you can load the ppt using one JDK and not another, then I'd suggest that the issue is likely to be in the second JDK. Could you try upgrading your JDK and if IBM JDK continues to be an issue, could you try up to date versions of OpenJDK or Oracle JDK? (In reply to PJ Fanning from comment #1) > If you can load the ppt using one JDK and not another, then I'd suggest that > the issue is likely to be in the second JDK. > Could you try upgrading your JDK and if IBM JDK continues to be an issue, > could you try up to date versions of OpenJDK or Oracle JDK? I have tried to install up to date ibm jdk,and encountered a RuntimeException as before. ibm jdk version: java version "1.8.0_191" Java(TM) SE Runtime Environment (build 8.0.5.26 - pxa6480sr5fp26-20181115_03(SR5 FP26)) IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20181106_401576 (JIT enabled, AOT enabled) OpenJ9 - fde1d6f OMR - d8c3617 IBM - 5c4a9f0) JCL - 20181022_01 based on Oracle jdk8u191-b26 while newest OpenJDK and OracleJDK works fine perhaps I have to configure websphere to use openjdk or oraclejdk. Thank you Maybe you should report this JAXB issue to IBM. (In reply to PJ Fanning from comment #3) > Maybe you should report this JAXB issue to IBM. yes,I have make my effort to find how to report this issue to IBM, but the official forum always went wrong. It response 400 bad request with follow message : Yikes — we didn't catch all of that. Something went wrong someplace. I'll try again some time later fixed via r1848494 see also https://stackoverflow.com/questions/28860131/illegalstateexception-when-unmarshalling-from-child-node-with-xmleventreader Currently the IBM build isn't successful, as there is an encryption bug ... but I'm on it (In reply to Andreas Beeker from comment #5) > fixed via r1848494 > > see also > https://stackoverflow.com/questions/28860131/illegalstateexception-when- > unmarshalling-from-child-node-with-xmleventreader > > Currently the IBM build isn't successful, as there is an encryption bug ... > but I'm on it Yes, it works!~~Thanks very much But it still makes me confused why the event filterReader failed. The answer from stackoverflow tells "when you pass it to the Unmarshaller it is going to ask for the next event",doesn't it means the reader "cursor" is at the position of, for example: <accentBorderCallout1> ↑here and the unmarsheller call of next will return a START_ELEMENT? I think it has the same meaning of the documentation of what filterRead.peek() say : "A call to peek() will be equal to the next return of next()". |