xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theresa Jayne Forster" <ther...@inbrand.co.uk>
Subject RE: Problem that could lose me my job
Date Tue, 07 Feb 2012 10:09:37 GMT
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.newSour
ce(AbstractImageSessionContext.java:77)

                at
org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.needSou
rce(AbstractImageSessionContext.java:280)

                at
org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCach
e.java:123)

                at
org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.j
ava: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.jav
a:282)

                at
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)

                at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Transforme
rIdentityImpl.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$FragmentContentDispatc
her.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(TransformerId
entityImpl.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.ja
va:886)

                at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

                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.newSour
ce(AbstractImageSessionContext.java:77)

                at
org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.needSou
rce(AbstractImageSessionContext.java:280)

                at
org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCach
e.java:123)

                at
org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.j
ava: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.jav
a:282)

                at
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)

                at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Transforme
rIdentityImpl.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$FragmentContentDispatc
her.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(TransformerId
entityImpl.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.ja
va:886)

                at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

                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