Bug 5144 - Error when opening display view
Summary: Error when opening display view
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Joe Szurszewski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-22 11:41 EDT by Martin Aeschlimann CLA
Modified: 2001-10-23 03:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2001-10-22 11:41:32 EDT
205
1. Put a breakpoint in VectorTest.testCapacity (anywhere)
2. Debug to the breakpoint (IBM JRE)
3. Close the display view.
4. Open the display view again (perspective -> show view)

java.lang.NullPointerException

Stack trace:
   java/lang/Throwable.<init>()V
   java/lang/Throwable.<init>(Ljava/lang/String;)V
   java/lang/NullPointerException.<init>(Ljava/lang/String;)V
   org/eclipse/jdt/internal/debug/ui/display/EvaluateAction.update()V
   org/eclipse/jdt/internal/debug/ui/display/DisplayView.updateEvalActions()V
   org/eclipse/jdt/internal/debug/ui/display/DisplayView.initializeActions()V
   org/eclipse/jdt/internal/debug/ui/display/DisplayView.createPartControl
(Lorg/eclipse/swt/widgets/Composite;)V
   org/eclipse/ui/internal/PartPane$2.run()V
   org/eclipse/core/internal/runtime/InternalPlatform.run
(Lorg/eclipse/core/runtime/ISafeRunnable;)V
   org/eclipse/core/runtime/Platform.run
(Lorg/eclipse/core/runtime/ISafeRunnable;)V
   org/eclipse/ui/internal/PartPane.createChildControl
(Lorg/eclipse/swt/widgets/Composite;)V
   org/eclipse/ui/internal/PartPane.createControl
(Lorg/eclipse/swt/widgets/Composite;)V
   org/eclipse/ui/internal/ViewPane.createControl
(Lorg/eclipse/swt/widgets/Composite;)V
   org/eclipse/ui/internal/PartTabFolder.createPartTab
(Lorg/eclipse/ui/internal/LayoutPart;Ljava/lang/String;I)
Lorg/eclipse/swt/custom/CTabItem;
   org/eclipse/ui/internal/PartTabFolder.replaceChild
(Lorg/eclipse/ui/internal/PartPlaceholder;Lorg/eclipse/ui/internal/LayoutPart;)V
   org/eclipse/ui/internal/PartTabFolder.replace
(Lorg/eclipse/ui/internal/LayoutPart;Lorg/eclipse/ui/internal/LayoutPart;)V
   org/eclipse/ui/internal/PerspectivePresentation.addPart
(Lorg/eclipse/ui/internal/LayoutPart;)V
   org/eclipse/ui/internal/Perspective.showView(Ljava/lang/String;)
Lorg/eclipse/ui/IViewPart;
   org/eclipse/ui/internal/WorkbenchPage.busyShowView(Ljava/lang/String;Z)
Lorg/eclipse/ui/IViewPart;
   org/eclipse/ui/internal/WorkbenchPage.access$4
(Lorg/eclipse/ui/internal/WorkbenchPage;Ljava/lang/String;Z)
Lorg/eclipse/ui/IViewPart;
   org/eclipse/ui/internal/WorkbenchPage$7.run()V
   org/eclipse/swt/custom/BusyIndicator.showWhile
(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V
   org/eclipse/ui/internal/WorkbenchPage.showView(Ljava/lang/String;Z)
Lorg/eclipse/ui/IViewPart;
   org/eclipse/ui/internal/WorkbenchPage.showView(Ljava/lang/String;)
Lorg/eclipse/ui/IViewPart;
   org/eclipse/ui/internal/ShowViewMenu.showOther()V
   org/eclipse/ui/internal/ShowViewMenu.access$0
(Lorg/eclipse/ui/internal/ShowViewMenu;)V
   org/eclipse/ui/internal/ShowViewMenu$1.run()V
   org/eclipse/jface/action/Action.runWithEvent(Lorg/eclipse/swt/widgets/Event;)
V
   org/eclipse/jface/action/ActionContributionItem.handleWidgetSelection
(Lorg/eclipse/swt/widgets/Event;)V
   org/eclipse/jface/action/ActionContributionItem.handleWidgetEvent
(Lorg/eclipse/swt/widgets/Event;)V
   org/eclipse/jface/action/ActionContributionItem.access$0
(Lorg/eclipse/jface/action/ActionContributionItem;Lorg/eclipse/swt/widgets/Event
;)V
   org/eclipse/jface/action/ActionContributionItem$ActionListener.handleEvent
(Lorg/eclipse/swt/widgets/Event;)V
   org/eclipse/swt/widgets/EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)
V
   org/eclipse/swt/widgets/Widget.notifyListeners
(ILorg/eclipse/swt/widgets/Event;)V
   org/eclipse/swt/widgets/Display.runDeferredEvents()Z
   org/eclipse/swt/widgets/Display.readAndDispatch()Z
   org/eclipse/ui/internal/Workbench.runEventLoop()V
   org/eclipse/ui/internal/Workbench.run(Ljava/lang/Object;)Ljava/lang/Object;
   org/eclipse/core/internal/boot/InternalBootLoader.run
(Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;)
Ljava/lang/Object;
   org/eclipse/core/boot/BootLoader.run
(Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;)
Ljava/lang/Object;
   SlimLauncher.main([Ljava/lang/String;)V
Comment 1 Darin Wright CLA 2001-10-22 16:32:25 EDT
When view is being created, the selection provider is null. Added null check.
Re-assigning for verification.
Comment 2 Darin Wright CLA 2001-10-22 16:32:35 EDT
please verify
Comment 3 Martin Aeschlimann CLA 2001-10-23 03:47:13 EDT
verified