Having Problems Running my Java Progs

Hey guys,
I keep getting the following error message when I try to run any of my java programs.
Exception in thread "main"
java.lang.NoClassDefFoundError: HelloApp
this is the app that im trying to run;
public class HelloApp
     public static void main (String[] args)
          System.out.println("Hello, World");
}I cant see anything wrong with this piece of code. Ive definately saved the code as HelloApp.java. I've tried several different programs all with the same result. Does anyone have any ideas on why this is happening?
Thank You
Jaz

OK, classpath is different from path, it's specifically used by java to locate .class files.
Apparently some Windoze versions do not automatically include the local directory in the classpath - or may not have a classpath variable set until you do it manually.
So, the easiest way to see if this is your problem is to set the classpath in the command line like so:
java -cp C:\WhereIHidMyFiles HelloApp
(obviously, substitute the correct directory name above)

Similar Messages

  • Problems running any Java applets

    I have tried uninstalling, and re-installing the latest version of Java...
    any time I try and run an applet I get this error...
    The publisher cannot be verified by a trusted source. Code will be treated as unsigned.
    Name: loader
    Java.io.EOFException
    at java.io.DataInputStream.readInt(Unknown Source)
    at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
    at java.security.KeyStore.load(Unknown Source)
    at com.sun.deploy.security.DeploySigningCertStore$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeploySigningCertStore.loadCertStore(Unknown Source)
    at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
    at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
    at com.sun.deploy.security.ImmutableCertStore.load(Unknown Source)
    at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
    at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
    at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
    at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    I tried looking at the java control pannel, and when I clicked on security, then certificates and I got this error
    General Exception
    java.io.EOFException
    at java.io.DataInputStream.readInt(Unknown Source)
    at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
    at java.security.KeyStore.load(Unknown Source)
    at com.sun.deploy.security.DeploySigningCertStore$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeploySigningCertStore.loadCertStore(Unknown Source)
    at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
    at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
    at com.sun.deploy.panel.CertificatesInfo.reset(Unknown Source)
    at com.sun.deploy.panel.CertificatesInfo.<init>(Unknown Source)
    at com.sun.deploy.panel.CertificatesDialog.<init>(Unknown Source)
    at com.sun.deploy.panel.SecurityPanel.certsBtnActionPerformed(Unknown Source)
    at com.sun.deploy.panel.SecurityPanel.access$000(Unknown Source)
    at com.sun.deploy.panel.SecurityPanel$1.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    The only way I am able to run a java applet is Unsigned...

    I am having this same exact problem and receiving the same error anytime I try to run a java appet within any browser.
    I cannot locate a keystore file or any other security certificate files. Also under Control Panel, If I run the Java Control Panel and then select the Security tab/certificates. I see a similar error and do not see any certificates. Any ideas on how to correct this.

  • Having problem running an application

    I have recently installed jdk 1.2.2 and i have no problem running applet but when i try to run an application i get the message 1 error can't find<filename> . java.
    The path in autoexec.bat is fine. JRE File is include in my file jdk1.2.2.
    I have installed and deinstalled it a couple of time and can't make it work.
    Could someone help me please!!
    Thanking you in advance!

    doesn't sound like a path problem at all. you say when you try to RUN the app you get a message can't find filename.java. When you're running the app you run the binary class file i.e. java MainClass.class. If you're compiling the app you would do javac MainClass.java. Clarify your situation further if this does not help you out.

  • Problem Running Hello.java

    Hi All,
    I am facing problem to run Hello.java.
    The following exception accurs when I try to run it.
    java.lang.RuntimeException: RegOpenKeyEx: The system cannot find the file specified. (2)
         at com.ibm.speech.recognition.RecoImpl.initialize(Native Method)
         at com.ibm.speech.recognition.RecoImpl.<init>(RecoImpl.java:163)
         at com.ibm.speech.recognition.RecoImpl.make(RecoImpl.java:103)
         at com.ibm.speech.recognition.IBMEngineCentral.makeModes(IBMEngineCentral.java:112)
         at com.ibm.speech.recognition.IBMEngineCentral.createEngineList(IBMEngineCentral.java:179)
         at javax.speech.Central.availableRecognizers(Central.java:455)
         at javax.speech.Central.createRecognizer(Central.java:343)
         at hello.Hello.main(Hello.java:170)
    java.lang.NullPointerException
         at hello.Hello.main(Hello.java:171)
    Can any body tell me what should I do.
    Thanks in advance,
    Regards,
    Haider Ali

    The solution is simple, but only once have I seen it up in the forums, so I am on a campaign to put it in a couple more places.
    Solution: download the via voice runtime from IBM's Alphaworks website. I don't have the link handy, but it is pretty easy to find. Something like http://alphaworks.ibm.com.
    Just make sure you not only get all of the SDKs and such, but also the ACTUAL runtime. They say something about needing the runtime on the download page, but it is in the fine print. It is 'VVRTDUS10.ZIP' and is around 170MB or so. Once installed, if you still have a problem, try putting the 'bin' directory in the via voice folder in your PATH (not CLASSPATH) environment variable.
    That did the trick for me.
    Bye now.

  • Having problems running 3.7 RCP app in e4

    I'm trying to get my 3.7 RCP app (https://github.com/Phillipus/archi) to run in e4. I'm absolutely failing here.
    I'm using eclipse-SDK-I20120216-2200-win32, I added the EMF and GEF from software update, I imported my code, it compiles. I created a Launch configuration based on the app's product, added only the required selected plug-ins, added "equinox.ds" and hit "Add Required Plug-ins". I hit Run and get:
    !SESSION 2012-02-17 17:52:01.817 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_26
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
    Framework arguments: -product uk.ac.bolton.archimate.editor.product
    Command-line arguments: -product uk.ac.bolton.archimate.editor.product -data C:\Users\Phillipus\workspace/../runtime-Archi -dev file:C:/Users/Phillipus/workspace/.metadata/.plugins/org.eclipse.pde.core/Archi/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.288
    !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.291
    !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.293
    !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.444
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.456
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.458
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.461
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.463
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.466
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.468
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.471
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.473
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.475
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.477
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.479
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.481
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.488
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.490
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.493
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.496
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.498
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.500
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.502
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.504
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.558
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.561
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.565
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.569
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.571
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.578
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.581
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.583
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.585
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.588
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.590
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.593
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.596
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.599
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.601
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.608
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/menu/MenuContributions/menuContributions/UNKNOWN].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.612
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/menu/ToolBarContributions/toolBarContributions/UNKNOWN].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.615
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/menu/TrimContributions/trimContributions/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.771
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/Context/context/SET].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.782
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.785
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.792
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.002
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.006
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.009
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.012
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.014
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.114
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/TrimmedWindow/trimBars/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.120
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.127
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.136
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.140
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.144
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.147
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.152
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.156
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.158
    !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
    !ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2012-02-17 17:52:05.161
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt".
    !STACK 0
    org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
    at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
    at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
    at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
    at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
    at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
    at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
    at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
    at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:352)
    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:624)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
    Caused by: java.lang.NullPointerException
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
    at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
    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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    ... 53 more
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.165
    !MESSAGE Exception occurred while rendering: org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@9c939 (elementId: IDEWindow, tags: [topLevel], contributorURI: platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {Eclipse SDK 4.0}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@166faac, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: Eclipse SDK 4.0, iconURI: null, tooltip: null, context: TrimmedWindowImpl (IDEWindow) Context, variables: [], x: -2147483648, y: -2147483648, width: 1024, height: 768)
    !STACK 0
    org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
    at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
    at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
    at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
    at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
    at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
    at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
    at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
    at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:352)
    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:624)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
    Caused by: java.lang.NullPointerException
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
    at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
    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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    ... 53 more
    I really must be missing something here. Do I need to add something to the plugin.xml file or MANIFEST.MF file. Or....?
    PB

    Thanks, I successfully started my old-fashioned RCP application, I'm not
    really happy with what I saw, but some lights better than darkness, right?
    May be you have time to advise me - is there are ways to get rid of "Quick
    Access" toolbar control?
    Brg,
    Sergey.
    "Tom Schindl" wrote in message news:[email protected]...
    You are missing the equinox.event!
    Tom
    Am 29.03.12 04:58, schrieb Sergey Kuznetsov:
    > Completely agree with Phil, for now (M6) e4 looks like pre-alfa
    > platform, I hope it's not what we'll got as a release...
    >
    > "Phil Beauvoir" wrote in message news:[email protected]...
    >
    > I'm trying to get my 3.7 RCP app (https://github.com/Phillipus/archi) to
    > run in e4. I'm absolutely failing here.
    >
    > I'm using eclipse-SDK-I20120216-2200-win32, I added the EMF and GEF from
    > software update, I imported my code, it compiles. I created a Launch
    > configuration based on the app's product, added only the required
    > selected plug-ins, added "equinox.ds" and hit "Add Required Plug-ins". I
    > hit Run and get:
    >
    >
    > !SESSION 2012-02-17 17:52:01.817
    > -----------------------------------------------
    > eclipse.buildId=unknown
    > java.version=1.6.0_26
    > java.vendor=Sun Microsystems Inc.
    > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
    > Framework arguments: -product uk.ac.bolton.archimate.editor.product
    > Command-line arguments: -product uk.ac.bolton.archimate.editor.product
    > -data C:\Users\Phillipus\workspace/../runtime-Archi -dev
    > file:C:/Users/Phillipus/workspace/.metadata/.plugins/org.eclipse.pde.core/Archi/dev.properties
    > -os win32 -ws win32 -arch x86 -consoleLog
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.288
    > !MESSAGE Unable to retrieve the bundle from the URI:
    > bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.291
    > !MESSAGE Unable to retrieve the bundle from the URI:
    > bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.293
    > !MESSAGE Unable to retrieve the bundle from the URI:
    > bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.444
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.456
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.458
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.461
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.463
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.466
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.468
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.471
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.473
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.475
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.477
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.479
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.481
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.488
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.490
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.493
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.496
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.498
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.500
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.502
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.504
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.558
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.561
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.565
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.569
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.571
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.578
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.581
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.583
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.585
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.588
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.590
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.593
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.596
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.599
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.601
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.608
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/menu/MenuContributions/menuContributions/UNKNOWN].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.612
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/menu/ToolBarContributions/toolBarContributions/UNKNOWN].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.615
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/menu/TrimContributions/trimContributions/ADD].
    >
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.771
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/ui/Context/context/SET].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.782
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.785
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.792
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.002
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.006
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.009
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.012
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.014
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.114
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/TrimmedWindow/trimBars/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.120
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.127
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.136
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.140
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.144
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.147
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.152
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.156
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.158
    > !MESSAGE Event Admin service is not available, unable to publish event
    > org.osgi.service.event.Event
    > [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
    >
    > !ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2012-02-17 17:52:05.161
    > !MESSAGE Problems occurred when invoking code from plug-in:
    > "org.eclipse.e4.ui.workbench.swt".
    > !STACK 0
    > org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
    > at
    > org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
    >
    > at
    > org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
    >
    > at
    > org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
    > at
    > org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
    > at
    > org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
    >
    > at
    > org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
    >
    > at
    > org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
    >
    > at
    > org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
    >
    > at
    > org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
    >
    > at
    > org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
    >
    > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    > at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
    > at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
    > at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
    > at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
    > at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    > at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
    > at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
    > at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
    > at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
    > at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
    > at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
    > at
    > org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
    >
    > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
    >
    > at
    > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
    >
    > at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
    > at
    > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    >
    > at
    > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
    > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    > at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
    > at
    > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    >
    > 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:352)
    >
    > 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:624)
    > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
    > at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
    > at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
    > Caused by: java.lang.NullPointerException
    > at
    > org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
    >
    > at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
    > 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    >
    > ... 53 more
    >
    > !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.165
    > !MESSAGE Exception occurred while rendering:
    > org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@9c939
    > (elementId:
    > IDEWindow, tags: [topLevel], contributorURI:
    > platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {Eclipse SDK
    > 4.0}, renderer:
    > org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@166faac,
    > toBeRendered: true, onTop: false, visible: true, containerData: null,
    > accessibilityPhrase: null) (label: Eclipse SDK 4.0, iconURI: null,
    > tooltip: null, context: TrimmedWindowImpl (IDEWindow) Context,
    > variables: [], x: -2147483648, y: -2147483648, width: 1024, height: 768)
    > !STACK 0
    > org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
    > at
    > org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
    >
    > at
    > org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
    >
    > at
    > org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
    > at
    > org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
    > at
    > org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
    >
    > at
    > org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
    >
    > at
    > org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
    >
    > at
    > org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
    >
    > at
    > org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
    >
    > at
    > org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
    >
    > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    > at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
    > at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
    > at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
    > at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
    > at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    > at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
    > at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
    > at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
    > at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
    > at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
    > at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
    > at
    > org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
    >
    > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
    >
    > at
    > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
    >
    > at
    > org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
    >
    > at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
    > at
    > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    >
    > at
    > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
    > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    > at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
    > at
    > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    >
    > 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:352)
    >
    > 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:624)
    > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
    > at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
    > at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
    > Caused by: java.lang.NullPointerException
    > at
    > org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
    >
    > at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
    > 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    >
    > ... 53 more
    >
    >
    >
    > I really must be missing something here. Do I need to add something to
    > the plugin.xml file or MANIFEST.MF file. Or....?
    >
    > PB
    >

  • Is anyone else having problems running Flash Player on Mountain Lion?

    After installing Flash Player on my MacBook Pro running Mountain Lion, my computer started crashing when I put it to sleep.  When I uninstalled Flash, I no longer had the problem.  Is anyone else having problems like this with Flash Player?  Is this an issue with Mountain Lion or Adobe?  Is there a fix for it, or am I just out of luck with the prospect of running Flash Player on my new Mac?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How to run a java prog from c prog

    hello all
    I wanted to run a java class from a c prog,
    can any body suggest the way in which this can be done, links or tutorials in this regard is highly appreciable,
    thanks in advance
    Message was edited by:
    mahima_vyas

    Let's say that the order of arguments is as below
    1. Jar file name
    2. Classpath
    Your shell script would look like this
    java -cp $CLASSPATH:$2 -jar $1 I am assuming that your jar file has the required main-class entry in its manifest. Note that $1...$9 represent the arguments to this shell script.
    The same goes for a batch file
    java -cp %CLASSPATH%;%2 -jar %1

  • Problem running a Java program

    Hi...I'm developing a CORBA project and I'm using java to implement it. I wrote a Hello World program and I could compile all my files (IDL files and all the generated .java files). But when I try to run my Server program I get the following error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloApp/_HelloImplBase
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at HelloStringifiedServer.main(HelloStringifiedServer.java:24)
    Can anyone please help me!
    Thanks in advance

    Sure, here is the Server code:
    // HelloStringifiedServer.java, stringified object reference version
    import java.io.*;
    import org.omg.CORBA.*;
    import HelloApp.*;
    public class HelloStringifiedServer {
    class HelloServant extends _HelloImplBase
    public String sayHello()
    return "\nHello world !!\n";
    public static void main(String args[])
    try{
    // create and initialize the ORB
    ORB orb = ORB.init(args, null);
    // create servant and register it with the ORB
    HelloServant helloRef = new HelloServant();
    orb.connect(helloRef);
    // stringify the helloRef and dump it in a file
    String str = orb.object_to_string(helloRef);
    String filename = System.getProperty("user.home")+
    System.getProperty("file.separator")+"HelloIOR";
    FileOutputStream fos = new FileOutputStream(filename);
    PrintStream ps = new PrintStream(fos);
    ps.print(str);
    ps.close();
    // wait for invocations from clients
    java.lang.Object sync = new java.lang.Object();
    synchronized (sync) {
    sync.wait();
    } catch (Exception e) {
    System.err.println("ERROR: " + e);
    e.printStackTrace(System.out);
    I get the previous error message when I try to run this file. Other files are those generated by the IDL compiler
    PS: Are you familiar with CORBA?

  • Problems running ImageExample.java

    I'm trying to run ImageExample.java
    The file compiles but when I want to execute the class I keep getting the same error:
    java.lang.NoClassDefFoundError: oracle.sql.CustomDatum
    I checked my CLASSPATH and it seems ok, I've included ordim817.zip, runtime.zip and classes111.zip.
    What can be wrong?
    Thanx
    null

    CustomDatum.class is included in classes111.zip. Double-check your CLASSPATH, making sure the path for your classes111.zip comes before other library paths.

  • Having problem installing the Java plugin while running Puppy Linux 5.11

    This notebook has no hdd, so I'm running PL 511 from a live cd while FF has been D/L to a CFCard as a PET file from which I'm browsing now.
    The problem aroused while executing the command:
    '''./jre-6u25-linux-i586-rpm.bin'''. After a few steps it said:''' rpm: invalid option -- 'v''''. There it says other things but I believe at this point the command is no longer running, just displaying some logged/troubleshooting data.
    By following some instructions in another part/section of the Mozilla site I'm including the list of the plugins I've via the following link (& probably other things also):
    [http://pastebin.mozilla.org/1233085 link text]
    The amount of RAM=512 MB & have 2 CFCards, where FF resides now is a 128 MB (almost full) the other is a 2 GB one (lot of space there, for now). Hope the above is enough info for any of you to be able to offer some help. Thanks!

    Hi
    May be you can check the Redhat FTP site.
    CentOS 4.6, 32-bit
    http://isoredirect.centos.org/centos/4.6/isos/i386/
    CentOS 4.6, 64-bit
    http://isoredirect.centos.org/centos/4.6/isos/x86_64/
    CentOS 5.1, 32-bit
    http://isoredirect.centos.org/centos/5.1/isos/i386/
    CentOS 5.1, 64-bit
    http://isoredirect.centos.org/centos/5.1/isos/x86_64/
    Regards
    Mudhalvan M.M

  • Any way to run a JAVA prog in background? (like SETI)

    Does anyone know if it's possible to have a java program only run during otherwise idle cpu cycles?
    I have a program which does an awful lot of number crunching, and needs to run for long periods of time. Ideally I want it to function in the same way as programs like the Search for ExtraTerrestrial Intelligence (SETI) program or cancer research programs, in so far as they will only run when the cpu has little else to do, thereby not hogging all my system resources when I need to do something else.
    Failing that, is there a way to make my program resumable? i.e, is there some way to save the exact execution state of the program on exiting, and have it resume from where it left off at a later date?
    Any help would be much appreciated.

    Yes, but not by using Java.
    Unfortunately, Sun and its key developers have decided to hide behind the rhetoric of claims of lack of portability as a means to avoid providing a full and complete programming solution, forcing people like me, who have to write code that really does run everywhere and really does do sophisticated things to implement our own solutions beyond Java - this is one of those (thankfully few) times when you must do so.
    I am working on a code-set of some twenty five thousand lines of Java (or more - NONE of that including GUI code!) that also has to handle such concerns. Our solution is to use operating system tools to solve this problem. We have settled on the unix paradigm for our solutions, primarily because there are (now) unix or unix-like solutions available for every computer operating system that has at least a 1% installed base or market share of existing boxes out there today. For Windows, we have our customers use CYGWIN - check it out, it's good stuff. For Apple, you've now got OSx...
    Note also that you may wish to break your threads away from user interaction. For this, we use "nohup" - a part of the unix paradigm! Works great but you must be sensitive to the fact that you have to point the tool at a log-file, and there are miscellaneous rules for that logfile... Pay attention to such issues and a solution isn't very hard.
    ...Oh, one more thing: To launch your code from a running Java thread you must beware of how Java captures the runtime environment and, in short, makes your life miserable. A good solution for this is to run a "shell script" that then does what you want, completely outside of Java. This has the advantage of letting YOU choose the run-time environment variables that are or are not set, and what their values are, instead of letting Java constrain you. ...Note that we use this technique for going TO Java FROM Java! We just use a but of operating system help in the middle! WORKS GREAT!
    I hope this helps.
    Regards,
    Richard

  • Some differences in Java settings giving me problems running a java program

    Hello,
    We have a Java app in our web-site. We haven't done that app our self and it has been working for quite some time.
    Now on my computer the java app loads just nicely.
    But for other users there java app crashes. So basically there has to be somekind of settings problem between.
    But we have checked the settings and I simply can't find the difference.
    The other users keep getting error that class not found.
    Debug print:
    security: Certificate has been verified with Internet Explorer ROOT certificates successfully
    security: Valid certificate from HTTPS server
    security: Adding certificate in Deployment session certificate store
    security: Added certificate in Deployment session certificate store
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    network: Cache entry not found [url: https://site.xxx.com/EMS/classes/chart/Chart/class.class, version: null]
    network: Connecting https://site.xxx.com/EMS/classes/chart/Chart/class.class with proxy=DIRECT
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    basic: load: class chart/Chart.class not found.
    load: class chart/Chart.class not found.
    java.lang.ClassNotFoundException: chart.Chart.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: chart.Chart.class
    Ignored exception: java.lang.ClassNotFoundException: chart.Chart.class
    So you guys have any idea what setting could be wrong between my and the other users machines.
    We have Windows Xp sp3 and Internet Explorer 8 in use.
    I actually made a clean Xp install the otherday. Installing latest java and no security settings added from domain. Also I put the site on trusted sites and allowed all in IE. And I still got that error in that new clean Xp install. On my personal computer the Java app still works just fine. Unlucky the one who has done the Java app is not able to help us.

    Hello,
    I downloaded the jar-file and opened it with Winzip. The class in question was in the jar-file.
    I also put logging on in my computer where the App is working.
    My debug print:
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@291aff
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/chart/Chart.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/chart/Chart.class with proxy=DIRECT
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loading Deployment SSL certificates from C:\Documents and Settings\me\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loaded Deployment SSL certificates from C:\Documents and Settings\me\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Connecting https://site.xxx.com/EMS/classes/chart/Chart.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: ResponseCode for https://site.xxx.com/EMS/classes/chart/Chart.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/chart/Chart.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/chart/Chart.class
    network: Cache entry not found [url: https://site.xxx.com/EMS/classes/, version: null]
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/bar/Bar.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/bar/Bar.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/bar/Bar.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/bar/Bar.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/bar/Bar.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/bar/Bar.class
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/xaxial/XAxial.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/xaxial/XAxial.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/xaxial/XAxial.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/xaxial/XAxial.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/xaxial/XAxial.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/xaxial/XAxial.class
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/serie/Serie.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/serie/Serie.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/serie/Serie.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/serie/Serie.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/serie/Serie.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/serie/Serie.class
    basic: Applet loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 151766 us, pluginInit dt 14982493 us, TotalTime: 15134259 us
    basic: Applet initialized
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@291aff
    basic: Applet made visible
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet started
    basic: Told clients applet is started
    NullPointerException in interval part
    NullPointerException in interval label part
    Lot more security messages in this.

  • Problems running a java program

    Hello,
    I have absolutely no java experience whatsoever, and I need to fix a program that suddenly stopped running properly after several years without problems. Basically, I have a perl script that calls a java program. Everytime I run this perl script from the web browser, the java program returns an internal error:
    # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://www.blackdown.org/cgi-bin/jdk # # Error ID: 5649525455414C53504143450E4350500024 # # Problematic Thread: prio=5 tid=0x804e680 nid=0x6d16 runnable #
    However, when I run the perl script command line, it runs fine. I added the -verbose option to the java call, and I discovered that the program stops running after it opens the .jar files but before it loads them .... these files have full read permissions, so I don't think that's the problem. Any ideas?
    Thanks!

    ...fix a program that suddenly stopped running properly after several years without problems.Which means either the program changed or the environment changed. I would guess the environment. The most likely possibilities: new version of the operating system, new version of perl, new version of java. Also possible: new version installed of any of the previous without removing older versions, new software not associated with the first, new mapped drives and/or changed env vars.

  • Problem running my Java apps in my LG phone. Please help!

    Hi all!!
    I am quite new to the world of J2me, altough I've been coding Java for quite a few years now.
    Recently I bought a LG u 8120 phone with Java-support so I decided it was time to step into the mobile Java-world.
    Now I have written my first small app, a simple timer application which my phone (strangely enough) does not already have.
    So what happens is this : I create my app on my PC and package it with the WTK into a jar -file and a jad-file which i transfer to the phone.
    After this I can see the name of my app in the list of available programs in the phone. But when I try to run it: Nothing. The Java logo shows up for a few seconds and then I am tossed back to the menu.
    I have thought of the following as possible problems:
    1. the 8120 does not support MIDP2.0
    2. I am doing something wrong transfering the files
    3. I have missed out on one or several necessary steps in the process
    Anyone who have developed Java apps for LG phones who can give me some hints?
    I've used the Sun J2ME Wireless Toolkit 2.2 with MIDP2.0 and CLDC1.1 .
    The apps works fine in the emulator. The problem starts when I want to run it in the phone. The phone I've tried is an LG u8120. LG apparently does not want to make life easy for its customers, so there is no support for transfering Java apps in the vendor-supplied software. I suppose that's because they want you to only download stuff from their site. However, after surfing around on some discussion forums for a while I found a program called G-thing which can be used to upload Java apps to LG-phones via USB.
    Any help is very appreciated!
    Thanks,
    Sarah

    Thanks,
    I have tried this and ruled out some of the possible causes.
    When I added some more exception handling, I could see that a "java.lang.IllegalArguenException" is thrown.
    When I ran the AudioDemo package that came with WTK2.2 I noticed that the examples that uses WAV-files do not work while the rest works fine.
    My new theory is now that the u8120 does not support the WAV-format, so I will try with an mp3 instead and see what happens.
    Anyone who knows if LG-phones support WAV-format?
    /Sarah

  • Problems running standalone java

    I have been writing java applets for a while in editplus then compiling them with javac in editplus and viewing them with appletviewer through editplus. I have been given a java standalone program. It compiles fine with no error messages but when i try to run it with java i get the following error message:
    java.lang.NoClassDefFoundError: Server1
    Exception in thread "main"
    Output completed (2 sec consumed) - Normal Termination
    And the program doesn't run. Can anyone see why this is?
    Any help will be greatly appreciated!

    okay how would i go about correcting this problem?
    Heres the code by the way:
    import java.net.*;
    import java.io.*;
    public class Server1 {
    public static void main(String [] args) {
    ServerSocket s;
    Socket clientsSocket;
    try {
              s = new ServerSocket(5155);
              clientsSocket = s.accept();
              System.out.println(clientsSocket.getLocalAddress());
              System.out.println(clientsSocket.getInetAddress());
              System.out.println(clientsSocket.getPort());
              System.out.println(clientsSocket.getLocalPort());
              OutputStream out = clientsSocket.getOutputStream();
              InputStream in = clientsSocket.getInputStream();
              byte sendBuffer[] = {1, 2, 3, 4, 5, 6, 7, 8};
              out.write(sendBuffer);
              byte receiveBuffer [] = new byte [50];
              int lengthReceived = in.read(receiveBuffer);
              System.out.println("Received: " + lengthReceived + " bytes.");
              for (int i=0; i<lengthReceived; i++)
              System.out.println((char)receiveBuffer[i] + "\n");
              clientsSocket.close();
         catch (java.io.IOException e) { System.out.println(e.toString()); }

Maybe you are looking for

  • Adobe exchange panel does not load in cc applications

    I cannot launch the Adobe Exchange Panel in Photoshop or Illustrator.  The option to launch this extension is not available in my menu.  In Photoshop "Extensions is grayed out".  In Illustrator it is not grayed out but it is simply not populated.  I

  • How do I change my game center account to an iTunes account.

    I have a game center account and i want to change it to a iTunes account without using a credit card. Any help?

  • Key Mapping in Hierarchy Table

    Hi,      I have enabled the Key Mapping = Yes  for Hierarchy table. But when I imported the records to the Hierarchy table, I am not seeing any key mapping info for the Hierarchy table records. Any thoughts?. Key mapping does not work for Hierarchy t

  • Window 8.1 drivers and M1217nfw

    I have a windows 8.1 64-bit system connected to an HP Pro M1217nfw MFP.  The system was working fine until I decided to change the wireless network connected to the printer.  Since change that I have been able to get the wireless connected to the pri

  • Mailbox move and dag members

    Hello, Exchange 2010 sp3 ru6 windows 2008R2 enterprise I have 2 servers in HQ and 1 servers in DR site - all members of DAG MailboxServer1 MB1 5 databases - Active node - HQ db1 950GB db2 200GB db3 100GB MailboxServer2 MB2 5 databases - passive node