I'm trying to create a standard osgi bundle under Eclipse Helios.
To do so, I've configured my Target Platform like this:
Window -> Preferences -> Plug-in Development -> Target Platform -> Add
After I choose Template and Base RCP (Binary Only)
I changed the name and clicked Finish.
When I launch the platform using the Overview of my bundle, I've got this error printed in the console :
!SESSION 2010-07-16 15:44:37.987 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -dev file:C:/Documents and Settings/E364866/Desktop/calendar/antonio osgi tutorial/.metadata/.plugins/org.eclipse.pde.core/OSGI DynaResume/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -console
!ENTRY org.eclipse.ui 4 4 2010-07-16 15:44:44.659
!MESSAGE Unable to load UI activator
!ENTRY org.eclipse.ui 4 4 2010-07-16 15:44:44.659
!MESSAGE Unable to load UI activator
!STACK 0
I've managed to make the platform run by deselecting the org.eclipse.ui plug-in in the platform configuration window, but I don't understand why this plug-in is selected by default.
Quoting the comments in org.eclipse.ui.internal.WorkbenchPlugin:
// The UI plugin needs to be initialized so that it can install the callback in PrefUtil,
// which needs to be done as early as possible, before the workbench
// accesses any API preferences.
org.eclipse.ui plugin needs to load before your plug-in. You may fix this problem by giving it a start level less than your bundle's start level (which is probably set at default 4).
Related
Our corporate firewall is not allowing traffic directly towards SourceForge so we were supplied the plug-in JAR file through a fileshare. We have used the following download link.
We found several instructions to install plug-ins manually but we were not able to. It looks like this JAR file is not suitable for manual installation? Or what are the steps we need to take?
Update 19-09-2019
The following log is generated. No signs of processing of the dropins folder.
eclipse.buildId=4.12.0.I20190605-1800
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
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 -clean -console -consoleLog
!ENTRY org.eclipse.egit.core 1 0 2019-09-19 15:15:47.713
!MESSAGE Using Apache MINA sshd as ssh client.
!ENTRY org.eclipse.egit.ui 2 0 2019-09-19 15:15:57.883
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\myusername'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
Open Eclipse., Help -> Install New Software -> Add
Give "RED" in name and paste the link in the location
"https://sourceforge.net/projects/red-robot-editor/files/repository/0.9.1/"
Click Add
Select Check Box and Click Next
Then Click Finish
I downloaded the checkstyle plugin for university in order to check the code like my professor wants it. We got an xml configuration file and i created with that another checkstyle configuration (Preferences -> Checkstyle -> New...) Also I set it as default. Now we have to create an automatic formatter like "Rightclick project -> Checkstyle -> Create Formatter-profile". Now I get an problem popup from eclipse with the message:
"An internal error occurred during: "transformCheckstyle".
org/eclipse/jdt/internal/ui/preferences/PreferencesAccess
This is the full error message from the log:
!ENTRY org.eclipse.core.jobs 4 2 2018-12-02 16:42:24.496
!MESSAGE An internal error occurred during: "transformCheckstyle".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/ui/preferences/PreferencesAccess
at net.sf.eclipsecs.core.transformer.FormatterConfigWriter.writeCleanupSettings(FormatterConfigWriter.java:95)
at net.sf.eclipsecs.core.transformer.FormatterConfigWriter.writeSettings(FormatterConfigWriter.java:89)
at net.sf.eclipsecs.core.transformer.FormatterConfigWriter.<init>(FormatterConfigWriter.java:81)
at net.sf.eclipsecs.core.transformer.CheckstyleTransformer.transformRules(CheckstyleTransformer.java:124)
at net.sf.eclipsecs.core.jobs.TransformCheckstyleRulesJob.runInWorkspace(TransformCheckstyleRulesJob.java:117)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SESSION 2018-12-02 16:44:15.808 -----------------------------------------------
eclipse.buildId=4.9.0.I20180906-0745
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
CheckStyle had this bug reported:
https://github.com/checkstyle/eclipse-cs/issues/107
It has been fixed so upgrade to the latest CheckStyle version for Eclipse.
The issue has already been reported at https://github.com/checkstyle/eclipse-cs/issues/107 but no one has contributed a fix for it.
I have Ubuntu 16.04 and Eclipse Oxygen 3.A installed on my machine. The Eclipse restart does not work. Eclipse closes but does not start again neither by 'Restart' menu nor if an application requires a restart.
Update: I cleared .metadata/.log and then restarted Eclipse from the menu. As usual Eclipse closed down but did not start again. I had to start it by clicking on the icon on my taskbar. Below is the logs generated when I started Eclipse.
!SESSION 2018-08-19 20:44:55.135 -----------------------------------------------
eclipse.buildId=4.7.3.M20180330-0640
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.ui 2 0 2018-08-19 20:45:05.372
!MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point.
!SUBENTRY 1 org.eclipse.ui 2 0 2018-08-19 20:45:05.372
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight'
!ENTRY com.genuitec.eclipse.theming.ui 1 0 2018-08-19 20:45:08.115
!MESSAGE A DevStyle Theme is being activated on this workspace; preparing colors and configuration
!ENTRY com.genuitec.eclipse.theming.ui 1 0 2018-08-19 20:45:09.652
!MESSAGE DevStyle has archived current color configurations to alternate preferences - will be restored when switching out of the DevStyle Theme
!ENTRY com.genuitec.eclipse.patches 2 0 2018-08-19 20:45:13.331
!MESSAGE Patches instrumentation extension PerformanceJavaNavigatorContentProviderPatch ([31078] [Angular] Webclipse UI freezes constantly after closing/reopening Angular 2 projects) has not weaved class org.eclipse.jdt.internal.ui.navigator.JavaNavigatorContentProvider.
The issue was that the path set for --launcher.library argument in eclipse.ini file was incorrect. I found it out by comparing the ini files from another installation. The path for this argument was set as a relative path which I replaced with an absolute path as below.
/home/<username>/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180518-1200
I'm trying to use the google apps script plugin for eclipse (https://developers.google.com/eclipse/docs/apps_script) When I follow the directions and try to import an apps script project, The import wizard does not appear to populate, and I end up with the error in the title . The logs have the following:
!SESSION 2017-09-06 20:41:42.028 -----------------------------------------------
eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data file:/E:/EclipsePortable/Data/workspace/
!ENTRY org.eclipse.ui.navigator 2 0 2017-09-06 20:41:46.917
!MESSAGE Can't find Navigator Content Descriptor with id: org.eclipse.jst.servlet.ui.EnhancedJavaRendering
!ENTRY com.google.gdt.eclipse.drive 1 0 2017-09-06 20:42:16.644
!MESSAGE Connected to Drive service at https://www.googleapis.com/
!ENTRY com.google.gdt.eclipse.drive 4 0 2017-09-06 20:43:23.266
!MESSAGE Error reading contents of project from Drive; see Error Log.
!STACK 0
java.lang.NullPointerException
at com.google.gdt.eclipse.drive.wizards.ScriptProjectImportWizard$2.run(ScriptProjectImportWizard.java:162)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
How can I get this working?
From https://developers.google.com/eclipse/
The Google Plugin for Eclipse is deprecated and will be removed in January 2018. Migrate to Cloud Tools for Eclipse and/or the GWT Eclipse Plugin as soon as possible to avoid disruption.
I need some help!
I am using eclipse 3.7 and mylyn 3.6.2 with JIRA connector 3.0.2
Sometimes after restart eclipse forgets all the projects in the workspace. Workspace is not totally recreated all the mylyn connections, and java working sets are present, but all the projects are gone.
So I need to re-import them each time this happens.
I am blaming mylyn, because this never happened before I started using it.
And in log file I see that it has some problems on start:
!SESSION 2011-10-25 10:34:39.302 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.mylyn.tasks.core 2 0 2011-10-25 10:34:45.765
!MESSAGE Failed to load tasks.xml.zip, restoring from snapshot
!STACK 1
org.eclipse.core.runtime.CoreException: Task list file contains no data "/home/german/work/irbisenv/javawsp/.metadata/.mylyn/tasks.xml.zip"
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizer.readTaskList(TaskListExternalizer.java:203)
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizationParticipant$1.ex
...
The problem was with my HDD. After formatting everything works fine.