Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Can't Create EJB with WTP M5 & Eclipse 3.1
Can't Create EJB with WTP M5 & Eclipse 3.1 [message #121695] Mon, 18 July 2005 02:14 Go to next message
Eclipse UserFriend
Hi there,
I am using Eclipse 3.1 with WTP M5 and I am getting the following
Exception while creating an EJB. Can anybody tell me how to solve this
problem
------------------------------------------------------------ ------------------------------------------------------------ --------------------------------------

java.lang.reflect.InvocationTargetException
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:357)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 830)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.performFinish(DataModelWizard.java:245)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
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:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
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:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at
org.eclipse.wst.common.componentcore.internal.resources.Virt ualComponent.getReferences(VirtualComponent.java:185)
at
org.eclipse.wst.common.componentcore.internal.operation.Crea teReferenceComponentsOp.addReferencedComponents(CreateRefere nceComponentsOp.java:58)
at
org.eclipse.wst.common.componentcore.internal.operation.Crea teReferenceComponentsOp.execute(CreateReferenceComponentsOp. java:30)
at
org.eclipse.jst.j2ee.application.internal.operations.AddComp onentToEnterpriseApplicationOp.execute(AddComponentToEnterpr iseApplicationOp.java:34)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.doExecute(ExtendableOperationImpl.java:129)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl$1.run(ExtendableOperationImpl.java:109)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1719)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1739)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.execute(ExtendableOperationImpl.java:115)
at
org.eclipse.jst.j2ee.internal.ejb.archiveoperations.EJBClien tComponentCreationOperation.runAddToEAROperation(EJBClientCo mponentCreationOperation.java:92)
at
org.eclipse.jst.j2ee.internal.ejb.archiveoperations.EJBClien tComponentCreationOperation.execute(EJBClientComponentCreati onOperation.java:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.doExecute(ExtendableOperationImpl.java:129)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl$1.run(ExtendableOperationImpl.java:109)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1719)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1739)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.execute(ExtendableOperationImpl.java:115)
at
org.eclipse.jst.j2ee.internal.ejb.archiveoperations.EjbCompo nentCreationOperation.execute(EjbComponentCreationOperation. java:96)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.doExecute(ExtendableOperationImpl.java:129)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl$1.run(ExtendableOperationImpl.java:109)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1719)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1739)
at
org.eclipse.wst.common.frameworks.internal.datamodel.Extenda bleOperationImpl.execute(ExtendableOperationImpl.java:115)
at
org.eclipse.wst.common.frameworks.internal.ui.RunnableOperat ionWrapper.run(RunnableOperationWrapper.java:32)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
... 38 more
------------------------------------------------------------ ------------------------------------------------------------ --------------------------------------

Thanks in advance
Parag
Re: Can't Create EJB with WTP M5 & Eclipse 3.1 [message #121790 is a reply to message #121695] Mon, 18 July 2005 09:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi Parag

I reported this problem here:
http://www.eclipse.org/newsportal/article.php?id=5855&gr oup=eclipse.webtools#5855

and it seems to be fixed in the latest integration/RC builds, so I suggest
you try that.

- Richard
Re: Can't Create EJB with WTP M5 & Eclipse 3.1 [message #122224 is a reply to message #121790] Tue, 19 July 2005 05:19 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Richard,
But I have Tried everything but my problem is not solved.
I am still getting the same Error. If you know something Extra then Please
tell me which may solve my problem.

Thanks in advance
-parag
Re: Can't Create EJB with WTP M5 & Eclipse 3.1 [message #122237 is a reply to message #121790] Tue, 19 July 2005 06:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi Richard,
somebody suggest me that I must have Target Milestone version as 1.0 M6,
can you tell me where I can get that thing.

Thanks in advance
- parag
Re: Can't Create EJB with WTP M5 & Eclipse 3.1 [message #123065 is a reply to message #122237] Tue, 19 July 2005 13:19 Go to previous messageGo to next message
Eclipse UserFriend
Sorry, I'm not sure what you're talking about. I have Eclipse 3.1, and WTP
0.7RC1.

- Richard

Parag wrote:

> Hi Richard,
> somebody suggest me that I must have Target Milestone version as 1.0 M6,
> can you tell me where I can get that thing.

> Thanks in advance
> - parag
Re: Can't Create EJB with WTP M5 & Eclipse 3.1 [message #123311 is a reply to message #123065] Wed, 20 July 2005 02:02 Go to previous message
Eclipse UserFriend
I am also having Eclipse 3.1, and WTP 0.7RC1 & XDoclet 1.2.3. But getting
an "java.lang.reflect.InvocationTargetException" Exception while Creating
an EJB project as per the tutorial given at
" http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html"

& getting Errors at "ejb-jar.xml" file in META-INF. So ,please tell me
something to solve this problem.

Thanks in advance
parag
Previous Topic:JBoss 4.0.2 with M5
Next Topic:Exporting EAR using WTP M5
Goto Forum:
  


Current Time: Thu Jul 17 22:11:20 EDT 2025

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

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

Back to the top