Forum Stats

  • 3,722,209 Users
  • 2,244,252 Discussions
  • 7,849,704 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Error when transforming XSL in Java 1.8.0_251

Gayan Dasanayake
Gayan Dasanayake Member Posts: 1

When transforming certain XSL documents in the latest Java 1.8.0_251 release the following error is thrown.

<span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">com</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">sun</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">org</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">apache</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">bcel</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">.</span><span class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--blue-800);">internal</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">.</span><span class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--blue-800);">generic</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">.</span><span class="typ" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: #2b91af;">ClassGenException</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">:</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);"> </span><span class="typ" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: #2b91af;">Not</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">   <br/>targeting </span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--red-800);">10980</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">:</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);"> nop</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">[</span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--red-800);">0</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">](</span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--red-800);">1</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">),</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);"> but </span><span class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--blue-800);">null</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);"> ERROR</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">:</span><span class="typ" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: #2b91af;">Not</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);"> targeting </span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--red-800);">10980</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">:</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">   <br/>nop</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">[</span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--red-800);">0</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">](</span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--red-800);">1</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);">),</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--black-750);"> but </span><span class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; font-size: 13px; color: var(--blue-800);">null</span>

But the same stylesheet transform without any issues with Java 1.8.0_241.

This is affecting critical report geneations for us so any help is really appreciated.

We have posted all details in Stackoverflow also https://stackoverflow.com/questions/62449124/fatal-error-when-transforming-a-xsl-with-java-1-8-0-251

Sign In or Register to comment.