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

From: Rhonda Fitzgerald <rfitzger@progress.com>
Date: Tue Sep 10 2013 - 09:05:28 PDT

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@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@01CEAE1C.03C3BD40]<http://twitter.com/progresssw> Follow us on Twitter<http://twitter.com/progresssw>
[cid:image003.gif@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!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html

image001.gif
image002.gif
image003.gif
Received on Tue Sep 10 09:05:45 2013

This archive was generated by hypermail 2.1.8 : Tue Sep 10 2013 - 09:05:51 PDT