Bug 417703 - Random exception during runtime eclipse startup
Summary: Random exception during runtime eclipse startup
Status: CLOSED DUPLICATE of bug 342711
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-09-20 11:00 EDT by Andreas Muelder CLA
Modified: 2013-09-26 09:41 EDT (History)
2 users (show)

See Also:


Attachments
log of the last crash (52.83 KB, text/plain)
2013-09-26 09:32 EDT, Andreas Muelder CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Muelder CLA 2013-09-20 11:00:55 EDT
When I develop an eclipse plugin and start a runtime workspace, it happens frequently that the runtime eclipse crashes. (every 5 - 10 times) Eclipse prompts with a message box that it could not be started with a random exception, mostly one of the exceptions below. If I try to start the runtime again, it always works. I observed this behavior on different machines, but only with the Eclipse 4.x stream. 

org.osgi.framework.BundleException: Exception in org.eclipse.jdt.internal.ui.JavaPlugin.start() of bundle org.eclipse.jdt.ui.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)


java.lang.ExceptionInInitializerError
	at org.eclipse.jdt.ui.PreferenceConstants.initializeDefaultValues(PreferenceConstants.java:3739)
	at org.eclipse.jdt.internal.ui.JavaUIPreferenceInitializer.initializeDefaultPreferences(JavaUIPreferenceInitializer.java:38)
Comment 1 Paul Webster CLA 2013-09-20 11:48:47 EDT
Could you please attach a complete log from one of the crash scenarios?

PW
Comment 2 Dani Megert CLA 2013-09-20 11:52:59 EDT
Also, could it be that you launch the runtime while it's still building/compiling?
Comment 3 Andreas Muelder CLA 2013-09-26 09:32:28 EDT
Created attachment 235852 [details]
log of the last crash

here is the log file of the latest crash.
Comment 4 Andreas Muelder CLA 2013-09-26 09:34:53 EDT
Dani, I don't think that the runtime was still building/compiling when this crash happend but I am not 100% sure. I will try to keep an eye on that.
Comment 5 Paul Webster CLA 2013-09-26 09:41:01 EDT

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