Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314918

Summary: Error opening Target Platform State View from Help Page
Product: [Eclipse Project] PDE Reporter: Chris Goldthorpe <cgold>
Component: DocAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, darin.eclipse
Version: 3.6   
Target Milestone: 3.6 RC4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Chris Goldthorpe CLA 2010-05-28 13:28:13 EDT
eclipse.buildId=I20100527-1700
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223ifx-20080811 (JIT enabled)

Help/Help Contents
Search for  "Target Platform State" (without the quotes) and open it.
Click on the link which opens the Target Platform State View

Expected result: the view opens
Actual Result: an error shows in the log

There was an error executing the command: org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.pde.ui.TargetPlatformStateView)

org.eclipse.core.commands.ExecutionException: Part could not be initialized
	at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:79)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.help.ui.internal.ExecuteCommandAction.executeSerializedCommand(ExecuteCommandAction.java:115)

Other commands to open views from help work, for example on the page "Embedding  commands  in help". I think the problem is with the id used in the command, it should be 

org.eclipse.ui.views.showView.viewId=org.eclipse.pde.ui.TargetPlatformState

instead of 

org.eclipse.ui.views.showView.viewId=org.eclipse.pde.ui.TargetPlatformStateView
Comment 1 Curtis Windatt CLA 2010-06-01 14:39:59 EDT
Fixed in HEAD.