This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 273466 - Unable to create Runtime Environments preference page
Summary: Unable to create Runtime Environments preference page
Status: CLOSED DUPLICATE of bug 297769
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 12:08 EDT by kiril mitov CLA
Modified: 2010-04-14 16:20 EDT (History)
3 users (show)

See Also:


Attachments
Screen shot (29.69 KB, image/png)
2009-04-23 12:08 EDT, kiril mitov CLA
no flags Details
error log (101.50 KB, text/plain)
2009-04-23 12:10 EDT, kiril mitov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kiril mitov CLA 2009-04-23 12:08:20 EDT
While smoketesting 
http://build.eclipse.org/webtools/committers/wtp-R3.1-I/20090423062751/I-3.1-20090423062751/

I have started with an empty workspace and then Windows->Preference->Server->Runtime Environments.

The following error occurred:
Unable to create the selected preference page.
An error occured while automatically activating bundle org.eclipse.wst.server.ui (623).

Situation got better after restart.

Screen shot attached. Error log will also be attached.
Comment 1 kiril mitov CLA 2009-04-23 12:08:52 EDT
Created attachment 132966 [details]
Screen shot
Comment 2 kiril mitov CLA 2009-04-23 12:10:56 EDT
Created attachment 132968 [details]
error log
Comment 3 Angel Vera CLA 2009-04-23 12:28:15 EDT
How did you extracted the build? did you put everything in the dropin folders or did you extracted all the zipfiles on top of each other?
Comment 4 kiril mitov CLA 2009-04-23 12:36:26 EDT
(In reply to comment #3)
> How did you extracted the build? did you put everything in the dropin folders
> or did you extracted all the zipfiles on top of each other?
> 
I have extracted the zip files on top of each other. Was that a mistake?

Comment 5 Angel Vera CLA 2009-04-23 12:52:27 EDT
(In reply to comment #4)
No mistake. I am trying understand what you did. This morning I did a quick test (not the smoke test) with wtp-sdk and I didn't see a problem. 

I am now downloading wtp to see if I encounter the same problem that you found. 

I noticed you said that after restart the situation got better, i take you mean that you didn't get a problem.

Comment 6 kiril mitov CLA 2009-04-23 12:59:08 EDT
(In reply to comment #5)
> (In reply to comment #4)
> No mistake. I am trying understand what you did. This morning I did a quick
> test (not the smoke test) with wtp-sdk and I didn't see a problem. 
> 
> I am now downloading wtp to see if I encounter the same problem that you found. 
> 
> I noticed you said that after restart the situation got better, i take you mean
> that you didn't get a problem.
> 

Yes. After restart I was able to open the preference page
Comment 7 Angel Vera CLA 2009-04-23 13:10:55 EDT
I re-downloaded everything, all the packages. I have restarted a few times, but I can't recreate the problem. The error log suggest a problem with the initialization of the plugin, which could be caused by p2. Yesterday someone contacted me with a similar problem, but in their case they couldn't bring up the Dynamic Web project. I couldn't recreate their problem either. The fact that you were able to bring up the dialog after you restarted, makes me thing there is some funky behaviour in the platform, not sure what. 

I am lowering the severity to normal, and will probably transfer to the platform to get their thoughts.
Comment 8 Angel Vera CLA 2009-04-23 13:44:11 EDT
Can someone from the platform look at the 'error log' attachment and comment on what all the error could be about?
Comment 9 John Arthorne CLA 2009-04-23 13:52:12 EDT
I don't see a connection with p2 here.
Comment 10 Thomas Watson CLA 2009-04-23 17:12:42 EDT
I am not able to reproduce.  I am at a loss as how this happened.  The stacktrace indicates that there are two versions of the org.eclipse.core.runtime.Plunin class in the system.  But this class should only exist in the org.eclipse.core.runtime bundle and that bundle is a singleton.  I have know idea how more than one class loader could have defined that class.
Comment 11 Angel Vera CLA 2009-04-24 09:22:36 EDT
I know certain JVM cache classes, can this be the case in here?
Comment 12 Thomas Watson CLA 2009-04-24 09:29:53 EDT
(In reply to comment #11)
> I know certain JVM cache classes, can this be the case in here?
> 

Only if they are running with support for cached classes in the framework.  This would require a special framework extension bundle that has knowledge of how to cache a class from a classloader/jar with the JVM.  We do not ship any such support in the Eclipse Platform by default.
Comment 13 Thomas Watson CLA 2010-04-14 16:20:03 EDT
Marking as duplicate since the same error seems to be happening there.  In that case we had multiple versions of javax.servlet that I think contributed to core.runtime being refreshed and causing some strange class loading issues.

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