facebook

JPA reverse engineering – Dialog doesn’t open

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #344371 Reply

    Sam Muthu
    Member

    Please help with this issue.

    1) imported an existing maven project which had a database module. JPA and spring facets
    2) During import process a migration option popped up and went through the steps.
    3) First time clicking JPA reverse engineering option complained about “Runtime not available dialog”, tried to configure the run time but it didn’t populate the selected runtime”
    4) After the above steps, now clicking JPA reverse engineering doesn’t even bring any dialog

    I see the following error message in the log

    ————————————
    !ENTRY org.eclipse.ui 4 0 2013-11-12 16:07:20.040
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.springframework.SpringIDESupport.getSpringConfigs(SpringIDESupport.java:130)
    at com.genuitec.eclipse.springhibernate.SpringIntegrationUtils.getSpringConfigs(SpringIntegrationUtils.java:88)
    at com.genuitec.eclipse.hibernate.wizards.NewEJB3ArtifactWizardPage.loadProjectProperties(NewEJB3ArtifactWizardPage.java:450)
    at com.genuitec.eclipse.hibernate.wizards.NewHibernateArtifactWizardPage.updatePackageFragmentRoot(NewHibernateArtifactWizardPage.java:523)
    at com.genuitec.eclipse.hibernate.wizards.NewHibernateArtifactWizardPage.init(NewHibernateArtifactWizardPage.java:973)
    at com.genuitec.eclipse.hibernate.wizards.NewEJB3ArtifactWizardPage.init(NewEJB3ArtifactWizardPage.java:317)
    at com.genuitec.eclipse.hibernate.wizards.NewHibernateMappingWizard.createPageControls(NewHibernateMappingWizard.java:212)
    at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at com.genuitec.eclipse.hibernate.action.NewJPAMappingAction.basicRun(NewJPAMappingAction.java:24)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source)
    at com.genuitec.eclipse.hibernate.action.NewHibernateMappingAction.run(NewHibernateMappingAction.java:82)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    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.Display.sendEvent(Display.java:4136)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3982)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    ————–

    MyEclipse Enterprise Workbench

    Version: 2013 SR2
    Build id: 11.0.2-20130823

    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20140514
    Number of users: 1

    Attachments:
    You must be logged in to view attached files.
    #344403 Reply

    support-swapna
    Moderator

    sammuthu,

    Sorry that you are seeing issues.

    Can you please send us the project, strip the source code and send us all the .* files (.project, .classpath, .settings folder, etc.) and pom.xmls (you can remove dependencies lists) to help us investigate further ?

    #344411 Reply

    Sam Muthu
    Member

    1) Deleted the projects from MyEclipse
    2) Removed all the myeclipse setting files (find . -name “\.settings” | xargs rm -rf && find . -name “\.project” | xargs rm -rf && find . -name “\.classpath” | xargs rm -rf )
    3)mvn eclipse:clean and mvn eclipse:myeclipse
    4) From MyEclipse -> import -> existing maven project.

    One of the project had wrong spring config file path in “.springBeans”

    Everything works now.

    Thanks,
    Sam.

    #344422 Reply

    support-swapna
    Moderator

    Sam,

    Glad that you got it fixed.
    Do let us know if you see any issues.

    #344913 Reply

    Ed ross
    Member

    I have the exact same issue but would really rather NOT delete everything then rebuild. Is there no other solution?

    #344932 Reply

    support-swapna
    Moderator

    edross,

    Sorry that you are seeing this issue.

    Are you following the same steps as the first user who reported it ? If no, please list the steps you are following.

    Can you please send us the project, strip the source code and send us all the .* files (.project, .classpath, .settings folder, etc.) and pom.xmls (you can remove dependencies lists) to help us investigate further ?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JPA reverse engineering – Dialog doesn’t open

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