Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE - creation of element failed
VE - creation of element failed [message #39612] Mon, 31 May 2004 13:23 Go to next message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

Hello,

As required, I have installed :

Eclipse-M8
GEF-runtime-I20040330.
emf-runtime-I200403250631.
VE-runtime-1.0M1

Trying to build my first class using VE I got the following message:

"Creation of element failed"

with this error log,

java.lang.reflect.InvocationTargetException
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:313)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
at
org.eclipse.jdt.internal.ui.wizards.NewElementWizard.perform Finish(NewElementWizard.java:107)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:606)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:319)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.jav a:413)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2578)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2256)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
at org.eclipse.jface.window.Window.open(Window.java:650)
at
org.eclipse.jdt.internal.ui.wizards.AbstractOpenWizardAction .run(AbstractOpenWizardAction.java:158)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2578)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2256)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1562)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
Caused by: java.lang.NullPointerException
at
org.eclipse.core.internal.runtime.InternalPlatform.asLocalUR L(InternalPlatform.java:184)
at org.eclipse.core.runtime.Platform.asLocalURL(Platform.java:2 52)
at
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.getGeneratorInstance(NewVisualClassCreationWiz ard.java:112)
at
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.applyContributor(NewVisualClassCreationWizard. java:293)
at
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.finishPage(NewVisualClassCreationWizard.java:3 41)
at
org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(N ewElementWizard.java:100)
at
org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:34)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:700)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3196)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3153)
at
org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter .run(WorkbenchRunnableAdapter.java:50)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
... 37 more

Could someone help me?

Thanks.

Sophie
Re: Any idea? [message #39982 is a reply to message #39612] Fri, 04 June 2004 09:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

I need to build an interface this week-end. Could someone help me?

Thanks.

PS: I have also installed jre as required.

Sylvie wrote:

> Hello,

> As required, I have installed :

> Eclipse-M8
> GEF-runtime-I20040330.
> emf-runtime-I200403250631.
> VE-runtime-1.0M1

> Trying to build my first class using VE I got the following message:

> "Creation of element failed"

> with this error log,

> java.lang.reflect.InvocationTargetException
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:313)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
> at
>
org.eclipse.jdt.internal.ui.wizards.NewElementWizard.perform Finish(NewElementWizard.java:107)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:606)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:319)
> at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.jav a:413)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2578)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2256)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
> at org.eclipse.jface.window.Window.open(Window.java:650)
> at
>
org.eclipse.jdt.internal.ui.wizards.AbstractOpenWizardAction .run(AbstractOpenWizardAction.java:158)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2578)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2256)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1562)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
> at org.eclipse.core.launcher.Main.run(Main.java:692)
> at org.eclipse.core.launcher.Main.main(Main.java:676)
> Caused by: java.lang.NullPointerException
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.asLocalUR L(InternalPlatform.java:184)
> at org.eclipse.core.runtime.Platform.asLocalURL(Platform.java:2 52)
> at
>
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.getGeneratorInstance(NewVisualClassCreationWiz ard.java:112)
> at
>
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.applyContributor(NewVisualClassCreationWizard. java:293)
> at
>
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.finishPage(NewVisualClassCreationWizard.java:3 41)
> at
>
org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(N ewElementWizard.java:100)
> at
>
org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:34)
> at
>
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:700)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3196)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3153)
> at
>
org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter .run(WorkbenchRunnableAdapter.java:50)
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
> ... 37 more

> Could someone help me?

> Thanks.

> Sophie
Re: Any idea? [message #40044 is a reply to message #39982] Fri, 04 June 2004 10:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

I don't know why. We are not getting it in our M1 installations and it
shouldn't be failing here.

However, you don't need to use the new visual wizard. You can use the
standard new class wizard and create your class, and then do Open
with->Visual Editor.


--
Thanks, Rich Kulp

Re: Any idea? [message #40217 is a reply to message #40044] Sat, 05 June 2004 04:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

Why do you think it is looking for? A library? Should I import some?

For the moment I'm going to do the way you suggest.

If someone has an explanation do not hesitate, it's rather frustrating!

Thanks.

Sylvie

Rich Kulp wrote:

> I don't know why. We are not getting it in our M1 installations and it
> shouldn't be failing here.

> However, you don't need to use the new visual wizard. You can use the
> standard new class wizard and create your class, and then do Open
> with->Visual Editor.
Re: Any idea? [message #40218 is a reply to message #40217] Sat, 05 June 2004 11:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

Sylvie wrote:

> Why do you think it is looking for? A library? Should I import some?

> For the moment I'm going to do the way you suggest.

> If someone has an explanation do not hesitate, it's rather frustrating!

> Thanks.

> Sylvie

> Rich Kulp wrote:

> > I don't know why. We are not getting it in our M1 installations and it
> > shouldn't be failing here.

> > However, you don't need to use the new visual wizard. You can use the
> > standard new class wizard and create your class, and then do Open
> > with->Visual Editor.
Re: Any idea? [message #40224 is a reply to message #40217] Sat, 05 June 2004 11:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

I have installed eclipse on a an english os and now it works fine.

What can I do to run it on my french os.

Thanks.

Sylvie

Sylvie wrote:

> Why do you think it is looking for? A library? Should I import some?

> For the moment I'm going to do the way you suggest.

> If someone has an explanation do not hesitate, it's rather frustrating!

> Thanks.

> Sylvie

> Rich Kulp wrote:

> > I don't know why. We are not getting it in our M1 installations and it
> > shouldn't be failing here.

> > However, you don't need to use the new visual wizard. You can use the
> > standard new class wizard and create your class, and then do Open
> > with->Visual Editor.
Re: Any idea? [message #40230 is a reply to message #40224] Sun, 06 June 2004 14:15 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

That's an interesting question. So far we haven't done NLS testing. That
is waiting to be done for the 1.0.0 environment.

But looking at the piece of code that failed, I don't see why the locale
should matter. that area of code doesn't have anything to do with locales.
--
Thanks, Rich Kulp

Re: Any idea? [message #591239 is a reply to message #39612] Fri, 04 June 2004 09:01 Go to previous message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

I need to build an interface this week-end. Could someone help me?

Thanks.

PS: I have also installed jre as required.

Sylvie wrote:

> Hello,

> As required, I have installed :

> Eclipse-M8
> GEF-runtime-I20040330.
> emf-runtime-I200403250631.
> VE-runtime-1.0M1

> Trying to build my first class using VE I got the following message:

> "Creation of element failed"

> with this error log,

> java.lang.reflect.InvocationTargetException
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:313)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
> at
>
org.eclipse.jdt.internal.ui.wizards.NewElementWizard.perform Finish(NewElementWizard.java:107)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:606)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:319)
> at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.jav a:413)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2578)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2256)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
> at org.eclipse.jface.window.Window.open(Window.java:650)
> at
>
org.eclipse.jdt.internal.ui.wizards.AbstractOpenWizardAction .run(AbstractOpenWizardAction.java:158)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2578)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2256)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1562)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
> at org.eclipse.core.launcher.Main.run(Main.java:692)
> at org.eclipse.core.launcher.Main.main(Main.java:676)
> Caused by: java.lang.NullPointerException
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.asLocalUR L(InternalPlatform.java:184)
> at org.eclipse.core.runtime.Platform.asLocalURL(Platform.java:2 52)
> at
>
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.getGeneratorInstance(NewVisualClassCreationWiz ard.java:112)
> at
>
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.applyContributor(NewVisualClassCreationWizard. java:293)
> at
>
org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.finishPage(NewVisualClassCreationWizard.java:3 41)
> at
>
org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(N ewElementWizard.java:100)
> at
>
org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:34)
> at
>
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:700)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3196)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3153)
> at
>
org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter .run(WorkbenchRunnableAdapter.java:50)
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
> ... 37 more

> Could someone help me?

> Thanks.

> Sophie
Re: Any idea? [message #591261 is a reply to message #39982] Fri, 04 June 2004 10:11 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

I don't know why. We are not getting it in our M1 installations and it
shouldn't be failing here.

However, you don't need to use the new visual wizard. You can use the
standard new class wizard and create your class, and then do Open
with->Visual Editor.


--
Thanks, Rich Kulp

Re: Any idea? [message #591315 is a reply to message #40044] Sat, 05 June 2004 04:13 Go to previous message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

Why do you think it is looking for? A library? Should I import some?

For the moment I'm going to do the way you suggest.

If someone has an explanation do not hesitate, it's rather frustrating!

Thanks.

Sylvie

Rich Kulp wrote:

> I don't know why. We are not getting it in our M1 installations and it
> shouldn't be failing here.

> However, you don't need to use the new visual wizard. You can use the
> standard new class wizard and create your class, and then do Open
> with->Visual Editor.
Re: Any idea? [message #591321 is a reply to message #40217] Sat, 05 June 2004 11:12 Go to previous message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

Sylvie wrote:

> Why do you think it is looking for? A library? Should I import some?

> For the moment I'm going to do the way you suggest.

> If someone has an explanation do not hesitate, it's rather frustrating!

> Thanks.

> Sylvie

> Rich Kulp wrote:

> > I don't know why. We are not getting it in our M1 installations and it
> > shouldn't be failing here.

> > However, you don't need to use the new visual wizard. You can use the
> > standard new class wizard and create your class, and then do Open
> > with->Visual Editor.
Re: Any idea? [message #591330 is a reply to message #40217] Sat, 05 June 2004 11:15 Go to previous message
Eclipse UserFriend
Originally posted by: sophiean.club-internet.fr

I have installed eclipse on a an english os and now it works fine.

What can I do to run it on my french os.

Thanks.

Sylvie

Sylvie wrote:

> Why do you think it is looking for? A library? Should I import some?

> For the moment I'm going to do the way you suggest.

> If someone has an explanation do not hesitate, it's rather frustrating!

> Thanks.

> Sylvie

> Rich Kulp wrote:

> > I don't know why. We are not getting it in our M1 installations and it
> > shouldn't be failing here.

> > However, you don't need to use the new visual wizard. You can use the
> > standard new class wizard and create your class, and then do Open
> > with->Visual Editor.
Re: Any idea? [message #591339 is a reply to message #40224] Sun, 06 June 2004 14:15 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

That's an interesting question. So far we haven't done NLS testing. That
is waiting to be done for the 1.0.0 environment.

But looking at the piece of code that failed, I don't see why the locale
should matter. that area of code doesn't have anything to do with locales.
--
Thanks, Rich Kulp

Previous Topic:Cannot create swing application with Visual Editor 1.0
Next Topic:JLabel / border
Goto Forum:
  


Current Time: Wed Apr 30 18:43:51 EDT 2025

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

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

Back to the top