Running GEF Shapes Example in Run-Time Workbench: java.lang.ExceptionInInitializerError [message #162824] |
Tue, 28 December 2004 07:39  |
Eclipse User |
|
|
|
Originally posted by: mmaercker.tripper-bullet.com
Dear group,
I am trying to run the GEF Shapes Editor in the run-time workbench so I can
step through the code. The example works fine as a plug-in in my base
Eclipse installation but there, of course, I can not set breakpoints, etc.
(or so I assume). Regrettably, the source for the example comes without a
..project or a plugin.xml file. So I did the following:
- Removed the plug-in from the base installation
- Created a new plug-in project
- Imported the source files
- copied plugin.xml and shapes.gif from the .jar version of the example to
the new project
When I run the run-time workbench with this new plug-in project activated in
the configuration, the following happens:
- The wizard works as expected (a ShapesCreationWizard instance is created,
the wizard is shown and so on)
- After I select the .shapes file type and enter a name, an instance of
ShapesEditor is created (so the class is definitely found).
- Then lots of things happen in the platform which I do not understand well
enough to summarize.
- In InternalPlatform::run(ISafeRunnable code) a LinkageError exception is
thrown.
- The LinkageError seems to lead to a PartInitException exception being
thrown in EditorManager::createPart(final EditorDescriptor desc).
Can anyone help me figure out what is goint on here?
Thanks in advance,
Martin Maercker
|
|
|
|
|
|
|
|
|
Re: Running GEF Shapes Example in Run-Time Workbench: java.lang.ExceptionInInitializerError [message #163013 is a reply to message #162911] |
Wed, 29 December 2004 11:26  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
In that case, pay close attention to the examples license agreement.
"Martin Maercker" <mmaercker@tripper-bullet.com> wrote in message
news:cqs1pv$n0b$1@www.eclipse.org...
> Hi Randy,
>
> beyond setting breakpoints, I was considering using the example as a
> boilerplate starting point for my own shape editor. I am new to Eclipse
and
> admit to not yet having figured out the finer (perhaps also the coarser)
> points of how plug-ins are integrated. But I was under the impression that
> to really work with the code it would have to be in a project in the base
> workspace installation (the one from which the run-time workbench is
> launched). Is this a misconception on my part?
>
>
> Best regards and thanks for your reply,
>
> Martin
>
>
> "Randy Hudson" <none@us.ibm.com> schrieb im Newsbeitrag
> news:cqrugi$ch0$1@www.eclipse.org...
> > You should be using the PDE to import plug-ins. You do not need to
import
> > as source to set breakpoints.
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07518 seconds