Bug 38711 - [Tasks] Unable to open Tasks view in I20030610
Summary: [Tasks] Unable to open Tasks view in I20030610
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P1 blocker (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-10 11:31 EDT by Debbie Wilson CLA
Modified: 2003-06-10 12:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debbie Wilson CLA 2003-06-10 11:31:50 EDT
- picked up build I20030610- working with a clean workspace
- Window->Open Perspective->Java 
The Java perspective didn't show and the following was in the .log file:
!SESSION Jun 10, 2003 11:28:56.613 --------------------------------------------
-
java.version=1.4.1_02
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 -data 
d:/EclipseEnvs/3.0/I20030610Data/eclipse/plugins -install 
file:D:/EclipseEnvs/3.0/I20030610/eclipse/
!ENTRY org.eclipse.core.runtime 4 2 Jun 10, 2003 11:28:56.613
!MESSAGE Plug-in org.eclipse.ui was unable to load class 
org.eclipse.ui.views.internal.markers.TaskView.
!STACK 0
java.lang.ClassNotFoundException: 
org.eclipse.ui.views.internal.markers.TaskView
	at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass
(DelegatingURLClassLoader.java:866)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at 
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension
(PluginDescriptor.java:130)
	at 
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension
(PluginDescriptor.java:167)
	at 
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtensio
n(ConfigurationElement.java:103)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(WorkbenchPlugin.java:151)
	at org.eclipse.ui.internal.registry.ViewDescriptor.createView
(ViewDescriptor.java:51)
	at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:115)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1006)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.ui.internal.ViewFactory.busyRestoreView
(ViewFactory.java:98)
	at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:82)
	at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
	at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:78)
	at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart
(ViewFactory.java:332)
	at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange
(WorkbenchPage.java:123)
	at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:235)
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:348)
	at org.eclipse.ui.internal.PartTabFolder.setSelection
(PartTabFolder.java:846)
	at org.eclipse.ui.internal.PartTabFolder.setSelection
(PartTabFolder.java:832)
	at org.eclipse.ui.internal.PartTabFolder.createControl
(PartTabFolder.java:238)
	at org.eclipse.ui.internal.PartSashContainer.createControl
(PartSashContainer.java:192)
	at org.eclipse.ui.internal.PerspectivePresentation.activate
(PerspectivePresentation.java:96)
	at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:718)
	at org.eclipse.ui.internal.WorkbenchPage.onActivate
(WorkbenchPage.java:1794)
	at org.eclipse.ui.internal.WorkbenchWindow$7.run
(WorkbenchWindow.java:1443)
	at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
	at org.eclipse.ui.internal.WorkbenchWindow.setActivePage
(WorkbenchWindow.java:1430)
	at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage
(WorkbenchWindow.java:363)
	at org.eclipse.ui.internal.WorkbenchWindow$6.run
(WorkbenchWindow.java:1136)
	at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
	at org.eclipse.ui.internal.WorkbenchWindow.openPage
(WorkbenchWindow.java:1133)
	at org.eclipse.ui.internal.Workbench.openFirstTimeWindow
(Workbench.java:1071)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:871)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1370)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:858)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	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:291)
	at org.eclipse.core.launcher.Main.run(Main.java:747)
	at org.eclipse.core.launcher.Main.main(Main.java:583)
!ENTRY org.eclipse.ui 4 4 Jun 10, 2003 11:29:04.254
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Jun 10, 2003 11:29:04.254
!MESSAGE Argument not valid
!STACK 0
java.lang.IllegalArgumentException: Argument not valid
	at org.eclipse.swt.SWT.error(SWT.java:2336)
	at org.eclipse.swt.SWT.error(SWT.java:2280)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:389)
	at org.eclipse.swt.widgets.Composite.setTabList(Composite.java:426)
	at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:196)
	at org.eclipse.ui.internal.PartTabFolder.createPartTab
(PartTabFolder.java:252)
	at org.eclipse.ui.internal.PartTabFolder.createControl
(PartTabFolder.java:224)
	at org.eclipse.ui.internal.PartSashContainer.createControl
(PartSashContainer.java:192)
	at org.eclipse.ui.internal.PerspectivePresentation.activate
(PerspectivePresentation.java:96)
	at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:718)
	at org.eclipse.ui.internal.WorkbenchPage.setPerspective
(WorkbenchPage.java:2560)
	at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective
(WorkbenchPage.java:627)
	at org.eclipse.ui.internal.WorkbenchPage.access$8
(WorkbenchPage.java:612)
	at org.eclipse.ui.internal.WorkbenchPage$12.run
(WorkbenchPage.java:2683)
	at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
	at org.eclipse.ui.internal.WorkbenchPage.setPerspective
(WorkbenchPage.java:2681)
	at org.eclipse.ui.internal.ChangeToPerspectiveMenu.run
(ChangeToPerspectiveMenu.java:58)
	at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.java:331)
	at org.eclipse.ui.actions.PerspectiveMenu$3.widgetSelected
(PerspectiveMenu.java:103)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:89)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2036)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1742)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1399)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1382)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:858)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	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:291)
	at org.eclipse.core.launcher.Main.run(Main.java:747)
	at org.eclipse.core.launcher.Main.main(Main.java:583)
Comment 1 Nick Edgar CLA 2003-06-10 11:57:03 EDT
Same thing happens for Problems and Bookmarks views.

This was due to the wrong plugin.xml being released to the build.
Comment 2 Nick Edgar CLA 2003-06-10 11:59:28 EDT
Released org.eclipse.ui with the correct plugin.xml.
Comment 3 Darin Swanson CLA 2003-06-10 12:11:32 EDT
Nick can you give pointers on how to clean up the plugin.xml?
Comment 4 Nick Edgar CLA 2003-06-10 12:45:40 EDT
Take out "internal" in the class names.

The extensions should be:

      <view
            name="%Views.Bookmark"
            icon="icons/full/cview16/bkmrk_nav.gif"
            category="org.eclipse.ui"
            class="org.eclipse.ui.views.markers.BookmarkView"
            id="org.eclipse.ui.views.BookmarkView">
      </view>
      <view
            name="%Views.Task"
            icon="icons/full/cview16/tasks_tsk.gif"
            category="org.eclipse.ui"
            class="org.eclipse.ui.views.markers.TaskView"
            id="org.eclipse.ui.views.TaskList">
      </view>
      <view
            name="%Views.Problem"
            icon="icons/full/obj16/problemview.gif"
            category="org.eclipse.ui"
            class="org.eclipse.ui.views.markers.ProblemView"
            id="org.eclipse.ui.views.ProblemView">
      </view>