I thought I had posted, I discovered the issue, it was noclassdeffound
errors but tomcat was swallowing them so I wasn’t getting anywhere on debug,
however when I took the code into a stand alone app it gave me the error, I
was missing all sorts of jars that the previous version of fop I was using
(something like 0.23 modified) wasn’t needed, including xml-api-ext and
Avalon framework. 

Now I have an alternate question I am seeing this a lot in my logs, does it
mean that the font was substituted or that it has them and could be
substituted if needed?

2011-05-10 10:04:20,312 [http-8080-3] DEBUG org.apache.fop.fonts.FontInfo -
Font lookup: HelveticaNeue normal 400
2011-05-10 10:04:20,312 [http-8080-3] DEBUG org.apache.fop.fonts.FontInfo -
Font lookup: HelveticaNeue normal 400 substitutable
2011-05-10 10:04:20,312 [http-8080-3] DEBUG org.apache.fop.fonts.FontInfo -
Font lookup: HelveticaNeue normal 400
2011-05-10 10:04:20,312 [http-8080-3] DEBUG org.apache.fop.fonts.FontInfo -
Font lookup: HelveticaNeue normal 400 substitutable

Kindest regards

Theresa Forster
Senior Software Developer

[email protected]
www.inbrand.co.uk

Tel: 01483 266500



IMPORTANT NOTE: This transmission has been sent by or on behalf of In Brand
Software Ltd. The information in this transmission is for the intended
addressee only and is confidential to that intended addressee. If either you
know or you ought reasonably to conclude that you are not, or may not be,
the intended addressee, you are hereby given notice that any unauthorised
dissemination or copying of this transmission and any disclosure or use of
the information
transmitted is strictly prohibited and may be illegal. In such circumstances
we ask for your assistance in notifying us immediately by e-mail, telephone
or letter.

InBrand Software Ltd Registered in England No. 5131004 Registered Office:
The Old Barn, Ewhurst Road, Cranleigh GU6 7EF 


-----Original Message-----
From: Chris Bowditch [mailto:[email protected]] 
Sent: 10 May 2011 10:02
To: [email protected]
Subject: Re: Strange problem with no error being generated

On 06/05/2011 14:20, Theresa Jayne Forster wrote:

Hi Theresa,

> I have been trying to create an embedded FOP within Java, It used to 
> work with the Driver method fine,
>
> But its now not working and just erroring immediately as soon as it 
> hits the FopFactory.newInstance() call,
>
> No exception no nothing, just moves immediately to the finally clause 
> with not a peep in the logs, can anyone suggest
>
> What the issue might be.
>

No one has replied to you yet, probably because you didn't provide 
enough information. Please post a code snippet. If there is no exception 
how do you know the call to FopFactory.newInstance() fails? Does it 
return null?

Have you looked at \examples\embedding\java\embedding\ExampleFO2PDF.java?

Thanks,

Chris

> Kindest regards
>
>
> Theresa Forster
>
> Senior Software Developer
>
> [email protected] <mailto:[email protected]>
> www.inbrand.co.uk <http://www.inbrand.co.uk/>
>
> *Tel: 01483 266500*
>
> IMPORTANT NOTE: This transmission has been sent by or on behalf of In 
> Brand Software Ltd. The information in this transmission is for the 
> intended addressee only and is confidential to that intended 
> addressee. If either you know or you ought reasonably to conclude that 
> you are not, or may not be, the intended addressee, you are hereby 
> given notice that any unauthorised dissemination or copying of this 
> transmission and any disclosure or use of the information
> transmitted is strictly prohibited and may be illegal. In such 
> circumstances we ask for your assistance in notifying us immediately 
> by e-mail, telephone or letter.
>
> InBrand Software Ltd Registered in England No. 5131004 Registered 
> Office: The Old Barn, Ewhurst Road, Cranleigh GU6 7EF
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3625 - Release Date: 05/08/11



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to