Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Problem calling Native java code
Problem calling Native java code [message #506768] Sat, 09 January 2010 19:39 Go to next message
Barak  is currently offline Barak Friend
Messages: 18
Registered: December 2009
Junior Member
Hi,

I'm trying to implement a plug-in for epsilon.
In the making, I needed to call a java source code (which was using two JAR files that were added to its build path), using the Native method in epsilon.
For that I followed the next guide: http:// www.eclipse.org/gmt/epsilon/doc/articles/call-java-from-epsi lon/

When I call the Native for the packages, the next error occours:
Internal error: java.lang.NoClassDefFoundError: org/springframework/beans/factory/BeanNameAware
	at java.lang.ClassLoader.defineClass1[Native Method]
	at java.lang.ClassLoader.defineClass[Unknown Source]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass[DefaultClassLoader.java:183]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass[ClasspathManager.java:576]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl[ClasspathManager.java:546]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl[ClasspathManager.java:477]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader[ClasspathManager.java:465]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass[ClasspathManager.java:445]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass[DefaultClassLoader.java:211]
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass[BundleLoader.java:381]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal[BundleLoader.java:457]
...


I tried adding the packages that are located in those two JAR files to the exported packages list in the Runtime tab, but it didn't help.

How can I call a java code that uses external JARS, using epsilon's Native method?

Thanks!
Re: Problem calling Native java code [message #506789 is a reply to message #506768] Sun, 10 January 2010 06:38 Go to previous messageGo to next message
Itamar is currently offline ItamarFriend
Messages: 39
Registered: November 2009
Member
Can you please post the entire stack trace?
Re: Problem calling Native java code [message #506790 is a reply to message #506789] Sun, 10 January 2010 02:33 Go to previous messageGo to next message
Barak  is currently offline Barak Friend
Messages: 18
Registered: December 2009
Junior Member
You've asked for it
Internal error: java.lang.NoClassDefFoundError: org/springframework/beans/factory/BeanNameAware
	at java.lang.ClassLoader.defineClass1[Native Method]
	at java.lang.ClassLoader.defineClass[Unknown Source]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass[DefaultClassLoader.java:183]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass[ClasspathManager.java:576]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl[ClasspathManager.java:546]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl[ClasspathManager.java:477]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader[ClasspathManager.java:465]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass[ClasspathManager.java:445]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass[DefaultClassLoader.java:211]
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass[BundleLoader.java:381]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal[BundleLoader.java:457]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass[BundleLoader.java:410]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass[BundleLoader.java:398]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass[DefaultClassLoader.java:105]
	at java.lang.ClassLoader.loadClass[Unknown Source]
	at java.lang.ClassLoader.loadClassInternal[Unknown Source]
	at java.lang.ClassLoader.defineClass1[Native Method]
	at java.lang.ClassLoader.defineClass[Unknown Source]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass[DefaultClassLoader.java:183]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass[ClasspathManager.java:576]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl[ClasspathManager.java:546]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl[ClasspathManager.java:477]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader[ClasspathManager.java:465]
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass[ClasspathManager.java:445]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass[DefaultClassLoader.java:211]
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass[BundleLoader.java:381]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal[BundleLoader.java:457]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass[BundleLoader.java:410]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass[BundleLoader.java:398]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass[DefaultClassLoader.java:105]
	at java.lang.ClassLoader.loadClass[Unknown Source]
	at java.lang.ClassLoader.loadClassInternal[Unknown Source]
	at gensets.GensetImplementerFrontend.DisjoinImpl[GensetImplementerFrontend.java:68]
	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.epsilon.eol.util.ReflectionUtil.executeMethod[ReflectionUtil.java:213]
	at org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod[ReflectionUtil.java:189]
	at org.eclipse.epsilon.eol.execute.PointExecutor.executeOperation[PointExecutor.java:173]
	at org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointExecutor.java:67]
	at org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointExecutor.java:37]
	at org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointExecutor.java:123]
	at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[ExecutorFactory.java:185]
	at org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execute[StatementBlockExecutor.java:33]
	at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[ExecutorFactory.java:185]
	at org.eclipse.epsilon.ewl.EwlWizard.process[EwlWizard.java:78]
	at org.eclipse.epsilon.ewl.EwlWizardInstance.process[EwlWizardInstance.java:66]
	at org.eclipse.epsilon.ewl.emf.ExecuteWizardInstanceCommand.execute[ExecuteWizardInstanceCommand.java:42]
	at org.eclipse.emf.workspace.EMFCommandOperation.doExecute[EMFCommandOperation.java:119]
	at org.eclipse.emf.workspace.AbstractEMFOperation.execute[AbstractEMFOperation.java:150]
	at org.eclipse.core.commands.operations.DefaultOperationHistory.execute[DefaultOperationHistory.java:511]
	at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute[WorkspaceCommandStackImpl.java:208]
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute[AbstractTransactionalCommandStack.java:165]
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute[AbstractTransactionalCommandStack.java:219]
	at org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction.execute[AbstractContributeWizardsAction.java:237]
	at org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction$1.widgetSelected[AbstractContributeWizardsAction.java:225]
	at org.eclipse.swt.widgets.TypedListener.handleEvent[TypedListener.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.Widget.sendEvent[Widget.java:1027]
	at org.eclipse.swt.widgets.Widget.sendEvent[Widget.java:1012]
	at org.eclipse.swt.widgets.Widget.notifyListeners[Widget.java:770]
	at org.eclipse.jface.action.ActionContributionItem$9.handleEvent[ActionContributionItem.java:1284]
	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.java:3880]
	at org.eclipse.swt.widgets.Display.readAndDispatch[Display.java:3473]
	at org.eclipse.ui.internal.Workbench.runEventLoop[Workbench.java:2405]
	at org.eclipse.ui.internal.Workbench.runUI[Workbench.java:2369]
	at org.eclipse.ui.internal.Workbench.access$4[Workbench.java:2221]
	at org.eclipse.ui.internal.Workbench$5.run[Workbench.java:500]
	at org.eclipse.core.databinding.observable.Realm.runWithDefault[Realm.java:332]
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench[Workbench.java:493]
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench[PlatformUI.java:149]
	at org.eclipse.ui.internal.ide.application.IDEApplication.start[IDEApplication.java:113]
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run[EclipseAppHandle.java:194]
	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[EclipseStarter.java:368]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run[EclipseStarter.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:559]
	at org.eclipse.equinox.launcher.Main.basicRun[Main.java:514]
	at org.eclipse.equinox.launcher.Main.run[Main.java:1311]
	at org.eclipse.equinox.launcher.Main.main[Main.java:1287]
Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanNameAware
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal[BundleLoader.java:494]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass[BundleLoader.java:410]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass[BundleLoader.java:398]
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass[DefaultClassLoader.java:105]
	at java.lang.ClassLoader.loadClass[Unknown Source]
	at java.lang.ClassLoader.loadClassInternal[Unknown Source]
	... 89 more
 (34:19)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:183)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:576)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:546)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:477)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:465)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:445)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:183)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:576)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:546)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:477)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:465)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:445)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at gensets.GensetImplementerFrontend.DisjoinImpl(GensetImplementerFrontend.java:68)
	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.epsilon.eol.util.ReflectionUtil.executeMethod(ReflectionUtil.java:213)
	at org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod(ReflectionUtil.java:189)
	at org.eclipse.epsilon.eol.execute.PointExecutor.executeOperation(PointExecutor.java:173)
	at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointExecutor.java:67)
	at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointExecutor.java:37)
	at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointExecutor.java:123)
	at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(ExecutorFactory.java:185)
	at org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execute(StatementBlockExecutor.java:33)
	at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(ExecutorFactory.java:185)
	at org.eclipse.epsilon.ewl.EwlWizard.process(EwlWizard.java:78)
	at org.eclipse.epsilon.ewl.EwlWizardInstance.process(EwlWizardInstance.java:66)
	at org.eclipse.epsilon.ewl.emf.ExecuteWizardInstanceCommand.execute(ExecuteWizardInstanceCommand.java:42)
	at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)
	at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)
	at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
	at org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction.execute(AbstractContributeWizardsAction.java:237)
	at org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction$1.widgetSelected(AbstractContributeWizardsAction.java:225)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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.Widget.sendEvent(Widget.java:1027)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
	at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284)
	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.java:3880)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	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(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.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:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Re: Problem calling Native java code [message #506794 is a reply to message #506790] Sun, 10 January 2010 09:58 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Can you instantiate this class from the Java code of your plugin? If
not, you may want to turn your jars into plugins (as per
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. pde.doc.user/guide/tools/project_wizards/plugin_from_archive s.htm)
and then add them as dependencies to your existing plugin.

Cheers,
Dimitris

On 10/01/2010 02:33, Barak wrote:
> You've asked for it
> Internal error: java.lang.NoClassDefFoundError:
> org/springframework/beans/factory/BeanNameAware
> at java.lang.ClassLoader.defineClass1[Native Method]
> at java.lang.ClassLoader.defineClass[Unknown Source]
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass[DefaultClassLoader.java:183]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass[ClasspathManager.java:576]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl[ClasspathManager.java:546]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl[ClasspathManager.java:477]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass_LockClassLoader[ClasspathManager.java:465]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass[ClasspathManager.java:445]
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass[DefaultClassLoader.java:211]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass [BundleLoader.java:381]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal[BundleLoader.java:457]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass[Bund leLoader.java:410]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass[Bund leLoader.java:398]
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass[DefaultClassLoader.java:105]
>
> at java.lang.ClassLoader.loadClass[Unknown Source]
> at java.lang.ClassLoader.loadClassInternal[Unknown Source]
> at java.lang.ClassLoader.defineClass1[Native Method]
> at java.lang.ClassLoader.defineClass[Unknown Source]
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass[DefaultClassLoader.java:183]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass[ClasspathManager.java:576]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl[ClasspathManager.java:546]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl[ClasspathManager.java:477]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass_LockClassLoader[ClasspathManager.java:465]
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass[ClasspathManager.java:445]
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass[DefaultClassLoader.java:211]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass [BundleLoader.java:381]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal[BundleLoader.java:457]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass[Bund leLoader.java:410]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass[Bund leLoader.java:398]
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass[DefaultClassLoader.java:105]
>
> at java.lang.ClassLoader.loadClass[Unknown Source]
> at java.lang.ClassLoader.loadClassInternal[Unknown Source]
> at
> gensets.GensetImplementerFrontend.DisjoinImpl[GensetImplemen terFrontend.java:68]
>
> 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.epsilon.eol.util.ReflectionUtil.executeMethod[Re flectionUtil.java:213]
>
> at
> org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod[Re flectionUtil.java:189]
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on[PointExecutor.java:173]
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:67]
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:37]
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:123]
>
> at
> org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:185]
>
> at
> org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te[StatementBlockExecutor.java:33]
>
> at
> org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:185]
>
> at org.eclipse.epsilon.ewl.EwlWizard.process[EwlWizard.java:78]
> at
> org.eclipse.epsilon.ewl.EwlWizardInstance.process[EwlWizardI nstance.java:66]
>
> at
> org.eclipse.epsilon.ewl.emf.ExecuteWizardInstanceCommand.exe cute[ExecuteWizardInstanceCommand.java:42]
>
> at
> org.eclipse.emf.workspace.EMFCommandOperation.doExecute[EMFC ommandOperation.java:119]
>
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute[Abstr actEMFOperation.java:150]
>
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory .execute[DefaultOperationHistory.java:511]
>
> at
> org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doE xecute[WorkspaceCommandStackImpl.java:208]
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalComman dStack.execute[AbstractTransactionalCommandStack.java:165]
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalComman dStack.execute[AbstractTransactionalCommandStack.java:219]
>
> at
> org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction. execute[AbstractContributeWizardsAction.java:237]
>
> at
> org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction$ 1.widgetSelected[AbstractContributeWizardsAction.java:225]
>
> 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.Widget.sendEvent[Widget.java:1027]
> at org.eclipse.swt.widgets.Widget.sendEvent[Widget.java:1012]
> at org.eclipse.swt.widgets.Widget.notifyListeners[Widget.java:7 70]
> at
> org.eclipse.jface.action.ActionContributionItem$9.handleEven t[ActionContributionItem.java:1284]
>
> 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:3880]
> at org.eclipse.swt.widgets.Display.readAndDispatch[Display.java :3473]
> at org.eclipse.ui.internal.Workbench.runEventLoop[Workbench.jav a:2405]
> at org.eclipse.ui.internal.Workbench.runUI[Workbench.java:2369]
> at org.eclipse.ui.internal.Workbench.access$4[Workbench.java:22 21]
> at org.eclipse.ui.internal.Workbench$5.run[Workbench.java:500]
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault [Realm.java:332]
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench[Work bench.java:493]
> 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:194]
>
> 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:368]
>
> 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: 559]
> at org.eclipse.equinox.launcher.Main.basicRun[Main.java:514]
> at org.eclipse.equinox.launcher.Main.run[Main.java:1311]
> at org.eclipse.equinox.launcher.Main.main[Main.java:1287]
> Caused by: java.lang.ClassNotFoundException:
> org.springframework.beans.factory.BeanNameAware
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal[BundleLoader.java:494]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass[Bund leLoader.java:410]
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass[Bund leLoader.java:398]
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass[DefaultClassLoader.java:105]
>
> at java.lang.ClassLoader.loadClass[Unknown Source]
> at java.lang.ClassLoader.loadClassInternal[Unknown Source]
> ... 89 more
> (34:19)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:183)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:576)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:546)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:477)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass_LockClassLoader(ClasspathManager.java:465)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:445)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:381)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:457)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:183)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:576)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:546)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:477)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass_LockClassLoader(ClasspathManager.java:465)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:445)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:381)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:457)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at
> gensets.GensetImplementerFrontend.DisjoinImpl(GensetImplemen terFrontend.java:68)
>
> 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.epsilon.eol.util.ReflectionUtil.executeMethod(Re flectionUtil.java:213)
>
> at
> org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod(Re flectionUtil.java:189)
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on(PointExecutor.java:173)
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:67)
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:37)
>
> at
> org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:123)
>
> at
> org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
>
> at
> org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33)
>
> at
> org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
>
> at org.eclipse.epsilon.ewl.EwlWizard.process(EwlWizard.java:78)
> at
> org.eclipse.epsilon.ewl.EwlWizardInstance.process(EwlWizardI nstance.java:66)
>
> at
> org.eclipse.epsilon.ewl.emf.ExecuteWizardInstanceCommand.exe cute(ExecuteWizardInstanceCommand.java:42)
>
> at
> org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFC ommandOperation.java:119)
>
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:150)
>
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
>
> at
> org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doE xecute(WorkspaceCommandStackImpl.java:208)
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalComman dStack.execute(AbstractTransactionalCommandStack.java:165)
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalComman dStack.execute(AbstractTransactionalCommandStack.java:219)
>
> at
> org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction. execute(AbstractContributeWizardsAction.java:237)
>
> at
> org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction$ 1.widgetSelected(AbstractContributeWizardsAction.java:225)
>
> 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.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 70)
> at
> org.eclipse.jface.action.ActionContributionItem$9.handleEven t(ActionContributionItem.java:1284)
>
> 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:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
> 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:194)
>
> 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:368)
>
> 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: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
Re: Problem calling Native java code [message #507140 is a reply to message #506794] Tue, 12 January 2010 04:55 Go to previous messageGo to next message
Barak  is currently offline Barak Friend
Messages: 18
Registered: December 2009
Junior Member
Thanks!
I'll try it.
Re: Problem calling Native java code [message #584649 is a reply to message #506794] Tue, 12 January 2010 04:55 Go to previous message
Barak  is currently offline Barak Friend
Messages: 18
Registered: December 2009
Junior Member
Thanks!
I'll try it.
Previous Topic:Namespace reference
Next Topic:Incorrect access to model in ubuntu
Goto Forum:
  


Current Time: Mon Nov 24 22:59:23 GMT 2014

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

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