Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:49 Go to next message
Ric Wright is currently offline Ric WrightFriend
Messages: 70
Registered: July 2009
Member
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 18:15 Go to previous messageGo to next message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
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 07:43 Go to previous message
Martin D is currently offline Martin DFriend
Messages: 7
Registered: December 2009
Junior Member
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: Tue Mar 19 08:48:18 GMT 2024

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

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

Back to the top