Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » 3.1M4 ClassCastException
3.1M4 ClassCastException [message #586398] Thu, 03 February 2005 18:38
Eclipse UserFriend
Originally posted by: wharold.e2open.com

[posted earlier on eclipse.platform. Darin Swanson pointed out the AJDT
reference at the top of the stack trace and suggested I repost here]

I just moved up from 3.1M3 to 3.1M4. I'm getting frequent Error dialogs,
usually when I go to open a project or package but occasionally when I just
access a file. In the log the error is always the same:

java.lang.ClassCastException: java.util.ArrayList
at
org.eclipse.ajdt.buildconfigurator.PropertyPageManager.extra ctJDTRegistryPag
eContributors(PropertyPageManager.java:120)

Modulo these dialogs everything seems to work. I spent the last 45 minutes
searching the newsgroups but I didn't see a reference to this problem. In
case it's brand new here's the log file header information:

!SESSION 2005-02-03
10:56:39.261 -----------------------------------------------
eclipse.buildId=I20041216-2000
java.version=1.5.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

and the complete stack trace:

!ENTRY org.eclipse.core.runtime 4 2 2005-02-03 10:57:29.464
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.ClassCastException: java.util.ArrayList
at
org.eclipse.ajdt.buildconfigurator.PropertyPageManager.extra ctJDTRegistryPag
eContributors(PropertyPageManager.java:120)
at
org.eclipse.ajdt.buildconfigurator.PropertyPageManager.regis terJDTPropertyPa
ge(PropertyPageManager.java:105)
at
org.eclipse.ajdt.buildconfigurator.BuildConfigurator.selecti onChanged(BuildC
onfigurator.java:93)
at
org.eclipse.ui.internal.AbstractSelectionService$3.run(Abstr actSelectionServ
ice.java:160)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(AbstractSelec
tionService.java:158)
at
org.eclipse.ui.internal.AbstractSelectionService$1.selection Changed(Abstract
SelectionService.java:66)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
java:1667)
at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.jav
a:935)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer
..java:961)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:209
)
at
org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:204)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:364)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2803)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2448)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1569)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:285)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:220)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
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.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)

I've got some code that requires Java 5 so I'd like to stay on M4 but those
dialogs are getting really annoying.

Thanks ... WkH
Previous Topic:ajdt_1.2.0M2 content assist does not work
Next Topic:3.1M4 ClassCastException
Goto Forum:
  


Current Time: Thu Apr 25 15:40:08 GMT 2024

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

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

Back to the top