facebook

Error when creating Enterprise App

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #199044 Reply

    Scott Esker
    Participant

    When trying to create an Enterprise Application Project, I repeatable
    get the following error:

    !SESSION Oct 07, 2003 09:15:11.39 ———————————————-
    java.version=1.4.2_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/dev/eclipse/
    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Oct 07, 2003 09:15:11.39
    !MESSAGE J2EEProject#id == null
    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Oct 07, 2003 09:15:11.39
    !MESSAGE J2EEProject#id == null
    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Oct 07, 2003 09:15:11.39
    !MESSAGE J2EEProject#id == null
    !ENTRY org.eclipse.jdt.ui 4 10001 Oct 07, 2003 09:15:53.99
    !MESSAGE Internal Error
    !STACK 0
    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:96)
    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:423)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
    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.NewWizardAction.run(NewWizardAction.java:136)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
    at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
    at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    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:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)
    Caused by: java.lang.NullPointerException
    at org.eclipse.jface.dialogs.ErrorDialog.<init>(ErrorDialog.java:125)
    at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:365)
    at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:329)
    at com.genuitec.eclipse.j2eedt.ui.wizard.NewEARProjectWizard.finishPage(Unknown Source)
    at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:89)
    at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:34)
    at org.eclipse.jdt.internal.core.JavaModelOperation.execute(JavaModelOperation.java:365)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:684)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
    at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:2711)
    at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:42)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
    … 34 more

    Scott

    #199054 Reply

    Scott Anderson
    Participant

    Scott,

    We’ll need you to supply all the information we request in the ‘Posting Guidelines’ announcement before we can make any real comment as to what is going on here. From the stack it appears you’ve got an installation problem but we don’t have enough information to know for sure.

    –Scott
    MyEclipse Support

    #199057 Reply

    Scott Esker
    Participant

    (Sorry — thought it was in C+P buffer)

    What operating system and version are you running?

    — Windows 2000 SP4

    What Eclipse version and build id are you using? (Help > About Eclipse Platform)

    — 2.1.1

    – 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?

    — Just MyEclipse

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*

    — 1 pde.core

    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)

    — 2.6.2

    What JDK version are you using to run Eclipse? (java -version)

    — 1.4.2_01-b06

    What JDK version are you using to launch your application server?

    — 1.3.1_1

    What steps did you take that resulted in the issue?

    — Clicked on finish after filling in ejb project wizard.

    What application server are you using?

    — weblogic 7.0 portal (platform)

    Scott

    #199059 Reply

    Scott Esker
    Participant

    Apparently there was information from a previous project so named in the workspace, instead of complaining — the exception was the response.

    I was also able to reproduce it by creating a new project and de-selecting default location of workspace. Then browsing to a subdirectory on the file system and clicking ok. This shared a space with another project, and instead of complaining, same results…

    So, appears that conflict checking may need some additional work. Up and running now.

    Scott

    #199065 Reply

    Scott Anderson
    Participant

    Scott,

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*

    — 1 pde.core

    This is problematic. There should be 7 plugins for the PDE if you’re using a full installation of Eclipse. MyEclipse won’t run properly on just the JDT version, which it appears you have installed. You can find a link to the full Eclipse distributions from our Downloads page. You’ll need to uninstall MyEclipse, install the new version, then reinstall. Once you’ve done this everything should run much better for you.

    –Scott
    MyEclipse Support

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Error when creating Enterprise App

You must be logged in to post in the forum log in