Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » org.eclipse.jdt.ui plugin cannot be activated
org.eclipse.jdt.ui plugin cannot be activated [message #76396] Tue, 15 July 2003 22:14
Eclipse UserFriend
Originally posted by: jzhou.persistence.com

Hi,

I am encountering a strange problem. When I tried to use this static method:
PreferenceConstants.getPreferenceStore();

I get the following Runtime exception:

Plugin org.eclipse.jdt.ui activation failed while loading class
.....PreferenceConstants.


The error log has the following:

!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.ru
ntime".
!STACK 0
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:2332)
at org.eclipse.swt.SWT.error(SWT.java:2262)
at org.eclipse.swt.widgets.Widget.error(Widget.java:385)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:246)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:237)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:190)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:128)
at
org.eclipse.jface.resource.FontRegistry.defaultFont(FontRegi stry.java
:293)
at
org.eclipse.jface.resource.FontRegistry.get(FontRegistry.jav a:370)
at
org.eclipse.jface.resource.JFaceResources.getFont(JFaceResou rces.java
:183)
at
org.eclipse.jdt.internal.ui.JavaPlugin.startup(JavaPlugin.ja va:241)
at
org.eclipse.core.internal.plugins.PluginDescriptor$1.run(Plu ginDescri
ptor.java:728)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatfo
rm.java:889)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginAc
tivation(PluginDescriptor.java:740)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation
(PluginDescriptor.java:188)
at
org.eclipse.core.internal.plugins.PluginClassLoader.activate Plugin(Pl
uginClassLoader.java:112)
at
org.eclipse.core.internal.plugins.PluginClassLoader.internal FindClass
ParentsSelf(PluginClassLoader.java:185)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassPare
ntsSelf(DelegatingURLClassLoader.java:490)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Del
egatingURLClassLoader.java:882)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.acce ss$0(Dele
gatingURLClassLoader.java:876)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader$Dele gateLoade
r.loadClass(DelegatingURLClassLoader.java:90)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassPrer
equisites(DelegatingURLClassLoader.java:554)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Del
egatingURLClassLoader.java:890)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Del
egatingURLClassLoader.java:862)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310 )



This sounds like a bug in Eclipse. Does anyone know if there is a work
around?

Thanks,

Jie
Previous Topic:default source folder
Next Topic:Re: CVS Graph plugin for Eclipse available
Goto Forum:
  


Current Time: Wed Feb 05 07:00:56 GMT 2025

Powered by FUDForum. Page generated in 0.02701 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top