Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314918 - Error opening Target Platform State View from Help Page
Summary: Error opening Target Platform State View from Help Page
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Doc (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 RC4   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 13:28 EDT by Chris Goldthorpe CLA
Modified: 2010-06-01 14:39 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.