hi, 

running reports with birt 2.5.2 i have the next exception and the background image not appear, running its in birt 2.3.2 are ok. 

java.net.malformedurlexception: no protocol: ./img/rm.png
	at java.net.url.<init>(unknown source)
	at java.net.url.<init>(unknown source)
	at java.net.url.<init>(unknown source)
	at org.eclipse.birt.report.engine.emitter.pdf.pdfpage.drawbackgroundimage(pdfpage.java:148)
	at org.eclipse.birt.report.engine.layout.emitter.abstractpage.drawbackgroundimage(abstractpage.java:61)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.drawbackgroundimage(pagedevicerender.java:682)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.drawcontainer(pagedevicerender.java:734)
	at org.eclipse.birt.report.engine.emitter.pdf.pdfrender.drawcontainer(pdfrender.java:148)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.startcontainer(pagedevicerender.java:264)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.visitcontainer(pagedevicerender.java:185)
	at org.eclipse.birt.report.engine.nlayout.area.impl.containerarea.accept(containerarea.java:269)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.visitchildren(pagedevicerender.java:197)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.visitcontainer(pagedevicerender.java:186)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.addpage(pagedevicerender.java:535)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.visitpage(pagedevicerender.java:507)
	at org.eclipse.birt.report.engine.layout.emitter.pagedevicerender.visitcontainer(pagedevicerender.java:181)
	at org.eclipse.birt.report.engine.nlayout.area.impl.containerarea.accept(containerarea.java:269)
	at org.eclipse.birt.report.engine.layout.emitter.pageemitter.startpage(pageemitter.java:51)
	at org.eclipse.birt.report.engine.nlayout.layoutengine.outputpage(layoutengine.java:838)
	at org.eclipse.birt.report.engine.nlayout.area.impl.pagearea.outputpage(pagearea.java:697)
	at org.eclipse.birt.report.engine.nlayout.area.impl.pagearea.close(pagearea.java:677)
	at org.eclipse.birt.report.engine.nlayout.area.impl.rootarea.close(rootarea.java:174)
	at org.eclipse.birt.report.engine.nlayout.layoutengine.closecontainer(layoutengine.java:364)
	at org.eclipse.birt.report.engine.nlayout.layoutengine._endcontainer(layoutengine.java:441)
	at org.eclipse.birt.report.engine.nlayout.layoutengine.endcontainer(layoutengine.java:350)
	at org.eclipse.birt.report.engine.emitter.contentemitteradapter.endpage(contentemitteradapter.java:70)
	at org.eclipse.birt.report.engine.emitter.compositecontentemitter.endpage(compositecontentemitter.java:171)
	at org.eclipse.birt.report.engine.emitter.contentemitterutil.endcontent(contentemitterutil.java:102)
	at org.eclipse.birt.report.engine.layout.html.buffer.pagenode.end(pagenode.java:33)
	at org.eclipse.birt.report.engine.layout.html.buffer.htmlpagebuffer.endpage(htmlpagebuffer.java:292)
	at org.eclipse.birt.report.engine.layout.html.buffer.htmlpagebuffer.endcontainer(htmlpagebuffer.java:136)
	at org.eclipse.birt.report.engine.layout.html.buffer.tablebreakbuffer.endcontainer(tablebreakbuffer.java:420)
	at org.eclipse.birt.report.engine.layout.html.htmlpagelm.end(htmlpagelm.java:185)
	at org.eclipse.birt.report.engine.layout.html.htmlpagelm.layout(htmlpagelm.java:96)
	at org.eclipse.birt.report.engine.layout.html.htmlreportlayoutengine.layout(htmlreportlayoutengine.java:99)
	at org.eclipse.birt.report.engine.api.impl.runandrendertask.dorun(runandrendertask.java:170)
	at org.eclipse.birt.report.engine.api.impl.runandrendertask.run(runandrendertask.java:75)
could you please attach the report design?
created an attachment (id=163258)
simple example

i attach a simple example with only a label. in 2.3.2 the background image appears and in 2.5.2 doesn´t.

thanks
i can not reproduce this bug on 2.5.2 release build(v20100222-1500-2.5.2).
the resource locator can find relative path with resource folder or report design.
could you tell me which build you can reproduce this bug? is it 2.5.2 relaase build?

yes, it happens with 2.5.2 release...

thanks. 

(in reply to comment #3)
> i can not reproduce this bug on 2.5.2 release build(v20100222-1500-2.5.2).
> the resource locator can find relative path with resource folder or report
> design.
> could you tell me which build you can reproduce this bug? is it 2.5.2 relaase
> build?