facebook

Project not able to Enhance

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #301512 Reply

    jsutton
    Member

    I am trying to enhance a project that is currently in RAD using the Enhancment tool but it does not do it and I get the following error in my log.

    !ENTRY com.genuitec.eclipse.blue.projects 4 0 2009-08-18 09:49:17.947
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction.refreshProjectResources(MigrateWizardAction.java:145)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction.run(MigrateWizardAction.java:80)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
    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: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(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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)
    Caused by: java.lang.NullPointerException
    at org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:166)
    at org.jdom.input.DOMBuilder.build(DOMBuilder.java:135)
    at com.genuitec.eclipse.blue.project.migration.util.ProjectMigrationHelper.getJDomDocumentFromPath(ProjectMigrationHelper.java:96)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.getMappings(RAD6EARProject.java:65)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.getModuleProjects(RAD6EARProject.java:53)
    at com.genuitec.eclipse.blue.project.core.AbstractRADProjectVisitor.visit(AbstractRADProjectVisitor.java:27)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.accept(RAD6EARProject.java:35)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction$ProjectRefresher.run(MigrateWizardAction.java:58)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction$1.run(MigrateWizardAction.java:151)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Root exception:
    java.lang.NullPointerException
    at org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:166)
    at org.jdom.input.DOMBuilder.build(DOMBuilder.java:135)
    at com.genuitec.eclipse.blue.project.migration.util.ProjectMigrationHelper.getJDomDocumentFromPath(ProjectMigrationHelper.java:96)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.getMappings(RAD6EARProject.java:65)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.getModuleProjects(RAD6EARProject.java:53)
    at com.genuitec.eclipse.blue.project.core.AbstractRADProjectVisitor.visit(AbstractRADProjectVisitor.java:27)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.accept(RAD6EARProject.java:35)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction$ProjectRefresher.run(MigrateWizardAction.java:58)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction$1.run(MigrateWizardAction.java:151)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    !ENTRY org.eclipse.ui 4 0 2009-08-18 09:49:17.962
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
    at org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:166)
    at org.jdom.input.DOMBuilder.build(DOMBuilder.java:135)
    at com.genuitec.eclipse.blue.project.migration.util.ProjectMigrationHelper.getJDomDocumentFromPath(ProjectMigrationHelper.java:96)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.getMappings(RAD6EARProject.java:65)
    at com.genuitec.eclipse.blue.project.core.RAD6EARProject.getModuleProjects(RAD6EARProject.java:53)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.createSummaryPage(EnhanceProjectWizard.java:65)
    at com.genuitec.eclipse.blue.project.ui.wizard.EnhanceProjectWizard.addPages(EnhanceProjectWizard.java:48)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:540)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at org.eclipse.jface.window.Window.open(Window.java:790)
    at com.genuitec.eclipse.blue.project.ui.action.MigrateWizardAction.run(MigrateWizardAction.java:108)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
    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: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(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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)

    #301541 Reply

    jsutton,
    Can you copy and paste your installation details from MyEclipse > Installation Summary > Installation Details?

    #301547 Reply

    jsutton
    Member

    *** Date:
    Wednesday, August 19, 2009 8:26:28 AM CDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 7.5 Blue
    Build id: 7.5-Blue-20090609

    *** Eclipse details:
    MyEclipse Blue Edition

    Version: 7.5 Blue
    Build id: 7.5-Blue-20090609

    Eclipse Plug-in Development Environment

    Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
    Build id: M20080703-0800

    Eclipse Platform

    Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
    Build id: M20090211-1700

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
    Build id: 200902181337

    Eclipse RCP

    Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
    Build id: M20090211-1700

    Eclipse Java Development Tools

    Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
    Build id: M20090211-1700

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Temp\Genuitec\MyEclipse 7.5 Blue\myeclipse-blue.exe
    -name
    Myeclipse-blue
    –launcher.library
    C:\Temp\Genuitec\MyEclipse 7.5 Blue\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Temp\Genuitec\MyEclipse 7.5 Blue\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
    -clean
    -configuration
    configuration
    -vm
    C:\Temp\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll

    #301556 Reply

    Does you project metadata (i.e. web.xml, ejb-jar.xml) have the needed DTD/XSD declaration? Can you paste that file here removing servlets, EJBs, etc. – we only need to see if it is well-formed.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Project not able to Enhance

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