Lombok installation failed on IBM Rational Application Developer - eclipse

I try to install Lombok on IBM Rational Application Developer and I don't succed. I've made all the steps that are necessary for an eclipse based IDE, but IDE can't start right know. If I delete the -javaagent argument that referes lombok from eclipse.ini, the IDE it will start again, but the lombok will not be ready for development.
I have the following exception in .log file from .metadata folder:
!ENTRY org.eclipse.osgi 4 0 2018-03-06 15:59:10.026
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: lombok.launch.PatchFixesHider$LombokDeps
at org.eclipse.core.internal.runtime.Product.addLombokNotesToEclipseAboutDialog(Product.java:151)
at org.eclipse.core.internal.runtime.Product.getProperty(Product.java:44)
at org.eclipse.ui.internal.ProductProperties.getAppName(ProductProperties.java:239)
at org.eclipse.ui.internal.ProductInfo.getAppName(ProductInfo.java:66)
at org.eclipse.ui.internal.WorkbenchPlugin.getAppName(WorkbenchPlugin.java:1038)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:655)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
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)
Caused by: java.lang.ClassNotFoundException: lombok.launch.PatchFixesHider$LombokDeps
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(ClassLoader.java:707)
... 22 more
I've already read all the suggestions from stackoverflow/github but nothing worked. I will appreciate any idea :)
Thank you :)

If I read the stacktrace correctly, the code fails where Lombok tries to patch the info screen to show that Lombok is installed correctly. It seems that RAD does not contain the same code here.
Please register a bug report.
Disclosure: I am a Lombok developer.

Related

RCP application cannot find ModelCleanupAddon class

I have RCP application based on Luna release. After migrating to Luna 4.4.2 relase, I observe the following error
!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-08-27 16:59:58.081
!MESSAGE Unable to load class 'org.eclipse.ui.internal.ide.application.addons.ModelCleanupAddon' from bundle '85'
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.ui.internal.ide.application.addons.ModelCleanupAddon cannot be found by org.eclipse.ui.ide.application_1.0.501.v20141111-1238
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:50)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:294)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:601)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Root cause is
java.lang.ClassNotFoundException: org.eclipse.ui.internal.ide.application.addons.ModelCleanupAddon cannot be found by org.eclipse.ui.ide.application_
1.0.501.v20141111-1238.
What I schould intstall to Luna Release additionaly? Or may be I have configuration error? This issue is observed on 64 bits platform. RCP application is a DSL implementation based on xtext 2.8.4
Thank you in advance
Alexander
There is a similar bug report open in the Eclipse bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=423923
Comments suggest that
your workspace is trying to load org.eclipse.e4.ui.workbench.addons.splitteraddon.SplitterAddon. This can happen if
1) you have o.e.ui.workbench from master in your workspace when launching from a 4.3.x target or
2) if you are opening an existing Luna workspace with 4.3.x
I had a similar exception when launching with a workspace that was created by an older version. In my case the workspace was created with 4.4 and the exception occured when launching a 4.5-based application on that workspace.

Not able to start STS

Am not able to start my STS 3.3. It is failing to start by giving following exception
!ENTRY org.eclipse.osgi 4 0 2013-09-30 10:22:40.079
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.ui.ide.application" was unable to instantiate class "org.eclipse.ui.internal.ide.application.IDEApplication".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/ui/application/WorkbenchAdvisor
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2483)
at java.lang.Class.getConstructor0(Class.java:2793)
at java.lang.Class.newInstance(Class.java:345)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 16 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.ui.application.WorkbenchAdvisor cannot be found by org.eclipse.ui.ide.application_1.0.400.v20130326-1250
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(ClassLoader.java:357)
... 21 more
What is the problem here?
This is often a problem with temporary files saved by plugins. These steps should help you out:
Check YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.jdt.core/ There are a lot of index files. Sometimes it helps to delete them. Also start your eclipse with -clean.
According to your problem, I think you've moved some files from the filesystem, a new location prehaps, that's causing this error. Try checking them.
Refresh all your projects.
Try creating a new workspace and check.
If nothing works, try re-installing it.
Also, if you decide not to go with STS, you can always use Eclipse IDE with STS plugin.
Hope it helps. :)

Can't start Eclipse IDE in my system

i have Eclipse indigo ide today i updated through eclipse market place a added SpringSource Tool Suite (STS) ide downloaded required files and asked like restart i restart the eclipse but it giving error like
`
in that liog file one Exception is like this
!ENTRY org.eclipse.osgi 4 0 2013-02-05 15:19:06.515
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
so how to fix this ????
thanx in advance
It seems you have problems with the eclipse.core.runtime i would reinstall the IDE.

Cannot start Eclipse Juno

I am getting very frustrated with this problem with Eclipse. I have had it many times, and quite frankly I think Eclipse is garbage. But since I do all of my Android development there, there are no other alternative IDE's. Here is my problem: I cannot start Eclipse. I changed absolutely nothing, and all of a sudden the .log file in .metadata throws the following stack trace error:
!ENTRY org.eclipse.osgi 4 0 2012-11-16 15:07:22.032
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.E4Workbench.processHierarchy(E4Workbench.java:172)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.init(E4Workbench.java:118)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.<init>(E4Workbench.java:69)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:302)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:557)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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)
I don't know what to do! I have no .snap file anywhere. What else can I try???
Thank you all for your help,
Igor
I occasionally have this issue as well, and it is indeed frustrating. What fixes it for me is to go into my eclipse workspace: <workspace>/.metadata/.plugins and start deleting stuff. Most of the things in here are auto-generated; settings etc. I think you can keep org.eclipse.core.resources (that's where a lot of your own user settings area).
Unfortunately, this makes the workspace forget what projects you were working on, so you have to re-add them, but for me this isn't a big deal because I store them elsewhere on my filesystem.
Hopefully this helps!

org.osgi.service.application.ApplicationException: No application id has been found

!ENTRY org.eclipse.osgi 4 0 2011-09-13 10:30:39.110
!MESSAGE Application error
!STACK 1
org.osgi.service.application.ApplicationException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:262)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
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:369)
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:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Could be dependencies issue; Goto "Run->Run Configurations...", Select "Plug-ins" tab and click the "Add Reuired Plugin" button
I've had a similar problem. I found that starting with -clean solved it in my case:
# ./eclipse -clean
I am running 3.6.1 on Ubuntu Lucid 64-bit.
Its difficult to say with the description given, you would have to double check your dependencies, if you've added some recently try to check your dependencies definition on product, feature and separate plugin's xml. Check this website too.
If you see this when trying to start OSGI console, add this parameter to the command line (just after 'java'):
-Declipse.ignoreApp=true
or this line into your 'config.ini' file:
eclipse.ignoreApp=true