I have the standard code for report generation,from the site.

Java - Execute Modified Report (BIRT) - Eclipsepedia
above link.
it generates followiing

"
org.eclipse.birt.core.exception.BirtException: Cant startup the OSGI framework
at org.eclipse.birt.core.framework.Platform.startup(P latform.java:91)
at SimpleCreate.buildReport(SimpleCreate.java:76)
at SimpleCreate.main(SimpleCreate.java:48)
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(P latform.java:79)
... 2 more
Exception in thread "main" java.lang.NullPointerException
at SimpleCreate.buildReport(SimpleCreate.java:85)
at SimpleCreate.main(SimpleCreate.java:48) "

PLz explain whats wrong with my code.