xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Ferro <kinda...@gmail.com>
Subject Re: Problem that could lose me my job
Date Tue, 07 Feb 2012 19:23:27 GMT
Hmmm... why not installing those files in a local webserver?

That way you would have a proper uri (http://localhost/etc...)

And prolly the problem would be sorted...

When the hammer doesn't go to the nail... you get a nail-gun.

Cheers,
LF


On 07/02/2012 14:47, Rob Sargent wrote:
> Still looks to me as though your image handling is amiss.  What image 
> loaders have you defined? Are they available in deployment? All 
> assuming the fixed (DOS?) paths are correct.
>
>
> On Feb 7, 2012, at 3:09 AM, "Theresa Jayne Forster" 
> <theresa@inbrand.co.uk <mailto:theresa@inbrand.co.uk>> wrote:
>
>> Thank you for all your time guys,  I was being a clutz, Unbeknown to 
>> me all ERRORS were being pushed into a separate file – (I didn’t put 
>> together the log.properties )
>>
>> In the error log I am getting an exception as below. So it is having 
>> problems getting the images, so at least I have somewhere to look
>>
>> 2012-02-03 15:20:41,503 [pool-1-thread-2] ERROR 
>> org.apache.fop.apps.FopFactory - Attempt to resolve URI 
>> 'C:\InBrand\preprocessor\filestore\img3525450795559698480.jpg' failed:
>>
>> javax.xml.transform.TransformerException: Error with URL; base 
>> 'file:/C:/InBrand/preprocessor/filestore/' href 
>> 'C:\InBrand\preprocessor\filestore\img3525450795559698480.jpg'
>>
>>                 at 
>> org.apache.fop.apps.FOURIResolver.handleException(FOURIResolver.java:141)
>>
>>                 at 
>> org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:272)
>>
>>                 at 
>> org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:753)
>>
>>                 at 
>> org.apache.fop.apps.FOUserAgent.resolveURI(FOUserAgent.java:425)
>>
>>                 at 
>> org.apache.fop.apps.FOUserAgent.resolveURI(FOUserAgent.java:398)
>>
>>                 at 
>> org.apache.fop.apps.FOUserAgent$1.resolveURI(FOUserAgent.java:141)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.newSource(AbstractImageSessionContext.java:77)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.needSource(AbstractImageSessionContext.java:280)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:123)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:122)
>>
>>                 at 
>> org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81)
>>
>>                 at org.apache.fop.fo.FObj.processNode(FObj.java:123)
>>
>>                 at 
>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:282)
>>
>>                 at 
>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
>>
>>                 at 
>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>
>>                 at 
>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>
>>                 at 
>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
>> Source)
>>
>>                 at 
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
>> Source)
>>
>>                 at 
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

>> Source)
>>
>>                 at 
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
>> Source)
>>
>>                 at 
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>
>>                 at 
>> org.apache.xerces.parsers.XML11Configuration.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.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>
>>                 at 
>> uk.co.inbrand.fopengine.FopEngine.generatePDFromFO(FopEngine.java:197)
>>
>>                 at 
>> uk.co.inbrand.fopengine.FopProcessor.run(FopProcessor.java:50)
>>
>>                 at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>
>>                 at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>
>>                 at java.lang.Thread.run(Thread.java:619)
>>
>> Caused by: java.net.MalformedURLException: unknown protocol: c
>>
>>                 at java.net.URL.<init>(URL.java:574)
>>
>>                 at java.net.URL.<init>(URL.java:464)
>>
>>                 at 
>> org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:270)
>>
>>                 ... 28 more
>>
>> ---------
>>
>> java.net.MalformedURLException: unknown protocol: c
>>
>>                 at java.net.URL.<init>(URL.java:574)
>>
>>                 at java.net.URL.<init>(URL.java:464)
>>
>>                 at 
>> org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:270)
>>
>>                 at 
>> org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:753)
>>
>>                 at 
>> org.apache.fop.apps.FOUserAgent.resolveURI(FOUserAgent.java:425)
>>
>>                 at 
>> org.apache.fop.apps.FOUserAgent.resolveURI(FOUserAgent.java:398)
>>
>>                 at 
>> org.apache.fop.apps.FOUserAgent$1.resolveURI(FOUserAgent.java:141)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.newSource(AbstractImageSessionContext.java:77)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.needSource(AbstractImageSessionContext.java:280)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:123)
>>
>>                 at 
>> org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:122)
>>
>>                 at 
>> org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81)
>>
>>                 at org.apache.fop.fo.FObj.processNode(FObj.java:123)
>>
>>                 at 
>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:282)
>>
>>                 at 
>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
>>
>>                 at 
>> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>
>>                 at 
>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>>
>>                 at 
>> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
>> Source)
>>
>>                 at 
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
>> Source)
>>
>>                 at 
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

>> Source)
>>
>>                 at 
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
>> Source)
>>
>>                 at 
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>
>>                 at 
>> org.apache.xerces.parsers.XML11Configuration.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.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>
>>                 at 
>> uk.co.inbrand.fopengine.FopEngine.generatePDFromFO(FopEngine.java:197)
>>
>>                 at 
>> uk.co.inbrand.fopengine.FopProcessor.run(FopProcessor.java:50)
>>
>>                 at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>
>>                 at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>
>>                 at java.lang.Thread.run(Thread.java:619)
>>
>> 2012-02-03 15:20:41,511 [pool-1-thread-2] ERROR 
>> org.apache.fop.apps.FOUserAgent - Image not found. URI: 
>> C:\InBrand\preprocessor\filestore\img3525450795559698480.jpg. (See 
>> position 1306:199)
>>
>> 2012-02-03 15:20:41,672 [pool-1-thread-2] ERROR 
>> org.apache.fop.apps.FOUserAgent - Image not available. URI: . Reason: 
>> org.apache.xmlgraphics.image.loader.ImageException: The file format 
>> is not supported. No ImagePreloader found for  (See position 1336:137)
>>
>> 2012-02-03 15:20:41,687 [pool-1-thread-2] ERROR 
>> org.apache.fop.apps.FOUserAgent - Image not found. URI: . (See 
>> position 1341:137)
>>
>> Kindest regards
>>
>>
>> Theresa Forster
>>
>> Senior Software Developer
>>


Mime
View raw message