Skip to main content



      Home
Home » Newcomers » Newcomers » this is for Steve Blass
this is for Steve Blass [message #260043] Fri, 04 July 2008 08:02 Go to next message
Eclipse UserFriend
Originally posted by: p.agarwal.lancaster.ac.uk

hi Steve,

I got the plugin-working, which you had provided me with. But when I call
the function writetomyconsole within a code or from a GUI. It says
unhandled event loop exception. Please let me know what is going on wrong.
Urgent help needed.

Regards
Piyush
Re: this is for Steve Blass [message #260059 is a reply to message #260043] Fri, 04 July 2008 08:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p.agarwal.lancaster.ac.uk

hi steve,

I had also put a try and catch statement over writetomyconsole call and i
got the eception indicating java.lang.ClassNotFoundException:
exampleconsole.handlers.SampleConsoleHandler
exampleconsole/handlers/SampleConsoleHandler. This might help you to
understand the problem. I am also pasting the error log file.

java.lang.NoClassDefFoundError:
exampleconsole/handlers/SampleConsoleHandler
at inoTek.InoFlex.InoFace.actions.CompileAction.run(CompileActi on.java:141)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:251)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.ClassNotFoundException:
exampleconsole.handlers.SampleConsoleHandler
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 31 more

Regards
Piyush
Re: this is for Steve Blass [message #260269 is a reply to message #260043] Mon, 07 July 2008 14:06 Go to previous messageGo to next message
Eclipse UserFriend
Piyush Agarwal wrote:
> hi Steve,
>
> I got the plugin-working, which you had provided me with. But when I
> call the function writetomyconsole within a code or from a GUI. It says
> unhandled event loop exception. Please let me know what is going on
> wrong. Urgent help needed.
>
> Regards
> Piyush
>

I dunno. Use Debug instead of Run after setting a breakpoint by
double-clicking in the blue margin to the left of the code line where
you want to be able to start stepping through the code. I've been off a
week and am just getting back to my own work. I looked through the
posts you sent and the only thing that stands out is one of the error
logs seemed to show pieces of eclipse ranging from versions 3.1 to 3.3.
I'm using 3.4, maybe that's it. I'm using the sample console I
posted in an EMF editor wizard and it works there... Looking at your
post from 6/26 again I do notice that your call to writetomyconsole is
in a different place in the wizard than what works for me. Try moving
that calle to just after the finally clause in your
ModifyWorkspaceOperation class-

finally
{
monitor.done();
project.refreshLocal(IResource.DEPTH_INFINITE, null);

}
>>>>>>>>>> i put the call right here in my wizard and it works <<<<<<<<

-
Steve
Re: this is for Steve Blass [message #260338 is a reply to message #260269] Tue, 08 July 2008 08:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p.agarwal.lancaster.ac.uk

hi steve,

Nice to hear from you. I am also using Eclipse Ganymede but the plug-ins
that I am using are from the previous versions. I learnt about breakpoints
and debug and I did that but it shows me the exception of NoClassDefFound.
I had also pasted the stack trance in my previous post. I also tried to
call the function after finally loop but I noticed that my GUI stops
working and nothing turns up. Infact I get another stack trace.

java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:403)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 934)
at
inoTek.InoFlex.InoFace.wizards.NewHDLProject.performFinish(N ewHDLProject.java:94)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:742)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.ui.internal.handlers.WizardHandler$New.executeHa ndler(WizardHandler.java:253)
at
org.eclipse.ui.internal.handlers.WizardHandler.execute(Wizar dHandler.java:273)
at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
at
org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
at
org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
at
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(C ommandAction.java:157)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NoClassDefFoundError:
exampleconsole/handlers/SampleConsoleHandler
at
inoTek.InoFlex.InoFace.wizards.NewHDLProject$CreateProject.e xecute(NewHDLProject.java:218)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:104)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:116)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
Caused by: java.lang.ClassNotFoundException:
exampleconsole.handlers.SampleConsoleHandler
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 5 more

I think there is trouble in invoking the function writetomyconsole. the
execute function works fine as an icon is created when a new eclipse
opens and when I click on it, it does write into console of new workbench.
But when i call it through diff functions I do not get any answers. Please
elaborate more about EMF wizard? I looked for it but could not understand
it.

Hope to hear soon from you.

Regards
Piyush
Re: this is for Steve Blass [message #260357 is a reply to message #260338] Tue, 08 July 2008 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p.agarwal.lancaster.ac.uk

Hello Steve,

Thanks a lot for your Help. The plug-in works now. Actually there were
problems with the build properties which I resolved it. There were changes
that needed to be made in bunle-Activation policy. Now it works fine and I
am really grateful to you. Thanks a lot again.

I may disturb you again, if I have further problems. Cheers

Regards
Piyush
console trouble, was Re: this is for Steve Blass [message #260389 is a reply to message #260338] Tue, 08 July 2008 12:32 Go to previous messageGo to next message
Eclipse UserFriend
Piyush,

The EMF wizard I referred to is simply a new file wizard that I had
available to experiment with. The fact that it is in an EMF editor
shouldn't make a difference to our conversation. When I look at the
stack trace I see

> Caused by: java.lang.NoClassDefFoundError:
> exampleconsole/handlers/SampleConsoleHandler

This means that the class is somehow not available at run time. I've
had that happen to me when I have used the Project Properties dialog to
add a reference to the project rather than adding a dependency in the
plugin manifest editor or by leaving something out of the run
configuration. If the sample console is in the same plug-in as the
wizard then I'm not sure why it can not be found. If the sample console
is in another plug-in then you should check the Dependencies tab in the
plug-in manifest of the plug-in containing the wizard to make sure it
has the exampleConsole included in the Required Plug-ins list. If that
is in place then make sure the exampleConsole plugin is included in the
runtime configuration you are using for Run or Debug. If that's there,
I'm running out of ideas.

Now, it seems the point of all this is to prompt the user to install a
required piece of software if that is not found, right? Perhaps a
simple MessageDialog prompting the user when the software is not found
is an easier way to achieve the goal?

-
Steve


Piyush Agarwal wrote:
> hi steve,
>
> Nice to hear from you. I am also using Eclipse Ganymede but the plug-ins
> that I am using are from the previous versions. I learnt about
> breakpoints and debug and I did that but it shows me the exception of
> NoClassDefFound. I had also pasted the stack trance in my previous post.
> I also tried to call the function after finally loop but I noticed that
> my GUI stops working and nothing turns up. Infact I get another stack
> trace.
> java.lang.reflect.InvocationTargetException
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:403)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 934)
> at
> inoTek.InoFlex.InoFace.wizards.NewHDLProject.performFinish(N ewHDLProject.java:94)
>
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:742)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:373)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.ui.internal.handlers.WizardHandler$New.executeHa ndler(WizardHandler.java:253)
>
> at
> org.eclipse.ui.internal.handlers.WizardHandler.execute(Wizar dHandler.java:273)
>
> at
> org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>
> at
> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
> at
> org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>
> at
> org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>
> at
> org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>
> at
> org.eclipse.ui.internal.actions.CommandAction.runWithEvent(C ommandAction.java:157)
>
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> 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.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: java.lang.NoClassDefFoundError:
> exampleconsole/handlers/SampleConsoleHandler
> at
> inoTek.InoFlex.InoFace.wizards.NewHDLProject$CreateProject.e xecute(NewHDLProject.java:218)
>
> at
> org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:104)
>
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
> at
> org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:116)
>
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
>
> Caused by: java.lang.ClassNotFoundException:
> exampleconsole.handlers.SampleConsoleHandler
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> ... 5 more
>
> I think there is trouble in invoking the function writetomyconsole. the
> execute function works fine as an icon is created when a new eclipse
> opens and when I click on it, it does write into console of new
> workbench. But when i call it through diff functions I do not get any
> answers. Please elaborate more about EMF wizard? I looked for it but
> could not understand it.
>
> Hope to hear soon from you.
>
> Regards
> Piyush
Re: this is for Steve Blass [message #260395 is a reply to message #260357] Tue, 08 July 2008 12:36 Go to previous messageGo to next message
Eclipse UserFriend
Three cheers for perserverance! Glad you got it working.
-
Steve

Piyush Agarwal wrote:
> Hello Steve,
>
> Thanks a lot for your Help. The plug-in works now. Actually there were
> problems with the build properties which I resolved it. There were
> changes that needed to be made in bunle-Activation policy. Now it works
> fine and I am really grateful to you. Thanks a lot again.
>
> I may disturb you again, if I have further problems. Cheers
>
> Regards
> Piyush
>
Re: console trouble, was Re: this is for Steve Blass [message #260528 is a reply to message #260389] Wed, 09 July 2008 08:56 Go to previous message
Eclipse UserFriend
Originally posted by: p.agarwal.lancaster.ac.uk

Steve Blass wrote:

> Piyush,

> The EMF wizard I referred to is simply a new file wizard that I had
> available to experiment with. The fact that it is in an EMF editor
> shouldn't make a difference to our conversation. When I look at the
> stack trace I see

> > Caused by: java.lang.NoClassDefFoundError:
> > exampleconsole/handlers/SampleConsoleHandler

> This means that the class is somehow not available at run time. I've
> had that happen to me when I have used the Project Properties dialog to
> add a reference to the project rather than adding a dependency in the
> plugin manifest editor or by leaving something out of the run
> configuration. If the sample console is in the same plug-in as the
> wizard then I'm not sure why it can not be found. If the sample console
> is in another plug-in then you should check the Dependencies tab in the
> plug-in manifest of the plug-in containing the wizard to make sure it
> has the exampleConsole included in the Required Plug-ins list. If that
> is in place then make sure the exampleConsole plugin is included in the
> runtime configuration you are using for Run or Debug. If that's there,
> I'm running out of ideas.

> Now, it seems the point of all this is to prompt the user to install a
> required piece of software if that is not found, right? Perhaps a
> simple MessageDialog prompting the user when the software is not found
> is an easier way to achieve the goal?

> -
> Steve


> Piyush Agarwal wrote:
>> hi steve,
>>
>> Nice to hear from you. I am also using Eclipse Ganymede but the plug-ins
>> that I am using are from the previous versions. I learnt about
>> breakpoints and debug and I did that but it shows me the exception of
>> NoClassDefFound. I had also pasted the stack trance in my previous post.
>> I also tried to call the function after finally loop but I noticed that
>> my GUI stops working and nothing turns up. Infact I get another stack
>> trace.
>> java.lang.reflect.InvocationTargetException
>> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:403)
>> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 934)
>> at
>>
inoTek.InoFlex.InoFace.wizards.NewHDLProject.performFinish(N ewHDLProject.java:94)
>>
>> at
>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:742)
>> at
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:373)
>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>> at org.eclipse.jface.window.Window.open(Window.java:801)
>> at
>>
org.eclipse.ui.internal.handlers.WizardHandler$New.executeHa ndler(WizardHandler.java:253)
>>
>> at
>>
org.eclipse.ui.internal.handlers.WizardHandler.execute(Wizar dHandler.java:273)
>>
>> at
>>
org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
>>
>> at
>> org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
>> at
>>
org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
>>
>> at
>>
org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
>>
>> at
>>
org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)
>>
>> at
>>
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(C ommandAction.java:157)
>>
>> at
>>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
>>
>> at
>>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
>>
>> at
>>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>> at
>>
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>
>> at
>>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> 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.equinox.launcher.Main.invokeFramework(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>> Caused by: java.lang.NoClassDefFoundError:
>> exampleconsole/handlers/SampleConsoleHandler
>> at
>>
inoTek.InoFlex.InoFace.wizards.NewHDLProject$CreateProject.e xecute(NewHDLProject.java:218)
>>
>> at
>>
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:104)
>>
>> at
>> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
>> at
>>
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:116)
>>
>> at
>>
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
>>
>> Caused by: java.lang.ClassNotFoundException:
>> exampleconsole.handlers.SampleConsoleHandler
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
>>
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>>
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> ... 5 more
>>
>> I think there is trouble in invoking the function writetomyconsole. the
>> execute function works fine as an icon is created when a new eclipse
>> opens and when I click on it, it does write into console of new
>> workbench. But when i call it through diff functions I do not get any
>> answers. Please elaborate more about EMF wizard? I looked for it but
>> could not understand it.
>>
>> Hope to hear soon from you.
>>
>> Regards
>> Piyush


hi steve,

just a quick question. Can I change the names of the class and packages?
will i have to change other things related to it.

Regards
Piyush
Previous Topic:Missing content assist javadoc for Platform
Next Topic:Create delegate method problem
Goto Forum:
  


Current Time: Thu May 01 07:20:11 EDT 2025

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

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

Back to the top