Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Error opening schema via link in PDE
Error opening schema via link in PDE [message #493227] Fri, 23 October 2009 13:49 Go to next message
Eclipse UserFriend
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
Re: Error opening schema via link in PDE [message #493233 is a reply to message #493227] Fri, 23 October 2009 14:15 Go to previous messageGo to next message
Eclipse UserFriend
Ric Wright wrote:
> 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?

Never be scared to file a bug.

That's the way the PDE team receives feedback.

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDE

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Re: Error opening schema via link in PDE [message #502423 is a reply to message #493227] Tue, 08 December 2009 02:43 Go to previous message
Eclipse UserFriend
Thanks Ric for Pointing out the workaround, I have exactly the same Problem with Version: 3.5.1 Build id: M20090917-0800
Did you already create a Ticket?
Previous Topic:Activities and Views/Perspectives/Editors
Next Topic:Refactoring broken?
Goto Forum:
  


Current Time: Thu Jul 10 01:52:32 EDT 2025

Powered by FUDForum. Page generated in 1.15798 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top