Eclipse Plugin Project Run Configurations - java

Does anyone know how can I fix this problem?
I am doing a plug-in project with GEF.
I have created a new Eclipse Application when I selected Run As>Run Configurations...>Eclipse Application>New launch configuration. Then at the Main tab I put this Location: ${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/runtime-New_configuration.
In my xml-file I described my application:
<extension
id="application"
point="org.eclipse.core.runtime.applications">
<application>
<run
class="tutogef.Application">
</run>
</application>
When I execute the plugin it shows the message below:
!SESSION 2016-12-09 16:26:41.951 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -application TutoGEF.application
Command-line arguments: -application TutoGEF.application -data /home/jacque/workspace/.metadata/.plugins/org.eclipse.pde.core/runtime-New_configuration -dev file:/home/jacque/workspace/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog
!ENTRY org.eclipse.core.resources 2 10035 2016-12-09 16:26:50.800
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://1035.fwk655381473:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://1035.fwk655381473:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
!ENTRY org.eclipse.ui.workbench 4 2 2016-12-09 16:26:56.608
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.ExceptionInInitializerError
at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:189)
at org.eclipse.oomph.setup.ui.EarlyStartup.earlyStartup(EarlyStartup.java:22)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at org.eclipse.oomph.setup.util.SetupUtil.<clinit>(SetupUtil.java:35)
... 7 more
!ENTRY org.eclipse.ui 4 0 2016-12-09 16:26:56.613
!MESSAGE Unable to execute early startup code for the org.eclipse.ui.IStartup extension contributed by the 'org.eclipse.oomph.setup.ui' plug-in.
!STACK 0
java.lang.ExceptionInInitializerError
at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:189)
at org.eclipse.oomph.setup.ui.EarlyStartup.earlyStartup(EarlyStartup.java:22)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at org.eclipse.oomph.setup.util.SetupUtil.<clinit>(SetupUtil.java:35)
... 7 more
I don't have idea where I am doing something wrong...

**
The easiest way just reinstall your eclipse program it will work again as usual. Its a best way if gonna search answers you will waste
your time peace. ;)
**
This link for your problem.
GO

Related

Visual Studio Code language support for java crashed 5 times

I'm using Visual Studio Code languagage support for Java made by Red Hat but I'm getting an error:
The server crashed 5 times in the last 3 minutes the server will not be restarted.
I have removed the app and reinstall two times.
I have installed lombok annotations nothing.
===MY LOG HEAD UNTILL THE ERROR ====
eclipse.buildId=unknown
java.version=11.0.8
java.vendor=Ubuntu
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -data /home/icomg/.config/Code/User/workspaceStorage/dd03d70bdc61fd3884317d660a873358/redhat.java/jdt_ws
This is a continuation of log file /home/icomg/.config/Code/User/workspaceStorage/dd03d70bdc61fd3884317d660a873358/redhat.java/jdt_ws/.metadata/.bak_0.log
Created Time: 2020-08-25 08:29:55.231
!ENTRY org.eclipse.jdt.ls.core 4 0 2020-08-25 08:29:55.231
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin.start() of bundle org.eclipse.jdt.ls.core.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:864)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:792)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
at org.eclipse.jdt.ls.core.internal.preferences.PreferenceManager.initialize(PreferenceManager.java:79)
at org.eclipse.jdt.ls.core.internal.preferences.PreferenceManager.<init>(PreferenceManager.java:70)
at org.eclipse.jdt.ls.core.internal.preferences.StandardPreferenceManager.<init>(StandardPreferenceManager.java:44)
at org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin.start(JavaLanguageServerPlugin.java:173)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:843)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:835)
... 14 more
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.jdt.core (41).
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:571)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:346)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:473)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
My OS is `Ubuntu 20.04 LTS`
`Vscode -v 1.48.0`
Language support version `0.65.0`
It is used to be bug with the current folder .I have resolved the problem by creating a new folder and move my project there .

Eclipse only launches if I delete the plug ins folder in my workspace

To give you guys some context, I have very basic experience with Java, and im using Eclipse on windows 7. Whenever I save a project on Eclipse and exit, the next time I try to launch it, it gives me a message telling me there's been an error and to look at the log. If I either delete my whole workspace, or delete the plug ins folder it launches perfectly, but the next time I exit it won't launch again since the plug ins folder is back.
This is a paste of the first two entries of the log, i have no idea what it means.
!SESSION 2016-08-30 16:20:45.457 -----------------------------------------------
eclipse.buildId=4.6.0.I20160606-1100
java.version=1.8.0_101
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_CA
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
This is a continuation of log file C:\Users\User\workspace\.metadata\.bak_0.log
Created Time: 2016-08-30 16:20:53.379
!ENTRY org.eclipse.ui.workbench 4 0 2016-08-30 16:20:53.379
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4533)
at org.eclipse.swt.SWT.error(SWT.java:4448)
at org.eclipse.swt.SWT.error(SWT.java:4419)
at org.eclipse.swt.widgets.Display.error(Display.java:1262)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:747)
at org.eclipse.swt.widgets.Display.getShells(Display.java:2248)
at org.eclipse.ui.internal.progress.ProgressManagerUtil.getModalShellExcluding(ProgressManagerUtil.java:321)
at org.eclipse.ui.internal.progress.ProgressManagerUtil.getDefaultParent(ProgressManagerUtil.java:376)
at org.eclipse.ui.internal.statushandlers.InternalDialog.<init>(InternalDialog.java:155)
at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.doAddStatusAdapter(WorkbenchStatusDialogManagerImpl.java:260)
at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.addStatusAdapter(WorkbenchStatusDialogManagerImpl.java:197)
at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStatusDialogManager.java:158)
at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(WorkbenchErrorHandler.java:95)
at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.access$0(WorkbenchErrorHandler.java:88)
at org.eclipse.ui.statushandlers.WorkbenchErrorHandler$2.run(WorkbenchErrorHandler.java:63)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
at org.eclipse.swt.widgets.Display.msgFilterProc(Display.java:3533)
!ENTRY org.eclipse.jface 4 0 2016-08-30 16:20:53.381
!MESSAGE An error has occurred. See error log for more details.
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.actions.RetargetAction.partDeactivated(RetargetAction.java:186)
at org.eclipse.ui.internal.PartService$4.run(PartService.java:123)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.PartService.partDeactivated(PartService.java:120)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:5030)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.WorkbenchPage.firePartDeactivated(WorkbenchPage.java:5027)
at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:5020)
at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partDeactivated(WorkbenchPage.java:222)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$4.run(PartServiceImpl.java:266)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartDeactivated(PartServiceImpl.java:263)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:688)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.setPart(PartServiceImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:90)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:343)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:197)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:106)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:139)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:903)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:156)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:191)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.lang.Thread.run(Thread.java:745)
I just figured out that if I run eclipse as administrator it works fine.

Eclipse plugin not executed

I wrote an eclipse plugin which should be executed at startup of workspace (see Executing eclipse plugin automatically). It works perfectly when I try it out with the Run button. But now I created an update site and installed the plugin via the update manager. I don't know why but now it is not executed when eclipse workspace starts.
What could be the problem here?
Content of plugin.xml:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.startup">
<startup class="plugin.first.handlers.StartClass"/>
</extension>
</plugin>
I found some additional info in /workspace/.metadata/.log:
!SESSION 2014-02-10 14:17:08.358 -----------------------------------------------
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_02
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.ui.workbench 4 2 2014-02-10 14:17:21.380
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
at plugin.first.handlers.ClearFolder.doClear(ClearFolder.java:12)
at plugin.first.handlers.StartClass.earlyStartup(StartClass.java:15)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2551)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils cannot be found by plugin.clearsvnauth_1.0.0.201402101022
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
!ENTRY org.eclipse.ui 4 4 2014-02-10 14:17:21.393
!MESSAGE Unhandled Exception
!ENTRY plugin.clearsvnauth 4 0 2014-02-10 14:17:21.394
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
at plugin.first.handlers.ClearFolder.doClear(ClearFolder.java:12)
at plugin.first.handlers.StartClass.earlyStartup(StartClass.java:15)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2551)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils cannot be found by plugin.clearsvnauth_1.0.0.201402101022
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
Why do I get java.lang.NoClassDefFoundError?
I found the solution myself. You need to add jars you used in your project to your build configuration (see attached picture).

Bundle Exception while running OSGI framework

I'm trying to run my bundle as OSGI framework but i got the following output and i don't know where is the mistake:
!SESSION 2013-06-25 13:28:45.073 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -dev file:C:/Users/HP/workspace/.metadata/.plugins/org.eclipse.pde.core/OSGi Framework/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -console
!ENTRY org.eclipse.osgi 4 0 2013-06-25 13:28:51.609
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
> ss OUTPUT:
id State Bundle
0 ACTIVE org.eclipse.osgi_3.8.2.v20130124-134944
2 ACTIVE org.hamcrest.core_1.1.0.v20090501071000
3 ACTIVE org.junit_4.10.0.v4_10_0_v20120426-0900
4 ACTIVE org.apache.felix.gogo.command_0.8.0.v201108120515
5 ACTIVE org.apache.felix.gogo.runtime_0.8.0.v201108120515
6 ACTIVE org.eclipse.equinox.console_1.0.0.v20120522-1841
7 ACTIVE org.apache.felix.gogo.shell_0.8.0.v201110170705
9 ACTIVE inotify-bundle-core-conf_1.0.0.qualifier
It seems like you are running Eclipse Juno, which comes bundled with OSGi v3.8, which does not uses the Eclipse in built console, but the console is now contained it's own bundle. You need to add that bundle. That is what your OSGi is complaining about. You also need to add some felix bundle to get the new console run.
In all, at a minimum, you need to select following bundles in your OSGi run configuration:
- org.eclipse.osgi
- org.eclipse.equinox.console
- org.apache.felix.gogo.runtime
- org.apache.felix.gogo.shell
Or, if you want to use the eclipse built in console, you can enable it by passing following VM arguments:
-Dosgi.console.enable.builtin=true
I faced same issue. Was just about to download ggts again. But just deleting. Metadata folder from workspace solved it. But after that u have to import and set all configuration again.

Increase memory allocated to jdk

My eclipse is pointing to a jdk. I am using GWT. sometimes my eclipse is crashing with the following error, can someone help
i'm getting a new error when Xmx2000m
these are some of the last lines of the error log
!ENTRY org.eclipse.ui 4 4 2011-02-05 05:56:06.306
!MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideCompartmentAction
!ENTRY org.eclipse.ui 4 4 2011-02-05 05:56:06.331
!MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideContentsAction
!SESSION 2011-02-05 05:57:13.577 -----------------------------------------------
eclipse.buildId=M20100909-0800
java.version=1.6.0_23-ea
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product -XX:+AggressiveHeap org.eclipse.epp.package.modeling.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product -XX:+AggressiveHeap org.eclipse.epp.package.modeling.product
!ENTRY org.eclipse.core.resources 2 10035 2011-02-05 05:57:16.411
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.ui 4 4 2011-02-05 05:57:24.076
!MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideCompartmentAction
!ENTRY org.eclipse.ui 4 4 2011-02-05 05:57:24.098
!MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideContentsAction
I don't think this has anything to do with memory. What eclipse version are you using? It sounds like a bug on previous Eclipse version: https://bugs.eclipse.org/bugs/show_bug.cgi?id=324491
The memory settings for eclipse is in eclipse.ini. Increase your setting from -Xmx1000m to i.e. -Xmx2000m.
Try http://java.sun.com/docs/hotspot/gc1.4.2/#4.2.2.%20AggressiveHeap|outline
The option -XX:+AggressiveHeap lets the vm allocate dynamically more memory.

Categories