- This topic has 4 replies, 3 voices, and was last updated 13 years, 10 months ago by
jkennedy.
-
AuthorPosts
-
pbesiMemberHello.
Iìm evaluating myeclipse 9,0 for spring.
I’m interested to test the spring scaffolding.
I’ve a postresql 9.0 db, tables and relation among them.
I’m testing the “Scaffold Spring CRUD Application” feature.
Flex project has been selected.
Running it I get the message “Generation job failed. See error log”.
I get this problem both with XP and win7 environment.I didn’t get any problem during myecplise installation and I’m sure postgres is working well.
Could you help me?Thank you
PbesiFollows the error log:
!SESSION 2011-04-14 14:20:55.806 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.equinox.registry 2 0 2011-04-14 14:21:03.431
!MESSAGE The extensions and extension-points from the bundle “org.eclipse.epf.richtext” are ignored. The bundle is not marked as singleton.!ENTRY org.eclipse.jface 2 0 2011-04-14 14:21:56.713
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2011-04-14 14:21:56.713
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@1011b29,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)!ENTRY com.genuitec.eclipse.core 1 0 2011-04-14 14:21:57.166
!MESSAGE Unable to locate .myeclipse.properties file!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:22:00.088
!MESSAGE NLS unused message: prompt_optclasspath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:22:00.088
!MESSAGE NLS unused message: prompt_preclasspath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:22:00.103
!MESSAGE NLS unused message: prompt_optlibrarypath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.ui.workbench 2 0 2011-04-14 14:22:04.041
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-04-14 14:22:04.041
!MESSAGE Conflict for ‘com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug’:
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@7c75e6,
expression=,sourcePriority=0)
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@1208ac9,
expression=,sourcePriority=0)!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.494
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\html\css_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.588
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\html\forms_lists_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.650
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\html\htmlform_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.697
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\html\html_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.744
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\html\javascript_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.791
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\jsp\jsf_f_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.853
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\jsp\jsf_h_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.916
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\jsp\struts_bean_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:08.978
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\jsp\struts_html_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:09.025
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\jsp\struts_logic_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 0 2011-04-14 14:22:09.103
!MESSAGE Installed snippet library: C:\Programmi\MyEclipse for Spring\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles3<!– [\.cp\snippets\jsp\struts_tiles_snippets.xml!ENTRY org.eclipse.osgi 2 0 2011-04-14 14:34:18.572
!MESSAGE While loading class “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16”, thread “Thread[Worker-5,5,main]” timed out waiting (5000ms) for thread “Thread[main,6,main]” to finish starting bundle “org.eclipse.wst.jsdt.core_1.1.2.me201103172348 [969]”. To avoid deadlock, thread “Thread[Worker-5,5,main]” is proceeding but “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16” may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle “reference:file:/C:/Programmi/MyEclipse for Spring/Common/plugins/org.eclipse.wst.jsdt.core_1.1.2.me201103172348.jar” by thread “main”.
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
… 16 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: birt.web.category.name in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: birt.web.project.name in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: birt.web.project.description in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: birt.web.actionsets.description in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: create.birt.web.module in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: BIRT_FACET_LABEL in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: BIRT_FACET_DESCRIPTION in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: JSP_New_context_type_Extension_Element.name in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: JSP_Tag_context_type_Extension_Element.name in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: BirtResourcesDefinition in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:20.822
!MESSAGE NLS unused message: birt.action.importruntime.name in: plugin!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:23.056
!MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources!ENTRY org.eclipse.osgi 2 1 2011-04-14 14:34:23.056
!MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources!ENTRY org.maven.ide.eclipse 4 0 2011-04-14 14:42:14.619
!MESSAGE Unable to update index for central|http://repo1.maven.org/maven2
!STACK 0
java.io.IOException: Transfer for nexus-maven-repository-index.gz failed; Transfer error: The server did not respond within the configured timeout.
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$WagonFetcher.retrieve(DefaultIndexUpdater.java:693)
at org.sonatype.nexus.index.updater.AbstractResourceFetcher.retrieve(AbstractResourceFetcher.java:22)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$LocalCacheIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:868)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:995)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:138)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1060)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1013)
at org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:624)
at org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SESSION 2011-04-14 15:14:28.338 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.jface 2 0 2011-04-14 15:14:44.431
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2011-04-14 15:14:44.447
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@143b64f,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)!ENTRY com.genuitec.eclipse.core 1 0 2011-04-14 15:14:46.135
!MESSAGE Unable to locate .myeclipse.properties file!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:14:47.135
!MESSAGE NLS unused message: prompt_optclasspath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:14:47.135
!MESSAGE NLS unused message: prompt_preclasspath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:14:47.135
!MESSAGE NLS unused message: prompt_optlibrarypath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.ui.workbench 2 0 2011-04-14 15:14:52.869
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-04-14 15:14:52.869
!MESSAGE Conflict for ‘com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug’:
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@27a078,
expression=,sourcePriority=0)
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@1984b4a,
expression=,sourcePriority=0)!ENTRY org.eclipse.osgi 2 0 2011-04-14 15:14:54.681
!MESSAGE While loading class “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16”, thread “Thread[Worker-3,5,main]” timed out waiting (5000ms) for thread “Thread[Worker-2,5,main]” to finish starting bundle “org.eclipse.wst.jsdt.core_1.1.2.me201103172348 [969]”. To avoid deadlock, thread “Thread[Worker-3,5,main]” is proceeding but “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16” may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle “reference:file:/C:/Programmi/MyEclipse for Spring/Common/plugins/org.eclipse.wst.jsdt.core_1.1.2.me201103172348.jar” by thread “Worker-2”.
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
… 16 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)!ENTRY org.maven.ide.eclipse 4 0 2011-04-14 15:15:02.338
!MESSAGE Unable to update index for central|http://repo1.maven.org/maven2
!STACK 0
java.io.IOException: Transfer for nexus-maven-repository-index.properties failed; Transfer failed: [504] http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.properties
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$WagonFetcher.retrieve(DefaultIndexUpdater.java:693)
at org.sonatype.nexus.index.updater.AbstractResourceFetcher.retrieve(AbstractResourceFetcher.java:22)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:493)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.access$100(DefaultIndexUpdater.java:74)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:780)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:954)
at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:138)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1060)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1013)
at org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:624)
at org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)!ENTRY org.skyway.core.generate 4 0 2011-04-14 15:16:56.556
!MESSAGE Generation job failed
!STACK 0
java.lang.RuntimeException: Error invoking function: initializeCrud with parameters: [Ljava.lang.Object;@1203b65
at org.skyway.core.generate.snippet.function.FunctionInvoker.invoke(FunctionInvoker.java:102)
at org.skyway.core.generate.snippet.function.FunctionSnippetExpression.evaluate(FunctionSnippetExpression.java:26)
at org.skyway.core.generate.snippet.SnippetRegistry.evaluate(SnippetRegistry.java:88)
at org.skyway.core.generate.snippet.SnippetRegistry.getObjectAttribute(SnippetRegistry.java:99)
at org.skyway.core.generate.generator.invoke.InvokeSnippetGenerator.generate(InvokeSnippetGenerator.java:24)
at org.skyway.core.generate.generator.DescendantGenerator.generateChild(DescendantGenerator.java:28)
at org.skyway.core.generate.generator.DescendantGenerator.generateChildren(DescendantGenerator.java:21)
at org.skyway.core.generate.generator.DescendantGenerator.generate(DescendantGenerator.java:14)
at org.skyway.core.generate.generator.control.ResourceGenerator.generate(ResourceGenerator.java:19)
at org.skyway.core.generate.execute.GenerationJob.generate(GenerationJob.java:115)
at org.skyway.core.generate.execute.GenerationJob$1.run(GenerationJob.java:59)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.skyway.core.generate.execute.GenerationJob.run(GenerationJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.RuntimeException: Unable to load data type from table(s): [org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@9da8d2, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@b6983c, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@1c4bfd2, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@da416, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@18fb0ca, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@9fcec9, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@1c1187f, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@2f784b, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@82bf84, org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInput@1eba081]
at org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInputProvider.generateDataTypes(TableDataTypeInputProvider.java:222)
at org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInputProvider.getDataTypes(TableDataTypeInputProvider.java:73)
at com.skyway.scaffolding.crud.datatype.FilteredDataTypeInputProvider.getDataTypes(FilteredDataTypeInputProvider.java:33)
at com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.getDataTypes(ContextAwareCrudFunctions.java:181)
at com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.initializeCrud(ContextAwareCrudFunctions.java:55)
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.skyway.core.generate.snippet.function.FunctionInvoker.invoke(FunctionInvoker.java:94)
… 13 more
Caused by: org.hibernate.cfg.JDBCBinderException: Foreign key name (fk_tblpersona) mapped to different tables! previous: org.hibernate.mapping.Table(public.tblrifinterno_has_tblpersona) current:org.hibernate.mapping.Table(public.tbltelefono)
at org.hibernate.cfg.reveng.JDBCReader.processForeignKeys(JDBCReader.java:229)
at org.hibernate.cfg.reveng.JDBCReader.resolveForeignKeys(JDBCReader.java:119)
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:93)
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:860)
at org.hibernate.cfg.JDBCBinder.readDatabaseSchema(JDBCBinder.java:121)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:94)
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:42)
at org.skyway.integration.data.persistence.importer.hibernate.HibernateModelGenerator.createJDBCConfiguration(HibernateModelGenerator.java:227)
at org.skyway.integration.data.persistence.importer.hibernate.HibernateModelGenerator.generateModel(HibernateModelGenerator.java:96)
at org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInputProvider.generateDataTypes(TableDataTypeInputProvider.java:208)
… 22 more!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:17:01.510
!MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:17:01.510
!MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources!ENTRY org.eclipse.wst.server.core 4 0 2011-04-14 15:23:17.025
!MESSAGE Error during shutdown
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
at org.eclipse.core.internal.events.ResourceChangeListenerList.remove(ResourceChangeListenerList.java:146)
at org.eclipse.core.internal.events.NotificationManager.removeListener(NotificationManager.java:305)
at org.eclipse.core.internal.resources.Workspace.removeResourceChangeListener(Workspace.java:1934)
at org.eclipse.wst.server.core.internal.ResourceManager.shutdownImpl(ResourceManager.java:367)
at org.eclipse.wst.server.core.internal.ResourceManager.shutdown(ResourceManager.java:313)
at org.eclipse.wst.server.core.internal.ServerPlugin.stop(ServerPlugin.java:360)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:501)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
!SESSION 2011-04-14 15:23:28.447 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.jface 2 0 2011-04-14 15:23:42.900
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2011-04-14 15:23:42.900
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@18f143,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)!ENTRY com.genuitec.eclipse.core 1 0 2011-04-14 15:23:44.510
!MESSAGE Unable to locate .myeclipse.properties file!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:23:45.338
!MESSAGE NLS unused message: prompt_optclasspath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:23:45.338
!MESSAGE NLS unused message: prompt_preclasspath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.osgi 2 1 2011-04-14 15:23:45.338
!MESSAGE NLS unused message: prompt_optlibrarypath in: com.genuitec.eclipse.easie.core.configuration!ENTRY org.eclipse.ui.workbench 2 0 2011-04-14 15:23:51.556
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-04-14 15:23:51.556
!MESSAGE Conflict for ‘com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug’:
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@5d7a8d,
expression=,sourcePriority=0)
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@118f37c,
expression=,sourcePriority=0)!ENTRY org.eclipse.osgi 2 0 2011-04-14 15:23:54.353
!MESSAGE While loading class “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16”, thread “Thread[Worker-4,5,main]” timed out waiting (5000ms) for thread “Thread[Worker-6,5,main]” to finish starting bundle “org.eclipse.wst.jsdt.core_1.1.2.me201103172348 [969]”. To avoid deadlock, thread “Thread[Worker-4,5,main]” is proceeding but “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16” may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle “reference:file:/C:/Programmi/MyEclipse for Spring/Common/plugins/org.eclipse.wst.jsdt.core_1.1.2.me201103172348.jar” by thread “Worker-6”.
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
… 16 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Glen IhrigMemberHi pbesi,
Here’s few suggestions, you might try if you have not already.
1. Try scaffolding just as you already have, but use one of the tables in the derby sandbox database. See the Spring Flex Scaffolding Tutorial http://www.myeclipseide.com/documentation/quickstarts/ME4STutorialScaffoldingFlex/scaffoldingflexarticle.html
If that works as expected then you have better isolated the problem.
2. I have found that drivers for external databases must manually added to the class path. I do these steps.
a) Copy your db driver the WEB-INF/lib directory. Even though you have a connection in the DB Browser view.
b) Refresh your project – Right-click the project name in the Project Explorer and select Refresh. There is no need to run the scaffolding wizard again.
c) Restart the server.
3. If you are still having problems,
a) Work up to the point right before the problem becomes evident.
b) Clear your console and error logs
c) Then trigger the failure.I find that this helps me to focus on the actual problem.
Regards,
-Glen
pbesiMemberThank you Glen.
You’re right!, using Derby DB, everything runs well.
I also tryed with postgres and a simple db made of few tables without any relation. Scaffolding runs good again.
The problem arises when you have a complex db, for example several tables with several relations one-to-many, many-to-many, etc. In this case (not clear exaclty when it happens because some tables relations are correctly managed) myecplise scaffolding fails.
This problem happens with postgres, because the same DB (same tables and relations among them) runs well with mysql.
Mmmhhh. I’m not very happy of that, this is the main feature that I’m interested to.
Anyway, thank you for your help.Pbesi
Glen IhrigMemberHi pbesi,
Looks like you’ve uncovered a bug.
All I can recommend at this point is to post a DDL dump, or other backup of the simplest postgress database that triggers the scaffold failure.
So one of the MyEclipse for Spring guys can take a look at it.
Regards,
-Glen
jkennedyMemberThanks all,
pbesi,
Can you export your schema and send it to me at [email protected] or post it on this thread?We do support postgres, but there may be some issue with the driver reporting the correct metadata for your schema etc.
From the error message you posted it looks like the scaffolding generator is failing in an area related to the foreign key (fk_tblpersona).
The code that is running at this point is actually the Hibernate reverse engineering code and so it generally handles a wide range of cases.
Lets take a look at the schema to see if we can find the problem, if you send it along I would be happy too.
Thanks,
Jack -
AuthorPosts