Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Problem starting wizard in generated editor plugin. Unable to instantiate
Problem starting wizard in generated editor plugin. Unable to instantiate [message #414524] Sat, 10 November 2007 15:38 Go to next message
Eclipse UserFriend
Originally posted by: svk.informatik.uni-kiel.de

Hello,

I have generated edit and editor code (and model code of course) for my
emf model. Then I started the editor plugin and created a new simple
project and then selected the generated model wizard, which gives the
following error message:

The selected wizard could not be started. (Time of error ...)
Reason:
Plug-in "edu.unikiel.rtsys.group1.mealymachine.model.editor" was unable to
instantiate class
" edu.unikiel.rtsys.group1.mealymachine_model.presentation.Mea lymachine_modelModelWizard ".

What could be the reason for this error? I think it is a dependency
problem but adding packages in the plugin.xml didn't help.

Thank you
Sven Koschnicke
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #414526 is a reply to message #414524] Sat, 10 November 2007 15:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Sven,

It sounds like a problem with dependencies in the MANIFEST.MFs. Perhaps
try deleting all the plugin.xml and MANIFEST.MFs and regenerating them
all. If you look in the Error log view, you can get a complete stack
trace for the problem. Something is could be caused by some failure
when initializing a class, so the full stack trace from the log will
help determine the underlying cause.


Sven Koschnicke wrote:
> Hello,
>
> I have generated edit and editor code (and model code of course) for
> my emf model. Then I started the editor plugin and created a new
> simple project and then selected the generated model wizard, which
> gives the following error message:
>
> The selected wizard could not be started. (Time of error ...)
> Reason:
> Plug-in "edu.unikiel.rtsys.group1.mealymachine.model.editor" was
> unable to instantiate class
> " edu.unikiel.rtsys.group1.mealymachine_model.presentation.Mea lymachine_modelModelWizard ".
>
>
> What could be the reason for this error? I think it is a dependency
> problem but adding packages in the plugin.xml didn't help.
>
> Thank you
> Sven Koschnicke
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #414527 is a reply to message #414526] Sat, 10 November 2007 16:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: svk.informatik.uni-kiel.de

Hello Ed,

thanks for your reply. Deleting the generated files and regenerating
didn't help. But creating a new workspace and emf project and importing
the ecore model helped. Now the wizard is running.
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #414531 is a reply to message #414524] Sun, 11 November 2007 21:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marco.pantel.unibw.de

Hi Sven,

I also faced this error every time I tried to generate the model code
into the "generator project". When defining another target project
everything went fine.

Regards, Marco


Sven Koschnicke schrieb:
> Hello,
>
> I have generated edit and editor code (and model code of course) for my
> emf model. Then I started the editor plugin and created a new simple
> project and then selected the generated model wizard, which gives the
> following error message:
>
> The selected wizard could not be started. (Time of error ...)
> Reason:
> Plug-in "edu.unikiel.rtsys.group1.mealymachine.model.editor" was unable
> to instantiate class
> " edu.unikiel.rtsys.group1.mealymachine_model.presentation.Mea lymachine_modelModelWizard ".
>
>
> What could be the reason for this error? I think it is a dependency
> problem but adding packages in the plugin.xml didn't help.
>
> Thank you
> Sven Koschnicke
>
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #414532 is a reply to message #414531] Sun, 11 November 2007 22:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Marco,

I'm not sure I understand. If there's a reproducible problem following
a particular set of steps you can open a bugzilla for us to look at it.


Marco Pantel wrote:
> Hi Sven,
>
> I also faced this error every time I tried to generate the model code
> into the "generator project". When defining another target project
> everything went fine.
>
> Regards, Marco
>
>
> Sven Koschnicke schrieb:
>
>> Hello,
>>
>> I have generated edit and editor code (and model code of course) for my
>> emf model. Then I started the editor plugin and created a new simple
>> project and then selected the generated model wizard, which gives the
>> following error message:
>>
>> The selected wizard could not be started. (Time of error ...)
>> Reason:
>> Plug-in "edu.unikiel.rtsys.group1.mealymachine.model.editor" was unable
>> to instantiate class
>> " edu.unikiel.rtsys.group1.mealymachine_model.presentation.Mea lymachine_modelModelWizard ".
>>
>>
>> What could be the reason for this error? I think it is a dependency
>> problem but adding packages in the plugin.xml didn't help.
>>
>> Thank you
>> Sven Koschnicke
>>
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #414533 is a reply to message #414532] Mon, 12 November 2007 00:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marco.pantel.unibw.de

Well, I don't know whether the problem is related to my configuration or
to the framework.
But everytime I generated the model code into the same project where the
..genmodel lies, instanciating the model wizard failed. Though it didn't
matter to me where the model code to be generated, I just specified
another project as model project and that worked fine.

Regards, Marco


Ed Merks schrieb:
> Marco,
>
> I'm not sure I understand. If there's a reproducible problem following
> a particular set of steps you can open a bugzilla for us to look at it.
>
>
> Marco Pantel wrote:
>> Hi Sven,
>>
>> I also faced this error every time I tried to generate the model code
>> into the "generator project". When defining another target project
>> everything went fine.
>>
>> Regards, Marco
>>
>>
>> Sven Koschnicke schrieb:
>>
>>> Hello,
>>>
>>> I have generated edit and editor code (and model code of course) for my
>>> emf model. Then I started the editor plugin and created a new simple
>>> project and then selected the generated model wizard, which gives the
>>> following error message:
>>>
>>> The selected wizard could not be started. (Time of error ...)
>>> Reason:
>>> Plug-in "edu.unikiel.rtsys.group1.mealymachine.model.editor" was unable
>>> to instantiate class
>>> " edu.unikiel.rtsys.group1.mealymachine_model.presentation.Mea lymachine_modelModelWizard ".
>>>
>>>
>>>
>>> What could be the reason for this error? I think it is a dependency
>>> problem but adding packages in the plugin.xml didn't help.
>>>
>>> Thank you
>>> Sven Koschnicke
>>>
>>>
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #414536 is a reply to message #414533] Mon, 12 November 2007 02:13 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Marco,

The standard tutorial scenario involves generating the model into the
same project in which the .genmodel is created and yet I've never seen
this problem. Are you saying if you follow one of our tutorials that in
the end the generated wizard fails to work?


Marco Pantel wrote:
> Well, I don't know whether the problem is related to my configuration or
> to the framework.
> But everytime I generated the model code into the same project where the
> ..genmodel lies, instanciating the model wizard failed. Though it didn't
> matter to me where the model code to be generated, I just specified
> another project as model project and that worked fine.
>
> Regards, Marco
>
>
> Ed Merks schrieb:
>
>> Marco,
>>
>> I'm not sure I understand. If there's a reproducible problem following
>> a particular set of steps you can open a bugzilla for us to look at it.
>>
>>
>> Marco Pantel wrote:
>>
>>> Hi Sven,
>>>
>>> I also faced this error every time I tried to generate the model code
>>> into the "generator project". When defining another target project
>>> everything went fine.
>>>
>>> Regards, Marco
>>>
>>>
>>> Sven Koschnicke schrieb:
>>>
>>>
>>>> Hello,
>>>>
>>>> I have generated edit and editor code (and model code of course) for my
>>>> emf model. Then I started the editor plugin and created a new simple
>>>> project and then selected the generated model wizard, which gives the
>>>> following error message:
>>>>
>>>> The selected wizard could not be started. (Time of error ...)
>>>> Reason:
>>>> Plug-in "edu.unikiel.rtsys.group1.mealymachine.model.editor" was unable
>>>> to instantiate class
>>>> " edu.unikiel.rtsys.group1.mealymachine_model.presentation.Mea lymachine_modelModelWizard ".
>>>>
>>>>
>>>>
>>>> What could be the reason for this error? I think it is a dependency
>>>> problem but adding packages in the plugin.xml didn't help.
>>>>
>>>> Thank you
>>>> Sven Koschnicke
>>>>
>>>>
>>>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #414557 is a reply to message #414536] Tue, 13 November 2007 00:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marco.pantel.unibw.de

I haven't tried until now, but surely I will.
I will report if it fails!

Regards, Marco


Ed Merks schrieb:
> Marco,
>
> The standard tutorial scenario involves generating the model into the
> same project in which the .genmodel is created and yet I've never seen
> this problem. Are you saying if you follow one of our tutorials that in
> the end the generated wizard fails to work?
>
>
> Marco Pantel wrote:
>> Well, I don't know whether the problem is related to my configuration or
>> to the framework.
>> But everytime I generated the model code into the same project where the
>> ..genmodel lies, instanciating the model wizard failed. Though it didn't
>> matter to me where the model code to be generated, I just specified
>> another project as model project and that worked fine.
>>
>> Regards, Marco
>>
>>
>> Ed Merks schrieb:
>>
>>> Marco,
>>>
>>> I'm not sure I understand. If there's a reproducible problem following
>>> a particular set of steps you can open a bugzilla for us to look at it.
>>>
>>>
>>> Marco Pantel wrote:
>>>
>>>> Hi Sven,
>>>>
>>>> I also faced this error every time I tried to generate the model code
>>>> into the "generator project". When defining another target project
>>>> everything went fine.
>>>>
>>>> Regards, Marco
>>>>
>>>>
>>>> Sven Koschnicke schrieb:
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> I have generated edit and editor code (and model code of course)
>>>>> for my
>>>>> emf model. Then I started the editor plugin and created a new simple
>>>>> project and then selected the generated model wizard, which gives the
>>>>> following error message:
>>>>>
>>>>> The selected wizard could not be started. (Time of error ...)
>>>>> Reason:
>>>>> Plug-in "edu.unikiel.rtsys.group1.mealymachine.model.editor" was
>>>>> unable
>>>>> to instantiate class
>>>>> " edu.unikiel.rtsys.group1.mealymachine_model.presentation.Mea lymachine_modelModelWizard ".
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> What could be the reason for this error? I think it is a dependency
>>>>> problem but adding packages in the plugin.xml didn't help.
>>>>>
>>>>> Thank you
>>>>> Sven Koschnicke
>>>>>
>>>>>
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #1852984 is a reply to message #414557] Tue, 14 June 2022 06:28 Go to previous messageGo to next message
AMir Taghizadegan is currently offline AMir TaghizadeganFriend
Messages: 32
Registered: May 2022
Member
I have the same problem. Could you please explain how you solved it?
Re: Problem starting wizard in generated editor plugin. Unable to instantiate [message #1852987 is a reply to message #1852984] Tue, 14 June 2022 07:56 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
You probably won't dredge up a different answer from someone who posted their response 15 years ago.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EmfModel creation from a Resource object?
Next Topic:BPMN model with multiple diagrams
Goto Forum:
  


Current Time: Fri Apr 26 11:23:02 GMT 2024

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

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

Back to the top