facebook

Generate Entities and DAOs does not open

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

    Empty
    Participant

    Dear all,
    i was able to generate Entities in the past but when i just tried to add some entities by clicking ”Create Entities & DAOs’ nothing happens in the IDE but the .log file shows:

    
    !ENTRY org.eclipse.ui 4 0 2013-10-10 16:26:38.269
    !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:954)
        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 org.eclipse.jface.window.Window.open(Window.java:790)
        at com.genuitec.eclipse.persistence.jpa.action.GenerateEntitiesActionDelegate.openMappingWizard(GenerateEntitiesActionDelegate.java:214)
        at com.genuitec.eclipse.persistence.jpa.action.GenerateEntitiesActionDelegate.doMEGeneration(GenerateEntitiesActionDelegate.java:146)
        at com.genuitec.eclipse.persistence.jpa.action.GenerateEntitiesActionDelegate.basicRun(GenerateEntitiesActionDelegate.java:114)
        at com.genuitec.eclipse.persistence.jpa.action.GenerateEntitiesActionDelegate.run(GenerateEntitiesActionDelegate.java:77)
        at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
        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.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
        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: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:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
        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 com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
    

    The database is Oracle 10g connected through ojdbc6-11.2.0.3.jar.

    Any help would be appreciated.

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

    support-swapna
    Moderator

    workxl,

    Sorry that you are seeing this issue. The issue looks specific to your project.

    From the stack trace, it looks like your project is missing bean entries in the config file.
    Can you please recheck to see that no bean entries are missing in the config file?
    If possible, please share the project with us to help us replicate the issue at our end.

    #343272 Reply

    Empty
    Participant

    Thanks for the reply but I’m not sure which config file you mean? Do you mean the .project file of my project or…?

    #343318 Reply

    support-tony
    Keymaster

    workxl,

    Swapna would have been referring to the SPring config file that defines the beans you use (assuming that you define beans in XML config files). The common one is applicationContext.xml, in your source folder.

    You might also try switching to a new workspace, importing your project from the current workspace and seeing if you see the same issue.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Generate Entities and DAOs does not open

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