Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 393232

Summary: Missing plug-ins on fresh download of both Eclipse for RCP and Java EE
Product: [Eclipse Project] Platform Reporter: Rod Spencer <GRodSpencerDevelopment>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, jarthana
Version: 4.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rod Spencer CLA 2012-10-31 09:23:31 EDT
Using fresh download of both Eclipse for RCP and Java EE, and checked for updates.

Creation of "Hello World" RCP from wizard, (Or any other RCP for that matter) results in message below.  (Should not need to, but also) Cannot add as dependency as presumably the bundle(s) is (are) missing.

Same issue with "Eclipse IDE for Java EE Developers." 

^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
!SESSION 2012-10-31 08:54:55.250 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -application TEMP.application
Command-line arguments:  -application TEMP.application -data C:\Documents and Settings\Rod\eclipse workspaces\Juno WS\Juno-RCP/../runtime-TEMP.application -dev file:C:/Documents and Settings/Rod/eclipse workspaces/Juno WS/Juno-RCP/.metadata/.plugins/org.eclipse.pde.core/TEMP.application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-10-31 08:54:57.250
!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-10-31 08:54:57.250
!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-10-31 08:54:57.265
!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
^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v


-- Configuration Details --
Product: Eclipse 1.5.1.20121004-1506 (org.eclipse.epp.package.rcp.product)
Installed Features:
 org.eclipse.pde 3.8.1.v20120814-104528-7c7vFixFFt6Zr5aC6KM6LGWSd
Comment 1 Jay Arthanareeswaran CLA 2012-10-31 10:00:18 EDT
I am not quite sure under which project this should go. I am sure it's not JDT/Core, though.
Comment 2 Dani Megert CLA 2012-10-31 10:30:43 EDT
I assume you can run Eclipse but then running the example has issues? If not, please provide more details.

This looks like bug 390667.
Comment 3 Rod Spencer CLA 2012-10-31 13:40:38 EDT
(In reply to comment #1)
> I am not quite sure under which project this should go. I am sure it's not
> JDT/Core, though.

So the inability to create a simple "Hello World" RCP Plugin that runs without error occurs for BOTH:

- Eclipse IDE for Java EE Developers
- Eclipse for RCP and RAP Developers

I have not checked other IDEs.  

Note that this problem persists as I venture beyond "Hello World."


If you have a specific recommendation as to where to place this possibly generic bug please post.

Regards,

Rod
Comment 4 Rod Spencer CLA 2012-10-31 13:53:30 EDT
(In reply to comment #2)
> I assume you can run Eclipse but then running the example has issues? If
> not, please provide more details.
> 
> This looks like bug 390667.

The Eclipse Juno IDE runs fine for BOTH:

- Eclipse IDE for Java EE Developers
- Eclipse for RCP and RAP Developers

However neither of these allow me to create a simple "Hello World" RCP Plugin that runs without this error.  Note that this problem persists as I venture beyond "Hello World."

Anticipating other questions, they are separate installations and use separate work spaces.

Also, I have not checked other IDEs.  

Other ideas?

Thanks for your help,

Rod
Comment 5 Rod Spencer CLA 2012-10-31 14:13:48 EDT
(In reply to comment #2)
> I assume you can run Eclipse but then running the example has issues? If
> not, please provide more details.
> 
> This looks like bug 390667.

Dani...   I checked out bug 390667.

It looks like the same errors are produced...  but as suggested there, adding a dependency to "org.eclipse.e4.ui.workbench.addons.swt;bundle-version="0.10.1"  results in more errors shown below.

I have seen others post this similar problem out in the not-the-Eclipse world and tried several of their solutions.

But I keep going back to basics:

       1) Download new Eclipse IDE(s)
       2) Get recent updates
       3) Create "Hello World" RCP
       4) Experience same errors.

So many new people start with "Hello World" but this will leave them with a bad first time impression.

As a reasonably experienced "Eclipser", and hoping that this Eclipse world doesn't crash like so many others over the years by overlooking the basics and the need to appeal to beginners.

Thanks again for your help.

Rod

v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^

!SESSION 2012-10-31 13:57:53.750 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -application TEMP.application
Command-line arguments:  -application TEMP.application -data C:\Documents and Settings\Rod\eclipse workspaces\Juno WS\Juno-RCP/../runtime-TEMP.application -dev file:C:/Documents and Settings/Rod/eclipse workspaces/Juno WS/Juno-RCP/.metadata/.plugins/org.eclipse.pde.core/TEMP.application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.osgi 2 0 2012-10-31 13:57:55.500
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-31 13:57:55.500
!MESSAGE Bundle initial@reference:file:../../../../Documents and Settings/Rod/eclipse workspaces/Juno WS/Juno-RCP/TEMP/ was not resolved.
!SUBENTRY 2 TEMP 2 0 2012-10-31 13:57:55.500
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.addons.swt_0.10.1.

!ENTRY org.eclipse.osgi 2 0 2012-10-31 13:57:55.500
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-31 13:57:55.500
!MESSAGE Bundle TEMP_1.0.0.qualifier [37] was not resolved.
!SUBENTRY 2 TEMP 2 0 2012-10-31 13:57:55.500
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.addons.swt_0.10.1.

!ENTRY org.eclipse.osgi 2 0 2012-10-31 13:57:55.515
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-31 13:57:55.515
!MESSAGE Bundle initial@reference:file:../../../../Documents and Settings/Rod/eclipse workspaces/Juno WS/Juno-RCP/TEMP/ was not resolved.
!SUBENTRY 2 TEMP 2 0 2012-10-31 13:57:55.515
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.addons.swt_0.10.1.

!ENTRY org.eclipse.osgi 2 0 2012-10-31 13:57:55.515
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-31 13:57:55.515
!MESSAGE Bundle TEMP_1.0.0.qualifier [37] was not resolved.
!SUBENTRY 2 TEMP 2 0 2012-10-31 13:57:55.515
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.addons.swt_0.10.1.

!ENTRY org.eclipse.osgi 4 0 2012-10-31 13:57:55.515
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "TEMP.application" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic.
	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
	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: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)
An error has occurred. See the log file
C:\Documents and Settings\Rod\eclipse workspaces\Juno WS\Juno-RCP\.metadata\.plugins\org.eclipse.pde.core\TEMP.application\1351706274000.log.

v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Comment 6 Curtis Windatt CLA 2012-11-01 17:19:19 EDT
*** Bug 393282 has been marked as a duplicate of this bug. ***
Comment 7 Dani Megert CLA 2012-12-13 09:06:20 EST

*** This bug has been marked as a duplicate of bug 390667 ***