[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6210) ArrayIndexOutOfBoundsException when trying to edit value of input ptoperty in properties window

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Fri Apr 23 03:25:10 EDT 2010


ArrayIndexOutOfBoundsException when trying to edit value of input ptoperty in properties window
-----------------------------------------------------------------------------------------------

                 Key: JBIDE-6210
                 URL: https://jira.jboss.org/jira/browse/JBIDE-6210
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: struts/shale
    Affects Versions: 3.1.x
            Reporter: Lukas Jungmann


eclipse.buildId=M20100211-1343
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -debug

Struts Tools - Version: 3.1.0.v201004221334N-H154-GA


Following Struts tools tutorial and ArrayIndexOutOfBoundsException during steps in chapter 6.6 (http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/3.0/html/Struts_Tools_Tutorial/EditingTheAction.html) appears

Steps to Reproduce :
have some struts web project (struts version 1.2, servlet version 2.4) with at least one action/action-mapping defined

- In the Web Projects view, expand the node under the StrutsHello > Configuration > default > struts-config.xml > action-mappings node, right-click the /greeting action, and then select Properties...from the context menu
- In the Edit Properties window, insert the cursor into the value column for the input property and click on the ... button

Expected: dialog appears

Actual:
java.lang.ArrayIndexOutOfBoundsException: 0
	at org.jboss.tools.common.meta.action.impl.SpecialWizardSupport.getSubtitle(SpecialWizardSupport.java:104)
	at org.jboss.tools.common.model.ui.wizards.special.DefaultSpecialWizard.setStep(DefaultSpecialWizard.java:131)
	at org.jboss.tools.common.model.ui.wizards.special.DefaultSpecialWizard.open(DefaultSpecialWizard.java:81)
	at org.jboss.tools.common.model.ui.wizards.special.DefaultSpecialWizard.execute(DefaultSpecialWizard.java:64)
	at org.jboss.tools.common.meta.action.impl.handlers.DefaultSpecialHandler.executeHandler(DefaultSpecialHandler.java:61)
	at org.jboss.tools.common.meta.action.impl.XActionImpl.executeHandler(XActionImpl.java:65)
	at org.jboss.tools.common.model.ui.action.XModelObjectAction.actionPerformed(XModelObjectAction.java:96)
	at org.jboss.tools.common.model.ui.action.XModelObjectActionInvoker.execute(XModelObjectActionInvoker.java:36)
	at org.jboss.tools.common.meta.action.XActionInvoker.invoke(XActionInvoker.java:53)
	at org.jboss.tools.common.meta.action.XActionInvoker.invoke(XActionInvoker.java:33)
	at org.jboss.tools.struts.ui.wizard.selectpath.PathEditorAdapter.invoke0(PathEditorAdapter.java:124)
	at org.jboss.tools.struts.ui.wizard.selectpath.PathEditorAdapter.invoke(PathEditorAdapter.java:99)
	at org.jboss.tools.common.model.ui.attribute.editor.ActiveCellEditor.callExternal(ActiveCellEditor.java:24)
	at org.jboss.tools.common.model.ui.attribute.editor.ActiveEditor.callExternal(ActiveEditor.java:58)
	at org.jboss.tools.common.model.ui.attribute.editor.DialogCellEditorEx.openDialogBox(DialogCellEditorEx.java:117)
	at org.eclipse.jface.viewers.DialogCellEditor$2.widgetSelected(DialogCellEditor.java:244)
...


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list