For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 2 voices, and was last updated 21 years, 9 months ago by
Scott Anderson.
-
AuthorPosts
-
mmathiasMemberHi,
I am trying to create a new Enterprise application project and I have a web module under that (no EJB module). I completed all the steps and clicked on ‘finish’, I got an error message ‘!NewProjectCreationWizard.op_error.message! See error log for details’. The error log has the following exception.
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:313)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.performFinish(NewElementWizard.java:98)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:430)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2173)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1863)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:107)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:541)
at org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:494)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:466)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2173)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1863)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2347)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:2330)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:299)
at org.eclipse.core.launcher.Main.run(Main.java:765)
at org.eclipse.core.launcher.Main.main(Main.java:599)
Caused by: java.lang.NullPointerException
at org.eclipse.jface.dialogs.ErrorDialog.<init>(ErrorDialog.java:129)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:369)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:333)
at com.genuitec.eclipse.j2eedt.ui.wizard.NewEARProjectWizard.finishPage(Unknown Source)
at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:91)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:34)
at org.eclipse.jdt.internal.core.JavaModelOperation.execute(JavaModelOperation.java:366)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:705)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1555)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1572)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:2986)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:42)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
… 33 moreThanks,
Merlyn.December 18, 2003 at 6:59 pm #201150
Scott AndersonParticipantMerlyn,
Can you please post your full configuration information, as we request in the Posting Guidelines thread at the top of this forum? I tried using the wizard to create an EAR containing a single web project and had no problem. This is very likely some sort of install/configuration/environment issue and the additional information will help us figure it out.
–Scott
MyEclipse SupportDecember 19, 2003 at 8:33 am #201188
mmathiasMemberScott,
Thanks a lot for the reply. I figured out that the problem was because of the way I was creating the projects. Looks like I have to create EAR project and web project in 2 different folders. I tried doing it, and it worked. I still need to figure out why can’t I create a web project under a subdirectory of the root of EAR. Is it a bug or an expected behaviour?
Here is the information you requested:
What operating system and version are you running?
Windows XPWhat Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.0
Build id: 200310101454– Was Eclipse freshly installed for MyEclipse?
Yes– If not, was it upgraded to its current version using the update manager?
– Are any other external plugins installed?
yes– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.6.4What JDK version are you using to run Eclipse? (java -version)
1.4.2What JDK version are you using to launch your application server?
1.4.2What steps did you take that resulted in the issue?
Tried to create an EAR project in c:/projects/earProject
Tried to create web project in c:/projects/earProject/webProject
When click on ‘Finish’ I got an error. The web project is created. I think the problem is with the EAR project.What application server are you using?
oc4jThanks again,
Merlyn.December 19, 2003 at 10:04 pm #201208
Scott AndersonParticipantMerlyn,
Is it a bug or an expected behaviour?
It’s expected behavior. Eclipse does not allow overlapping projects.
–Scott
MyEclipse Support -
AuthorPosts