migrating presentation factory extension from 3.1 to 3.2. [message #463433] |
Mon, 12 February 2007 06:33  |
Eclipse User |
|
|
|
I am migrating an RCP app that was developed against version 3.1.2 of
the platform to 3.2.1. Running the application from the IDE as a
product works fine. If I change the launch configuration to run the app
as a product, I get a NPE at app start-up. I get the same exception when
I run the application from the command line specifying either the
-product, -application, or both options. Buried in the stack trace I
find this,
!MESSAGE Error creating presentation factory:
com.chessys.eclipse.presentation.PresentationFactory -- class is not an
AbstractPresentationFactory
PresentationFactory is my factory class used in my
org.eclipse.ui.presentationFactories extension point, and it does in
fact extend AbstractPresentationFactory. PresentationFactory uses
several classes from the org.eclipse.ui.internal.presentations.package,
which I notice is marked as x-internal in the bundle manifest for the
org.eclipse.ui plug-in. Everything I have read about the x-internal
header only says that access is discouraged; so, I am not inclined to
think that this is the issue.
I don't have any problems running my app against version 3.1.2 of the
platform or against 3.2.1 from the IDE when my app is run as a product.
I am at a loss about this exception. Any suggestions are greatly
appreciated.
- John
|
|
|
Re: migrating presentation factory extension from 3.1 to 3.2. [message #463889 is a reply to message #463433] |
Mon, 19 February 2007 11:36  |
Eclipse User |
|
|
|
Can you please file a bug for this? Thanks.
"John Sanda" <john.sanda@gmail.com> wrote in message
news:eqpj9v$7bg$1@utils.eclipse.org...
>I am migrating an RCP app that was developed against version 3.1.2 of the
>platform to 3.2.1. Running the application from the IDE as a product works
>fine. If I change the launch configuration to run the app as a product, I
>get a NPE at app start-up. I get the same exception when I run the
>application from the command line specifying either
>the -product, -application, or both options. Buried in the stack trace I
>find this,
>
> !MESSAGE Error creating presentation factory:
> com.chessys.eclipse.presentation.PresentationFactory -- class is not an
> AbstractPresentationFactory
>
> PresentationFactory is my factory class used in my
> org.eclipse.ui.presentationFactories extension point, and it does in fact
> extend AbstractPresentationFactory. PresentationFactory uses several
> classes from the org.eclipse.ui.internal.presentations.package, which I
> notice is marked as x-internal in the bundle manifest for the
> org.eclipse.ui plug-in. Everything I have read about the x-internal header
> only says that access is discouraged; so, I am not inclined to think that
> this is the issue.
>
> I don't have any problems running my app against version 3.1.2 of the
> platform or against 3.2.1 from the IDE when my app is run as a product. I
> am at a loss about this exception. Any suggestions are greatly
> appreciated.
>
> - John
|
|
|
Powered by
FUDForum. Page generated in 0.03029 seconds