Error opening schema via link in PDE [message #493227] |
Fri, 23 October 2009 13:49  |
Eclipse User |
|
|
|
I am seeing an odd behaviour in Galileo. If I specify an extension point
using the PDE it correctly generates the schema (XSD) and all is well.
After you finish the initial specification it offers to open the schema
editor for you. And it does so. All is well. However, if you close
Eclipse and re-open the project and navigate to the extension point page,
then select that schema in the the left hand pane and click on the ""Open
extension point schema..." link on the right, you get an error "Could not
open editor: An unexpected exception was thrown." The details button reveals
that it is a Null Pointer exception thrown in
org.eclipe.pde.internal.core.schema.SchemeDescriptor<init> at line 46 in
SchemaDescriptor.java. I don't have the real sources for the PDE, but it
looks like either the location or type passed to the SchemaDescriptor
constructor it null. The really odd part is if you navigate to the schema
in the resource navigator and use "Open With...", where the default is the
schema editor, the schema opens without error.
So it looks like a bug in the PDE. Is this known? Should I go ahead and
file a bug?
Cheers, Ric
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.15798 seconds