Community
Participate
Working Groups
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
When view is being created, the selection provider is null. Added null check. Re-assigning for verification.
please verify
verified