FOP hanging without error

View: New views
3 Messages — Rating Filter:   Alert me  

FOP hanging without error

by Jordan Dohms-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

I'm trying to generate a PDF with FOP, inputting XML and XSL-FO source
files.  I've narrowed down the problem to a specific line in my
XSL-FO.  If I include it, it hangs indefinitely.  The PDF sits at 0KB
when it's hung.  Takes a Ctrl+C to abort. If I comment it the
problematic line, it runs fine and generates the PDF.

Source files:
XML: http://pastebin.com/m2b66462f
XSL-FO: http://pastebin.com/m6c8dd92c

Problematic line in question: XSL-FO line 213
Command being run: ./fop -xml text.xml -xsl style.xsl -pdf output.pdf

Platform:
FOP 0.95 (and 0.92)
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Ubuntu Hardy Heron (yes, I know I need to upgrade)

Two questions:
 - Why is FOP not giving any error message?  I've never seen this
behaviour before.
 - Or if this is easier to answer, why is that XSL-FO line causing
such severe problems?

It should be reproducible, if you run the same files. (only problem is
the file pastebin provides needs to be resaved as UTF-8)

I'd be grateful for any help or direction anyone can provide.

Thanks,
Jordan

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: FOP hanging without error

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 28 Jun 2009, at 00:49, Jordan Dohms wrote:

Hey there

> I'm trying to generate a PDF with FOP, inputting XML and XSL-FO source
> files.  I've narrowed down the problem to a specific line in my
> XSL-FO.  If I include it, it hangs indefinitely.  The PDF sits at 0KB
> when it's hung.  Takes a Ctrl+C to abort. If I comment it the
> problematic line, it runs fine and generates the PDF.

Just tried your sample, and can confirm the issue. Most likely, this  
is a manifestation of the issue currently logged in Bugzilla 47424 ( https://issues.apache.org/bugzilla/show_bug.cgi?id=47424 
  )

FWIW: As a positive note, I have also tried running the file in  
question in my local sandbox, and there the issue appears to be  
fixed... Seems I have to go looking for the exact change. The fix  
could also be a side-effect of something I'm currently working on. I  
invite you to add yourself to the CC-list of the Bugzilla issue, so  
you're automatically informed if anything moves here.


Regards

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: FOP hanging without error

by Jordan Dohms-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Andreas.  I provided a FO file from my experience, in the hopes
it will help identify the issue.  I look forward to seeing this bug
resolved.

Jordan

On Mon, Jun 29, 2009 at 1:15 AM, Andreas
Delmelle<andreas.delmelle@...> wrote:

> On 28 Jun 2009, at 00:49, Jordan Dohms wrote:
>
> Hey there
>
>> I'm trying to generate a PDF with FOP, inputting XML and XSL-FO source
>> files.  I've narrowed down the problem to a specific line in my
>> XSL-FO.  If I include it, it hangs indefinitely.  The PDF sits at 0KB
>> when it's hung.  Takes a Ctrl+C to abort. If I comment it the
>> problematic line, it runs fine and generates the PDF.
>
> Just tried your sample, and can confirm the issue. Most likely, this is a
> manifestation of the issue currently logged in Bugzilla 47424 (
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47424 )
>
> FWIW: As a positive note, I have also tried running the file in question in
> my local sandbox, and there the issue appears to be fixed... Seems I have to
> go looking for the exact change. The fix could also be a side-effect of
> something I'm currently working on. I invite you to add yourself to the
> CC-list of the Bugzilla issue, so you're automatically informed if anything
> moves here.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...