Cant startup OSGI Framework

I have been trying to use BIRT APIs. I downloaded and pasted the demo code on the eclipse. But I am getting the same error with every code saying that "cant strtup OSGI framework".
I have used code from : https://wiki.eclipse.org/Java_-_Simple_Design_Engine_API_(BIRT) .
And the error is like::
org.eclipse.birt.core.exception.BirtException: Cant startup the OSGI framework
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:91)
at api1.example1.buildReport(example1.java:76)
at api1.example1.main(example1.java:45)
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)
... 2 more
Exception in thread "main" java.lang.NullPointerException
at api1.example1.buildReport(example1.java:86)
at api1.example1.main(example1.java:45)
Thanks in advance

Did you make sure to change the BIRT_HOME in the code to point to the location where you have extracted the BIRT Runtime in your environment?

Similar Messages

  • Org.osgi.framework.BundleException when Running the script

    Hi when ever i run the test script. in console i can see the org.osgi.framework.BundleException. it looks like as below, please help on it, can anyone tell me the cause and how fix this?
    org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: org.eclipse.osgi_3.4.3.R34x_v20081215-ospatch120211
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
         at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
         at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
         at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
         at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
         at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
         at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
         at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
         at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

    Issue got solved, by remove the file "org.eclipse.osgi_3.4.3.R34x_v20081215-ospatch120211" from "C:\OracleATS\openScript\plugins".
    there are some duplicated jars (with more than one version)

  • About knopflerfish OSGi Framework

    who knows this framework can supports which VMs?

    who knows this framework can supports which VMs?According to the OSGi Alliance the OSGi Framework supports the following:
    "The L0 Execution environment is the specification of the Java environment. Java 2 Configurations and Profiles, like J2SE, CDC, CLDC, MIDP etc. are all valid execution environments. The OSGi has also standardized an execution environment based on Foundation Profile and a smaller version that specifies the minimum requirements on an execution environment to be useful for OSGi bundles."
    I don't know if Knopflerfish has any restraints on VM's, but I think not, since their goal is to support as many possible devices, et cetera.
    Hope this helps.
    Regards,
    Eelco Kurvers

  • Iphone 5 cant startup after charge for few hours

    iphone 5 cant startup after charge for few hours, what can i do?

    Hi there Liewminchuan,
    If your phone is still not powering on, I would next try and reset the device with these steps from the article about that sort of issue:
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on
    First, try to force your device to restart.
    Forcing your device to restart won't erase the content currently on your device.
    You can force your device to restart even if your screen is black or your buttons aren't responding.
    Press and hold the Sleep/Wake and Home buttons at the same time for at least 10 seconds until you see the Apple logo.
    If it still doesn't turn on, I would next use these steps to see if there could be an issue with the cable, or power adapter:
    If you can’t charge your iPhone, iPad, or iPod touch
    If the battery doesn’t charge, unplug your device and try these steps:
    Look at the connector at the bottom of your device and make sure it’s free of debris.
    If you're using a USB power adapter, make sure it's plugged in all the way and the power outlet is working. If you're connecting to a computer, make sure it's on and can charge your device. To charge an iPad, you might need to use a USB power adapter and plug into a power outlet.
    Try a different USB cable, USB power adapter, or USB port.
    If everything seems to be working, reconnect your device and wait for 30 minutes.
    If the issue persists, I would next reach out to Apple support directly:
    If your device still doesn't charge or you still see an alert after trying the steps above, contact Apple Support.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • My hp is saying is saying startup but I cant startup

    my hp wont work it wont,let me start up!saying needs to recover and it cant startup for some reason. PLEASE REPLY AND HELP ME!

    Windows 8 Recovery:
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c03489643&tmp_task=solveCategory&cc=us&dlc=en&lc​...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Restored my imac from tunderbolt,now i cant startup,if i try to ereas it says.erro,if i try to repair it says ok.my mechintoch hd has been renamed to my tunderbolt.can some one help

    restored my imac from tunderbolt,now i cant startup,if i try to ereas it says.erro,if i try to repair it says ok.my mechintoch hd has been renamed to my tunderbolt.can some one help

    Hi, are you really on 10.6.2?

  • New, open source JavaFX OSGI framework

    First, a disclaimer: this is an open source project I started, and somebody may regard it as advertising (basically, it is ). I'm not sure if it's against forum rules. If so, please delete this thread.
    Basically, it's a framework for developing modular applications based on OSGI. It should provide support for building applications for desktop, web and mobile devices. It's called DEMUX Framework. Published under Apache License.
    http://demux.vektorsoft.com
    So far, support is available for desktop applications based on JavaFX, and mobile apps for Android. Since this is JavaFX forum, I would like some feedback from people who work with JavaFX. Basically, is this something you would find useful and worth spending time developing?
    If you have some time to throw away, give it a try. Please note that this is early stage development, so you will probably get frustrated and annoyed, buty ou should get the general idea.
    Documentation and some code samples are available on project wiki: http://demux.vektorsoft.com/wiki
    Source code for samples is available as part of binary download: https://bitbucket.org/vektorsoft/demux/downloads
    Any feedback is welcome.

    hi,
    here's a thought stop spamming this forum with your crap....
    A warning to others ignore any links this guy offers, 4/5 of his links so far are connected to spyware.
    David.

  • Cant startup from installation DVD

    I have just bought a 2nd hand 13" Aluminium MacBook
    1. I insert the Installation Leopard DVD and restart holding the C key but it doesnt start up on the DVD but on the HDD
    2. I go to system prefs and choose the Leopard DVD as the startup disk. When I restart it cant seem to find the startup dick but repeatedly gives the blue screen and the startup chime until I press the eject key, eject the DVD. Then it starts up on the DVD
    Have I bought a dud?

    Did they supply you with the original discs that came with the Mac?
    If not, you should demand that they do, or if they lost the said discs, to call AppleCare and send them to you. Without the said discs, you may not be able to boot your machine, or install anything on it.
    Mac OS X 10.5.6 retail was released December 15, 2008.
    Any Mac released new after that date, can't use the retail release, and must use the discs that came with the Mac, until Snow Leopard is released, or if for some reason Apple releases a newer retail 10.5.
    Read the Mac's serial number. If is of the format:
    W80849 to W809xx, XX0849 to XX09xx it can't use the retail 10.5 installer disc.
    No Mac can use the installer disc from a Mac of a different vintage or model.
    'C' key doesn't always work for booting. If they did supply the original discs, the startup manager may be necessary:
    http://support.apple.com/kb/HT1310?viewlocale=en_US

  • OracleOraHome92Agent - OIA & Oracle HTTP Server - Apache JServ Cant Startup

    Recently i have 2 oracle 9i database server {A} & , and my task is to migrate all the data from {A} To {B}.
    I used [Orcale Management Server - OMS] to login for connect both server for data manipulation. However, when i used [Discover Nodes] in the [Oracle Enterprise Manager Console], the [A] cant find.
    I found that [OracleOraHome92Agent - OIA] in Windows [Services] is not Started even i manually start it. I found 1 web site told about [How does one start the Oracle Intelligent Agent?] in URL [http://www.orafaq.com/faqoem.htm#IA-START].
    I have follow the steps and also cant get it started succeefully.
    Besides that, i also found that [Oracle HTTP Server - Apache JServ] is not successful start up also. Error Msg is written below:
    "Syntax error on line 92 of c:/oracle/ora92/sqlplus/admin/isqlplus.conf: FastCgiServer: redefinition of a previously defined FastCGI server "c:/oracle/ora92/bin/isqlplus"
    Note the errors or messages above, and press the <ESC> key to exit.
    It is the [HTTP Server] cant start up affected the [Oracle Intelligent Agent]?
    Thanks fro reading my messages. Hope u can help me.

    OEM agent should be independent of any other components, considering its function.
    What is the error message when you try to start the OracleAgent service?
    Did you try following steps from FAQ as well?
    "If the agent doesn't want to start, ensure your environment variables are set correctly and delete the following files before trying again:
    1) In $ORACLE_HOME/network/admin: snmp_ro.ora and snmp_rw.ora.
    2) Also delete ALL files in $ORACLE_HOME/network/agent/."

  • HELP! I cant startup my new powerbook

    I cant start up my Powerbook unless the AC adapter is plugged in!! does anyone now why this is and how to fix it?? I didn't calibrate my battery properly when I first got it, (due to excitement and not reading instructions first) is this why?? I have since calibrated it but still no joy!

    There have been reports of dead batteries in recent Powerbooks. To check, do the following;
    Go to The Blue Apple in the top corner.
    Click it, then click "about this mac"
    Then click "more info" - This will open the system profiler.
    In the top "view" menu, make sure "full" is ticked.
    Then look on the left and click Power.
    It will show if a battery is plugged in and the various specs.
    The cycle count is the number of times the battery has drained and recharched completely. For a new battery this will be a lowish number.
    The max capacity is measured in mAh (milliamp hours). For a new battery it should be 5500 - I think for a 17 inch, 4400 for a 15 inch - You might want to check. If it is much less, then call Apple.
    The current amount of charge is also measured in mAh - so if the battery is holding 50% you will see 2750 or so
    The amperage tells you how much power is going to or from th ebattery - if the battery is full, amperage is 0. When the battery is charging, amperage is a positive number - it should be charging if it is less than 99% charged. When running off the battery, amperage is a negative number as power is being drained from the battery - so if drawing 1100 milliamps per hour with a capacity of 4400mAh you would expect to get 4 hours of use. Work out what your battery will give you.
    So - take a look at those numbers and work out if the numbers make sense. If not, call Apple

  • Help replaced a kext file and now I get a Prohibitory Sign and cant startup

    I replaced my iovideo family.kext file trying to fix my non working dvi output. I replaced it with one from my mbp 15 because that one worked fine now I cant start up my mbp17 I get the Prohibitory Sign???

    If you kept a copy of the original file, you can use the terminal to copy it back.
    You should be able to boot into the Leopard DVD using the "C" on boot and get into the single user mode to do this.
    If you have a TM backup, you can boot into the Leopard DVD and restore the entire OS from the backup.

  • Cant startup my laptop

    my laptop wont startup any answers? here is the model number dm4-1277sb  thanks in advance

    Click here and follow the instructions.
    (85130)

  • Hyperion cant startup

    HiWere encountering error in bring up our Hyperion DB's. Error msg is "Fatal Error: Error reading security file [14]10 login system". We have already copy the essbase.bak to essbase.sec and still cant proceed. Is there any other way for this problem?Can anybody help.Thanks a lot.

    Try starting with no security file (rename essbase.sec to ...old), and see if that gets you anywhere. Essbase should prompt you to enter the company name and set up the admin user.

  • Cant Startup MacBook

    So I understand that the grey screen with question mark and folder indicates that it can not find the startup disc.
    I understand that I need to boot from a new startup disc and repair the connection.
    But I can not eject the CD that is in there so that I can put in the Tiger CD to start from. Pressing eject and every combination of eject does not work.
    *"Where is the manual eject on these MacBooks, like the older Ibooks?"*
    please help
    Thanks in advance.
    Jack

    It was the latter
    Then it won't work with your MacBook
    what if I do not have the disc that came with the computer.
    You'll have to find a copy somewhere, or call Apple tech support and order another one. No retail copy of Mac OS X of any version will start your MacBook.
    is there another way to boot from a start up disc.
    Not unless you can find a Firewire hard drive with the MacBook's version of Mac OS X installed, or get one of the MacBook-compatible disk utilities such as Disk Warrior, and that will only check and attempt to repair disk catalog problems; it won't help if the OS itself is damaged or corrupted.
    Will Norton's work?
    No. There is no version of Norton Utilities that is compatible with your MacBook.
    Sorry, but if you need to reinstall Mac OS X, you're going to have to get a copy of the installation disk for the MacBook.

  • Cant startup tomcat

    i have java 1.5.0,
    i have modify the class path ;to javahome
    and i have tomcat 5.1.15
    when i startup from the cmd ,it notice the follow:
    /*Neither the JAVA_HOME nor JRE_HOME environment variable is defined.At least one of these environment variable is needed for this program
    it s really straigh because i have set the path to the directory content JRE;
    please help me can startup tomcat

    ok you try with this code----
    in win modern version like xp,click on start->Settings->Control Panel
    ->Sytem->Advanced->Environment Variable->,
    Then select the path variable and click the New button.
    Variable name--CATALINA_HOME
    variable value-C:\TOMCAT\JAKARTA-TOMCAT-5.0.1
    THEN CLICK ON OK BUTTON

Maybe you are looking for