Bug 566297 - Can't launch Eclipse 4 RCP application from IDE in last build
Summary: Can't launch Eclipse 4 RCP application from IDE in last build
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 blocker (vote)
Target Milestone: 4.17 RC1   Edit
Assignee: Gunnar Wagenknecht CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression
: 566316 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-23 23:50 EDT by Vladimir Borkovkin CLA
Modified: 2020-08-25 03:39 EDT (History)
5 users (show)

See Also:


Attachments
log file (8.88 KB, application/octet-stream)
2020-08-23 23:50 EDT, Vladimir Borkovkin CLA
no flags Details
screenshot previous build (146.52 KB, image/png)
2020-08-24 00:09 EDT, Vladimir Borkovkin CLA
no flags Details
screenshot last build (134.81 KB, image/png)
2020-08-24 00:10 EDT, Vladimir Borkovkin CLA
no flags Details
works for me (180.25 KB, image/png)
2020-08-24 00:53 EDT, Vikas Chandra CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Borkovkin CLA 2020-08-23 23:50:19 EDT
Created attachment 283945 [details]
log file

In last build Version: 2020-09 (4.17), Build id: I20200823-1800 can't launch eclipse 4 RCP application. 
Previous version (Version: 2020-09 (4.17), Build id: I20200823-0600) work fine.

Steps to reproduce

1. Create Plug-in Project
2. Select Rich Client Application. All settings have default values.
3. Select Eclipse 4 RCP application
4. Check “Create sample content” and “Add life cycles class”
5. Open product configuration editor
6. Select “Configuration” tab. 
7. Press “Add recommended…” in “Start Levels” section. Start levels for 5 plugins  are set.
8. Select product file in Project Explorer and select "Run As... Eclipse Application" from popup menu. Got error "Error: Could not find or load main class org.eclipse.equinox.launcher.Main
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.Main
"

The same actions under previous version start working application.

.log file is attached.
Comment 1 Vikas Chandra CLA 2020-08-23 23:54:11 EDT
Can you mention which version of eclipse this scenario worked? Is it 4.16 GA candidate? Does this work on 4.17M1 or 4.17M2?
Comment 2 Vladimir Borkovkin CLA 2020-08-23 23:57:17 EDT
(In reply to Vikas Chandra from comment #1)
> Can you mention which version of eclipse this scenario worked? Is it 4.16 GA
> candidate? Does this work on 4.17M1 or 4.17M2?

Version: 2020-09 (4.17), Build id: I20200823-0600 work fine.
Comment 3 Vladimir Borkovkin CLA 2020-08-24 00:09:54 EDT
Created attachment 283946 [details]
screenshot previous build
Comment 4 Vladimir Borkovkin CLA 2020-08-24 00:10:23 EDT
Created attachment 283947 [details]
screenshot last build
Comment 5 Vikas Chandra CLA 2020-08-24 00:16:15 EDT
Thanks Vladimir for narrowing the problem down.
Comment 6 Vikas Chandra CLA 2020-08-24 00:53:23 EDT
I tried on RHEL on
Eclipse SDK

Version: 2020-09 (4.17)
Build id: I20200823-1800


and it works OK for me.
Comment 7 Vikas Chandra CLA 2020-08-24 00:53:52 EDT
Created attachment 283948 [details]
works for me
Comment 8 Vikas Chandra CLA 2020-08-24 01:01:43 EDT
In the git log, I see https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=1727be6d7828faaaefec71c2c63c994cacaa77fc which may be related to this.
Comment 9 Vladimir Borkovkin CLA 2020-08-24 01:11:59 EDT
(In reply to Vikas Chandra from comment #7)
> Created attachment 283948 [details]
> works for me

Under windows 10 I've check twice before open the bug.
Tried once more, the same eeror.
Comment 10 Vikas Chandra CLA 2020-08-24 01:17:12 EDT
I can now reproduce on windows 10. I am investigating!
Comment 11 Vladimir Borkovkin CLA 2020-08-24 01:21:38 EDT
Open with I20200823-1800 project created under I20200823-0600.
The same error.
Open it back with I20200823-0600. work fine.
Comment 12 Vikas Chandra CLA 2020-08-24 01:45:01 EDT
(In reply to Vikas Chandra from comment #8)
> In the git log, I see
> https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/
> ?id=1727be6d7828faaaefec71c2c63c994cacaa77fc which may be related to this.

Reverting this commit fixes comment#0 in windows 10
Comment 13 Andrey Loskutov CLA 2020-08-24 05:31:44 EDT
*** Bug 566316 has been marked as a duplicate of this bug. ***
Comment 14 Eclipse Genie CLA 2020-08-24 05:58:32 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/168121
Comment 15 Vikas Chandra CLA 2020-08-24 06:24:46 EDT
(In reply to Eclipse Genie from comment #14)
> New Gerrit change created:
> https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/168121

comment#0 works fine with this on win 10
Comment 16 Sarika Sinha CLA 2020-08-24 15:18:04 EDT
Reverted change from Bug 565902.
Comment 17 Lars Vogel CLA 2020-08-25 03:39:25 EDT
Verified on Eclipse SDK
Version: 2020-09 (4.17)
Build id: I20200824-1900
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 14.0.2
that a newly created RCP app starts again.