facebook

myEclipse 6 and Eclipse 3.3: Error in JSF ConfigEditor

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    Uwe Hanfland
    Member

    Whe I try to add new properties to an new or existing Bean, there ist no way to save.

    #274898

    Loyal Water
    Member

    I didnt get this question. Can you give me some more details about this issue.

    #274919

    Uwe Hanfland
    Member

    Im using myEclipse 6 with eclipse 3.3 and tried to create a Web-Application.
    After adding the JSF-Enviroment I have a faces-config.xml in the WEB-INF directory.
    This file can be edited with the JSF Config Editor (default).
    The editor starts and I can edit application-parameters, navigation-rules.
    I also can create a new managed bean with the outline of the JSF config editor an create a basic bean-code.

    When I try to add properties to the bean the editor add the properties in the GUI but did not save the code in the faces-config.xml file. The editor hangs on the save-operation.

    #274967

    Loyal Water
    Member

    Can you go to <workspace>/.metadata/.log file and paste your error trace here.

    #274973

    Uwe Hanfland
    Member

    !ENTRY org.eclipse.update.configurator 2007-09-03 20:13:17.554
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/javax.servlet_2.4.0.v200706111738.jar Bundle “javax.servlet” version “2.4.0.v200706111738” has already been installed from: update@plugins/javax.servlet_2.4.0.v200706111738.jar

    !ENTRY org.eclipse.update.configurator 2007-09-03 20:13:17.574
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/org.apache.commons.el_1.0.0.v200706111724.jar Bundle “org.apache.commons.el” version “1.0.0.v200706111724” has already been installed from: update@plugins/org.apache.commons.el_1.0.0.v200706111724.jar

    !ENTRY org.eclipse.update.configurator 2007-09-03 20:13:17.577
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/javax.servlet.jsp_2.0.0.v200706191603.jar Bundle “javax.servlet.jsp” version “2.0.0.v200706191603” has already been installed from: update@plugins/javax.servlet.jsp_2.0.0.v200706191603.jar

    !ENTRY org.eclipse.update.configurator 2007-09-03 20:13:17.579
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/org.apache.commons.logging_1.0.4.v200706111724.jar Bundle “org.apache.commons.logging” version “1.0.4.v200706111724” has already been installed from: update@plugins/org.apache.commons.logging_1.0.4.v200706111724.jar

    !ENTRY com.genuitec.eclipse.core 1 0 2007-09-03 20:13:31.925
    !MESSAGE Unable to locate .myeclipse.properties file

    !ENTRY org.eclipse.core.resources 4 274 2007-09-03 20:14:01.026
    !MESSAGE Resource is out of sync with the file system: ‘/UMGadmin/.springBeans’.

    !ENTRY com.genuitec.eclipse.jsf 1 0 2007-09-03 20:14:17.396
    !MESSAGE Unable to parse .mex file

    !ENTRY org.eclipse.wst.internet.cache 1 0 2007-09-03 20:14:18.350
    !MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed.

    !ENTRY org.eclipse.ui 4 0 2007-09-03 20:14:56.365
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.ArrayIndexOutOfBoundsException: -1
    at com.genuitec.eclipse.jsf.wizards.NewManagedBeanWizardPage.fillElement(NewManagedBeanWizardPage.java:394)
    at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.updateEditData(WizardPageWithCodegenSupport.java:450)
    at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.updateConfig(JSFWizardWithCodegenSupport.java:144)
    at com.genuitec.eclipse.jsf.wizards.JSFConfigEditableWizard.perform(JSFConfigEditableWizard.java:18)
    at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.perform(JSFWizardWithCodegenSupport.java:84)
    at com.genuitec.eclipse.jsf.wizards.JSFWizard.performFinish(JSFWizard.java:45)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at com.genuitec.eclipse.core.ui.wizard.WizardUtil$1.run(WizardUtil.java:32)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at com.genuitec.eclipse.core.ui.wizard.WizardUtil.launchWizard(WizardUtil.java:36)
    at com.genuitec.eclipse.jsf.sse.model.OutlineUtil.openWizard(OutlineUtil.java:183)
    at com.genuitec.eclipse.jsf.sse.model.OutlineUtil.openWizardAsEditor(OutlineUtil.java:200)
    at com.genuitec.eclipse.jsf.sse.model.JSFNodeActionManager$OpenWizardAsEditorAction.run(JSFNodeActionManager.java:164)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

    #275007

    Loyal Water
    Member

    Hi hfl123,
    I was unable to reproduce this issue at my end. Can you switch to a new workspace and try working with the bean again. Let me know if the issue crops up again.

    #275046

    Uwe Hanfland
    Member

    !SESSION 2007-09-05 07:56:40.269 ———————————————–
    eclipse.buildId=I20070625-1500
    java.version=1.5.0_12
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
    Command-line arguments: -os linux -ws gtk -arch x86 -data /home/uweh/workspace_test

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.025
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/html/css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.125
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/html/forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.180
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/html/javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.245
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/html/htmlform_snippets.xml

    I have tested the problem with a new workspace. I created a web-project and added JSF-support with myfaces and then tried to create a Bean with the JSF Conifig Editor. After giving a name “testBean”, a class “TestBean” and 2 properties “property1” and “property2” with type “java.lang.String” an clicking the finish-button, the Editor hangs.

    Hier is the .log-File:

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.314
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/html/html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.415
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/jsp/struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.479
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/jsp/struts_tiles_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.546
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/jsp/struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.663
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/jsp/jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.860
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/jsp/jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-09-05 07:56:51.970
    !MESSAGE Installed snippet library: /home/uweh/myeclipse/eclipse/plugins/com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820/snippets/jsp/struts_logic_snippets.xml

    !ENTRY org.eclipse.wst.internet.cache 1 0 2007-09-05 07:57:34.568
    !MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed.

    !ENTRY org.eclipse.ui 4 0 2007-09-05 07:59:32.034
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.ArrayIndexOutOfBoundsException: -1
    at com.genuitec.eclipse.jsf.wizards.NewManagedBeanWizardPage.fillElement(NewManagedBeanWizardPage.java:394)
    at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.updateEditData(WizardPageWithCodegenSupport.java:450)
    at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.updateConfig(JSFWizardWithCodegenSupport.java:144)
    at com.genuitec.eclipse.jsf.wizards.JSFConfigEditableWizard.perform(JSFConfigEditableWizard.java:18)
    at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.perform(JSFWizardWithCodegenSupport.java:84)
    at com.genuitec.eclipse.jsf.wizards.JSFWizard.performFinish(JSFWizard.java:45)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at com.genuitec.eclipse.core.ui.wizard.WizardUtil$1.run(WizardUtil.java:32)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at com.genuitec.eclipse.core.ui.wizard.WizardUtil.launchWizard(WizardUtil.java:36)
    at com.genuitec.eclipse.jsf.action.OpenWizardAction.openWizard(OpenWizardAction.java:135)
    at com.genuitec.eclipse.jsf.action.OpenWizardAction.basicRun(OpenWizardAction.java:128)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.runWithEvent(Unknown Source)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

    #275072

    Loyal Water
    Member

    Can you post your installation details here for me. The posting guidelines can be found at the top of the forum.

    #275127

    Uwe Hanfland
    Member

    Here my Installation-Details:

    *** Date:
    Donnerstag, 6. September 2007 9.39 Uhr CEST

    ** System properties:
    OS=Linux
    OS version=2.6.22.1-41.fc7
    Java version=1.5.0_12

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708

    *** Eclipse details:
    Eclipse SDK

    Version: 3.3.0
    Build id: I20070625-1500

    Eclipse Platform

    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070625-1500

    Eclipse Project SDK

    Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
    Build id: I20070625-1500

    Eclipse RCP

    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500

    Eclipse Graphical Editing Framework

    Version: 3.3.0.v20070620
    Build id: 20070620-1021

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -showsplash
    /home/uweh/eclipse//plugins/org.eclipse.platform_3.3.0.v20070613/splash.bmp
    -launcher
    /home/uweh/eclipse/eclipse
    -name
    Eclipse
    –launcher.library
    /home/uweh/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so
    -startup
    /home/uweh/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -data
    /home/uweh/workspace
    -launcher
    /home/uweh/eclipse/eclipse
    -vm
    /usr/java/jdk1.5.0_12/jre/lib/i386/client/libjvm.so

    #275147

    Loyal Water
    Member

    Ill get this issue tested on Linux and get back to you ASAP.

    #275515

    Uwe Hanfland
    Member

    Hallo,
    is there any date I can have a solution from this problem. I’m now working with eclipse 3.2.2 adn myeclipse 5.5.1 under linux again and it works.

    hfl123

    #275591

    Loyal Water
    Member

    I don’t have a date for you right. Ill let you know when I get to know from the dev team. Thank you for your patience.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: myEclipse 6 and Eclipse 3.3: Error in JSF ConfigEditor

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