| Summary: | Opening virgin HTML file in web page editor and then clicking File -> Properties with file highlighted in navigator consistently triggers exception. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Ladar Levison <ladar> | ||||||
| Component: | UI | Assignee: | Ian Trimble <ian.trimble> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | raghunathan.srinivasan, thatnitind | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 3.3 M7 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ladar Levison
Created attachment 188422 [details]
Video showing steps to trigger bug.
Short video clip showing bug trigger steps. Stored inside rar file to keep it under 2 megabyte limit.
Created attachment 188424 [details]
Error log generated during the video capture.
Error log generated during the video capture.
I just get a "No property pages for Error" popup without CDT installed. Since the exception is thrown from org.eclipse.cdt.ui.newui.AbstractPage#getElement(), maybe it belongs there? Sounds like when the web editor isn't activated the request is routed to the CDT classes. I'm typically working in C although this particular file was in a generic project. Since I have the WTP plugins installed shouldn't the request be routed there, or failing that, the common properties to all files displayed by CDT? For review. Fix submitted at 2011/03/30 12:47PM PDT. Note that when you select an object in the UI (such as an entry in the error log view) and request properties, you will get properties for that object, and not something else in a different view (such as a file in an editor). This is not specific to JSF Tools or WTP, try the same with a Java file in the JDT editor. Also, there may well still be an issue with CDT not correctly handling the case when there are no known property pages for a specific object - typically, you simply get a message box that informs you as much, and not a stacktrace. I'm afraid I don't have the time to debug CDT. The issue as logged is resolved. |