[xep-support] Exception in thread "main" java.lang.InternalError: fillbuf error

Rhonda Fitzgerald rfitzger at progress.com
Tue Sep 10 09:05:28 PDT 2013


Hi,

I am using RenderXEP Version 4.16 build 20090723 with DITA OT 1.5.4 to generate PDF.

I have created some custom code to define two outputclasses for the <b> element that change the size of the text.

  <xsl:attribute-set name="b">
        <xsl:attribute name="font-size">
            <xsl:choose>
                <xsl:when test="@outputclass='keylabel'">80%</xsl:when>
                <xsl:when test="@outputclass='synmeta'">180%</xsl:when>
                <xsl:otherwise>100%</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>

I have a topic that uses both outputclasses throughout the topic, here are a couple of examples:

<b outputclass="keylabel">KEY1+KEY2</b>

<b outputclass="synmeta">{ }</b>

When I generate the topic standalone, the topic generates properly and the font size appears as desired.

When I generate the topic as part of a map, I get the following error:

  [java] Exception in thread "main" java.lang.InternalError: fillbuf
  [java]    at org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java:545)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1826)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
  [java]    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
  [java]    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
  [java]    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
  [java]    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

The PDF generates, but it is 1KB and doesn't open.

Strangely, when I comment any one of the outputclasses in the topic, the topic generates with the map.  It doesn't matter which one I comment out, as long as one is commented out.

I have other topics in the map which use these outputclasses also, and those are not  causing a problem.

Any ideas?

Thanks,

Rhonda Fitzgerald
DITA<http://en.wikipedia.org/wiki/Darwin_Information_Typing_Architecture> Architect, Knowledge Services

[cid:image001.gif at 01CEAE1C.03C3BD40]<http://www.progress.com/>
PROGRESS SOFTWARE
14 Oak Park | Bedford, MA 01730 | USA
PHONE +1-781-280-4656
MOBILE +1-617-549-7437
www.progress.com<http://www.progress.com/>
[cid:image002.gif at 01CEAE1C.03C3BD40]<http://twitter.com/progresssw>  Follow us on Twitter<http://twitter.com/progresssw>
[cid:image003.gif at 01CEAE1C.03C3BD40]<http://www.linkedin.com/groups?gid=50228&trk=myg_ugrp_ovr>  Join us on LinkedIn<http://www.linkedin.com/groups?gid=50228&trk=myg_ugrp_ovr>





!DSPAM:87,522f43549852848113833!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20130910/f96ae9c1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2124 bytes
Desc: image001.gif
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20130910/f96ae9c1/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1251 bytes
Desc: image002.gif
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20130910/f96ae9c1/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 1095 bytes
Desc: image003.gif
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20130910/f96ae9c1/attachment-0005.gif>


More information about the Xep-support mailing list