description:
npe was thrown when create template report item

build number: 
2.5.2.v20100118-0630

steps to reproduce:
1, new report item
2, right click and create template report item
3, specify name and click ok

expected result:
no (java.lang.nullpointerexception) in error log

actual result:
(java.lang.nullpointerexception) was thrown out
error logs:
org.eclipse.swt.swtexception: failed to execute runnable (java.lang.nullpointerexception)
	at org.eclipse.swt.swt.error(swt.java:3884)
	at org.eclipse.swt.swt.error(swt.java:3799)
	at org.eclipse.swt.widgets.synchronizer.runasyncmessages(synchronizer.java:137)
	at org.eclipse.swt.widgets.display.runasyncmessages(display.java:3855)
	at org.eclipse.swt.widgets.display.readanddispatch(display.java:3476)
	at org.eclipse.ui.internal.workbench.runeventloop(workbench.java:2405)
	at org.eclipse.ui.internal.workbench.runui(workbench.java:2369)
	at org.eclipse.ui.internal.workbench.access$4(workbench.java:2221)
	at org.eclipse.ui.internal.workbench$5.run(workbench.java:500)
	at org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332)
	at org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:493)
	at org.eclipse.ui.platformui.createandrunworkbench(platformui.java:149)
	at org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:113)
	at org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:194)
	at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79)
	at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:368)
	at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:179)
	at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
	at sun.reflect.nativemethodaccessorimpl.invoke(unknown source)
	at sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source)
	at java.lang.reflect.method.invoke(unknown source)
	at org.eclipse.equinox.launcher.main.invokeframework(main.java:559)
	at org.eclipse.equinox.launcher.main.basicrun(main.java:514)
	at org.eclipse.equinox.launcher.main.run(main.java:1311)
caused by: java.lang.nullpointerexception
	at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.reportelementeditpart.getbackgroundposition(reportelementeditpart.java:901)
	at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.reportelementeditpart$3.run(reportelementeditpart.java:377)
	at org.eclipse.swt.widgets.runnablelock.run(runnablelock.java:35)
	at org.eclipse.swt.widgets.synchronizer.runasyncmessages(synchronizer.java:134)
	... 22 more
fixed.
verified in 2.5.2 v20100119-0630 build, closed