forgot attach :-)

cheerz,

andreas

-----Original Message-----
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: woensdag 13 augustus 2003 22:04
To: [EMAIL PROTECTED]
Subject: Annoying 'ArrayIndexOutOfBoundsException'?



Hi all,

I wrote a light-weight server-program ( like many of you, I guess ;-) ) that
worked fine on Win2K ( Pro as well as Adv. Server ).
Recently, a PowerBook G4 has come into my possession, and I really looked
forward to running the program on that little machine ( still do btw ).
After having fixed a few platform-dependent details ( mostly absolute file
references in the xsl-stylesheet ), one little problem remains. The process
throws an ArrayIndexOutOfBoundsException, leading to the debug output as in
attached txt-file. Seems like a Xalan-related problem (classpath?), so going
to try a fix right away, but if any of you have other ideas about the
possible cause(s), your input would be much appreciated. After all, I don't
have that much experience with multiple platforms...
What really bugs me is the logger indicating that page 1 is being rendered
( and if everything goes right, the output file should contain only one page
in this case ), and the error occurs while processing page 1 - for the
second time (?)

Anyone?

Config :
fop 0.20.5 release ( as shows in the debug output )
on Mac OS X ( Terminal tcsh )

Thx in advance,

Andreas Delmelle
andreas% fop -xml _mdocdirs/XML/001/200300B0000054.xml -xsl 
projects/builds/mdocsrv-0.1.8/dist/xsl/ATTVG_NL.xsl -pdf 
_mdocdirs/PDF/001/ATTVG_200300B0000054.pdf -d
[DEBUG] Input mode: 
[DEBUG] xslt transformation
[DEBUG] xml input file: _mdocdirs/XML/001/200300B0000054.xml
[DEBUG] xslt stylesheet: projects/builds/mdocsrv-0.1.8/dist/xsl/ATTVG_NL.xsl
[DEBUG] Output mode: 
[DEBUG] pdf
[DEBUG] output file: _mdocdirs/PDF/001/ATTVG_200300B0000054.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/Users/andreas/_mdocdirs/XML/001/
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
[INFO] [1]
[ERROR] java.lang.ArrayIndexOutOfBoundsException: -1
org.apache.fop.apps.FOPException: java.lang.ArrayIndexOutOfBoundsException: -1
        at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

---------

java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -1
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
        at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
        at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown 
Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown 
Source)
        at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
        at org.apache.fop.apps.Driver.render(Driver.java:498)
        at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

---------

java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -1
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
        at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
        at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown 
Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown 
Source)
        at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
        at org.apache.fop.apps.Driver.render(Driver.java:498)
        at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
        at org.apache.fop.apps.Fop.main(Fop.java:62)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to