Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Problem with creating Visual Classes
Problem with creating Visual Classes [message #125202] Sun, 21 May 2006 12:35 Go to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

When I try to create a new visual class I get the following message:

Creation of Element failed.
org.eclipse.jdt.internal.compiler.Compiler.<init>(---lots of file/path
info here.>

I used Calisto to update and get the current versions of everything. It
does generate some of the code.
Re: Problem with creating Visual Classes [message #125224 is a reply to message #125202] Mon, 22 May 2006 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Can you please list the exact versions of Eclipse, EMF, GEF, and VE that
were downloaded? Also we would need to see the .log file.

user@domain.invalid wrote:
> When I try to create a new visual class I get the following message:
>
> Creation of Element failed.
> org.eclipse.jdt.internal.compiler.Compiler.<init>(---lots of file/path
> info here.>
>
> I used Calisto to update and get the current versions of everything. It
> does generate some of the code.

--
Thanks,
Rich Kulp
Re: Problem with creating Visual Classes [message #125261 is a reply to message #125224] Wed, 24 May 2006 17:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gmwalk.gmail.com

Eclipse is 3.20
EMF is 2.1.1
GEF is 3.2.0
VE is 1.1.0.1


Here is the .log file:

> !ENTRY org.eclipse.jdt.ui 4 10001 2006-05-24 17:31:06.293
> !MESSAGE Internal Error
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:350)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 851)
> at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.perform Finish(NewElementWizard.java:133)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.performFinish(NewVisualClassCreationWizard.jav a:451)
> at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
> at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
> at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> 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.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.Compiler.<init> (Lorg/eclipse/jdt/internal/compiler/env/INameEnvironment;Lor g/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Ljava/u til/Map;Lorg/eclipse/jdt/internal/compiler/ICompilerRequesto r;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. getClass(JavaObjectEmiter.java:433)
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. generateObject(JavaObjectEmiter.java:464)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectEmi tter.getObject(TemplateObjectEmitter.java:223)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectFac tory.getClassInstance(TemplateObjectFactory.java:114)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.getGeneratorInstance(NewVisualClassCreationWiz ard.java:105)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.applyContributor(NewVisualClassCreationWizard. java:299)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.finishPage(NewVisualClassCreationWizard.java:3 48)
> at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(N ewElementWizard.java:117)
> at org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:39)
> at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:720)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4013)
> at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter .run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
> Root exception:
> java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.Compiler.<init> (Lorg/eclipse/jdt/internal/compiler/env/INameEnvironment;Lor g/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Ljava/u til/Map;Lorg/eclipse/jdt/internal/compiler/ICompilerRequesto r;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. getClass(JavaObjectEmiter.java:433)
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. generateObject(JavaObjectEmiter.java:464)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectEmi tter.getObject(TemplateObjectEmitter.java:223)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectFac tory.getClassInstance(TemplateObjectFactory.java:114)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.getGeneratorInstance(NewVisualClassCreationWiz ard.java:105)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.applyContributor(NewVisualClassCreationWizard. java:299)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.finishPage(NewVisualClassCreationWizard.java:3 48)
> at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(N ewElementWizard.java:117)
> at org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:39)
> at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:720)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4013)
> at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter .run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)

Rich Kulp wrote:
> Can you please list the exact versions of Eclipse, EMF, GEF, and VE that
> were downloaded? Also we would need to see the .log file.
>
> user@domain.invalid wrote:
>> When I try to create a new visual class I get the following message:
>>
>> Creation of Element failed.
>> org.eclipse.jdt.internal.compiler.Compiler.<init>(---lots of file/path
>> info here.>
>>
>> I used Calisto to update and get the current versions of everything.
>> It does generate some of the code.
>
Re: Problem with creating Visual Classes [message #125270 is a reply to message #125261] Wed, 24 May 2006 19:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Those are not compatible with each other. VE 1.1.0.1 will not work with
GEF 3.2 and Eclipse 3.2. I don't see how Callisto gave them to you
because they are totally wrong.

I recommend using Callisto's RC3 update site to get the VE and required
features.

Use a clean Eclipse 3.2 RC4 configuration and then use this for you site
in the update manager:

http://download.eclipse.org/callisto/releases/


George Walk wrote:
> Eclipse is 3.20
> EMF is 2.1.1
> GEF is 3.2.0
> VE is 1.1.0.1
>

>>>
>>> I used Calisto to update and get the current versions of everything.
>>> It does generate some of the code.
>>
>>

--
Thanks,
Rich Kulp
Re: Problem with creating Visual Classes [message #125307 is a reply to message #125270] Thu, 25 May 2006 11:55 Go to previous message
Eclipse UserFriend
Originally posted by: gmwalk.gmail.com

Thanks for the help. That fixed it.

George

Rich Kulp wrote:
> Those are not compatible with each other. VE 1.1.0.1 will not work with
> GEF 3.2 and Eclipse 3.2. I don't see how Callisto gave them to you
> because they are totally wrong.
>
> I recommend using Callisto's RC3 update site to get the VE and required
> features.
>
> Use a clean Eclipse 3.2 RC4 configuration and then use this for you site
> in the update manager:
>
> http://download.eclipse.org/callisto/releases/
>
>
> George Walk wrote:
>> Eclipse is 3.20
>> EMF is 2.1.1
>> GEF is 3.2.0
>> VE is 1.1.0.1
>>
>
>>>>
>>>> I used Calisto to update and get the current versions of everything.
>>>> It does generate some of the code.
>>>
>>>
>
Re: Problem with creating Visual Classes [message #612950 is a reply to message #125202] Mon, 22 May 2006 10:40 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Can you please list the exact versions of Eclipse, EMF, GEF, and VE that
were downloaded? Also we would need to see the .log file.

user@domain.invalid wrote:
> When I try to create a new visual class I get the following message:
>
> Creation of Element failed.
> org.eclipse.jdt.internal.compiler.Compiler.<init>(---lots of file/path
> info here.>
>
> I used Calisto to update and get the current versions of everything. It
> does generate some of the code.

--
Thanks,
Rich Kulp
Re: Problem with creating Visual Classes [message #612959 is a reply to message #125224] Wed, 24 May 2006 17:36 Go to previous message
Eclipse UserFriend
Originally posted by: gmwalk.gmail.com

Eclipse is 3.20
EMF is 2.1.1
GEF is 3.2.0
VE is 1.1.0.1


Here is the .log file:

> !ENTRY org.eclipse.jdt.ui 4 10001 2006-05-24 17:31:06.293
> !MESSAGE Internal Error
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:350)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 851)
> at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.perform Finish(NewElementWizard.java:133)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.performFinish(NewVisualClassCreationWizard.jav a:451)
> at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
> at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
> at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> 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.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.Compiler.<init> (Lorg/eclipse/jdt/internal/compiler/env/INameEnvironment;Lor g/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Ljava/u til/Map;Lorg/eclipse/jdt/internal/compiler/ICompilerRequesto r;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. getClass(JavaObjectEmiter.java:433)
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. generateObject(JavaObjectEmiter.java:464)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectEmi tter.getObject(TemplateObjectEmitter.java:223)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectFac tory.getClassInstance(TemplateObjectFactory.java:114)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.getGeneratorInstance(NewVisualClassCreationWiz ard.java:105)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.applyContributor(NewVisualClassCreationWizard. java:299)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.finishPage(NewVisualClassCreationWizard.java:3 48)
> at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(N ewElementWizard.java:117)
> at org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:39)
> at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:720)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4013)
> at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter .run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
> Root exception:
> java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.Compiler.<init> (Lorg/eclipse/jdt/internal/compiler/env/INameEnvironment;Lor g/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Ljava/u til/Map;Lorg/eclipse/jdt/internal/compiler/ICompilerRequesto r;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. getClass(JavaObjectEmiter.java:433)
> at org.eclipse.ve.internal.java.vce.templates.JavaObjectEmiter. generateObject(JavaObjectEmiter.java:464)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectEmi tter.getObject(TemplateObjectEmitter.java:223)
> at org.eclipse.ve.internal.java.vce.templates.TemplateObjectFac tory.getClassInstance(TemplateObjectFactory.java:114)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.getGeneratorInstance(NewVisualClassCreationWiz ard.java:105)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.applyContributor(NewVisualClassCreationWizard. java:299)
> at org.eclipse.ve.internal.java.codegen.wizards.NewVisualClassC reationWizard.finishPage(NewVisualClassCreationWizard.java:3 48)
> at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(N ewElementWizard.java:117)
> at org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:39)
> at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:720)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4013)
> at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter .run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)

Rich Kulp wrote:
> Can you please list the exact versions of Eclipse, EMF, GEF, and VE that
> were downloaded? Also we would need to see the .log file.
>
> user@domain.invalid wrote:
>> When I try to create a new visual class I get the following message:
>>
>> Creation of Element failed.
>> org.eclipse.jdt.internal.compiler.Compiler.<init>(---lots of file/path
>> info here.>
>>
>> I used Calisto to update and get the current versions of everything.
>> It does generate some of the code.
>
Re: Problem with creating Visual Classes [message #612961 is a reply to message #125261] Wed, 24 May 2006 19:11 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Those are not compatible with each other. VE 1.1.0.1 will not work with
GEF 3.2 and Eclipse 3.2. I don't see how Callisto gave them to you
because they are totally wrong.

I recommend using Callisto's RC3 update site to get the VE and required
features.

Use a clean Eclipse 3.2 RC4 configuration and then use this for you site
in the update manager:

http://download.eclipse.org/callisto/releases/


George Walk wrote:
> Eclipse is 3.20
> EMF is 2.1.1
> GEF is 3.2.0
> VE is 1.1.0.1
>

>>>
>>> I used Calisto to update and get the current versions of everything.
>>> It does generate some of the code.
>>
>>

--
Thanks,
Rich Kulp
Re: Problem with creating Visual Classes [message #612966 is a reply to message #125270] Thu, 25 May 2006 11:55 Go to previous message
Eclipse UserFriend
Originally posted by: gmwalk.gmail.com

Thanks for the help. That fixed it.

George

Rich Kulp wrote:
> Those are not compatible with each other. VE 1.1.0.1 will not work with
> GEF 3.2 and Eclipse 3.2. I don't see how Callisto gave them to you
> because they are totally wrong.
>
> I recommend using Callisto's RC3 update site to get the VE and required
> features.
>
> Use a clean Eclipse 3.2 RC4 configuration and then use this for you site
> in the update manager:
>
> http://download.eclipse.org/callisto/releases/
>
>
> George Walk wrote:
>> Eclipse is 3.20
>> EMF is 2.1.1
>> GEF is 3.2.0
>> VE is 1.1.0.1
>>
>
>>>>
>>>> I used Calisto to update and get the current versions of everything.
>>>> It does generate some of the code.
>>>
>>>
>
Previous Topic:Not able to add swt library to the project
Next Topic:Adding custom code to visual classes
Goto Forum:
  


Current Time: Mon Jun 16 09:12:51 EDT 2025

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

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

Back to the top