[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] org.eclipse.core.runtime - ClassCastException && how to display propertyView
|
- From: John Lewis <test@xxxxxxxxx>
- Date: Thu, 07 Oct 2004 00:36:21 -0400
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
I'm trying to integrate a PropertyView into my application. I'm getting
the error following the code below:
layout.addView(IPageLayout.ID_PROP_SHEET, IPageLayout.BOTTOM, 0.50f,
"rightTop");
!ENTRY org.eclipse.ui 4 4 Oct 06, 2004 22:43:32.441
!MESSAGE Could not create view: org.eclipse.ui.views.PropertySheet
Could not create view: org.eclipse.ui.views.PropertySheet
Also, when trying to build my app I get the following error...any ideas
as to what the root cause might be?
!SESSION Oct 06, 2004 22:43:32.411
---------------------------------------------
eclipse.buildId=unknown
java.version=1.4.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -application arch.tools.gui.rff.app
!ENTRY org.eclipse.ui 4 4 Oct 06, 2004 22:43:32.441
!MESSAGE Could not create view: org.eclipse.ui.views.PropertySheet
Could not create view: org.eclipse.ui.views.PropertySheet
!ENTRY org.eclipse.core.runtime 4 2 Oct 06, 2004 22:43:33.653
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.ClassCastException
at
org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:77)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:287)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:259)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:516)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:514)
at
org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:102)
at
org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:132)
at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:268)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:317)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:564)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122)
at
org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1111)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1020)
at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:383)
at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:367)
at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:432)
at
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:155)
at
org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:722)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2020)
at
org.eclipse.ui.internal.WorkbenchWindow$4.run(WorkbenchWindow.java:1858)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1845)
at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:498)
at
org.eclipse.ui.internal.WorkbenchWindow$3.run(WorkbenchWindow.java:1076)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1073)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:992)
at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:174)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:658)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at arch.tools.gui.rff.RFFApp.run(RFFApp.java:29)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
!ENTRY org.eclipse.core.runtime 4 2 Oct 06, 2004 22:43:33.713
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.ClassCastException
at
org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:77)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:287)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:259)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:516)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:514)
at
org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:102)
at
org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:132)
at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:268)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:317)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:564)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122)
at
org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1111)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at
org.eclipse.ui.internal.PartStack.updateContainerVisibleTab(PartStack.java:1068)
at org.eclipse.ui.internal.PartStack.remove(PartStack.java:711)
at org.eclipse.ui.internal.PartStack.replace(PartStack.java:763)
at
org.eclipse.ui.internal.PerspectiveHelper.removePart(PerspectiveHelper.java:1035)
at org.eclipse.ui.internal.Perspective.hideView(Perspective.java:463)
at
org.eclipse.ui.internal.WorkbenchPage.hideView(WorkbenchPage.java:1846)
at
org.eclipse.ui.internal.WorkbenchPage.hideView(WorkbenchPage.java:1795)
at
org.eclipse.ui.internal.ViewFactory$1.handleException(ViewFactory.java:265)
at
org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:349)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:617)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:259)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:516)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:514)
at
org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:102)
at
org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:132)
at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:268)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:317)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:564)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122)
at
org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1111)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1020)
at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:383)
at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:367)
at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:432)
at
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:155)
at
org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:722)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2020)
at
org.eclipse.ui.internal.WorkbenchWindow$4.run(WorkbenchWindow.java:1858)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1845)
at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:498)
at
org.eclipse.ui.internal.WorkbenchWindow$3.run(WorkbenchWindow.java:1076)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1073)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:992)
at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:174)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:658)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at arch.tools.gui.rff.RFFApp.run(RFFApp.java:29)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
!ENTRY org.eclipse.ui 4 4 Oct 06, 2004 22:43:33.743
!MESSAGE Unhandled event loop exception
Unhandled event loop exception
Reason:
!ENTRY org.eclipse.ui 4 0 Oct 06, 2004 22:43:33.763
!MESSAGE java.util.ConcurrentModificationException
!STACK 0
java.util.ConcurrentModificationException
at
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:444)
at java.util.AbstractList$Itr.next(AbstractList.java:417)
at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:381)
at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:367)
at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:432)
at
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:155)
at
org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:722)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2020)
at
org.eclipse.ui.internal.WorkbenchWindow$4.run(WorkbenchWindow.java:1858)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1845)
at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:498)
at
org.eclipse.ui.internal.WorkbenchWindow$3.run(WorkbenchWindow.java:1076)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1073)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:992)
at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:174)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:658)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at arch.tools.gui.rff.RFFApp.run(RFFApp.java:29)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
java.util.ConcurrentModificationException