Summary: | [JFace] Failure to load the icons - Error message not proper | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Venkat Amirthalingam <vamirthalingam> |
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 | CC: | debbie_wilson |
Version: | 2.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Venkat Amirthalingam
2003-06-13 04:09:18 EDT
This is not an Eclipse problem. We have no control over how the virtual machine decides to build its exceptions. This failure is coming from the vm. Even if this exception comes from vm, there should be a way to catch/determine what went wrong and where. My suggestion would be, before creating the input stream for the icon path, the icon path could be checked for its existence using File Object and isExists() method or any other methods. By this way, the api call to org.eclipse.jface.resource.URLImageDescriptor.getStream will always succeed. The solution is pretty simple. Am i right or am i missing something else? Any clarifications, let me know. Reassigning bugs in component areas that are changing ownership. This message is part of a mass update on bugs that have been reviewed for several releases, but not fixed. The bug is legitimate, but not a priority. Marking P5. Patches would be entertained. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |