description:
exception is thrown out when run swtchartprinter.

build number:
2.6.0.v20100504-0630

steps to reproduce:
1. run
/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/swtchartprinter.java.
2. select scatter, 2d with depth and click "update".

expected result:
no exception.

actual result:
exception is thrown out (see the screenshot).
error log:
may 4, 2010 3:18:14 pm org.eclipse.birt.chart.util.pluginsettings instance
warning: exception
org.eclipse.birt.core.exception.birtexception: can not startup the osgi framework
	at org.eclipse.birt.core.framework.platform.startup(platform.java:91)
	at org.eclipse.birt.chart.util.pluginsettings.instance(pluginsettings.java:365)
	at org.eclipse.birt.chart.api.chartengine.instance(chartengine.java:64)
	at org.eclipse.birt.chart.api.chartengine.instance(chartengine.java:79)
	at org.eclipse.birt.chart.examples.api.viewer.swtchartprinter.printchart(swtchartprinter.java:55)
	at org.eclipse.birt.chart.examples.api.viewer.swtchartprinter.main(swtchartprinter.java:39)
caused by: org.eclipse.birt.core.exception.coreexception
	at org.eclipse.birt.core.framework.osgi.osgilauncher.startup(osgilauncher.java:90)
	at org.eclipse.birt.core.framework.platform.startup(platform.java:79)
	... 5 more
please check if this behavior is the same as other examples.
as usual, if user doesn't specify birt_home or standalone settings, this exception is expected.
fixed by initializing birt chart as standalone mode.
verified on may 12th.
closed.