Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Index out of bounds when trying to create new setup model
Index out of bounds when trying to create new setup model [message #1387123] Tue, 24 June 2014 05:59 Go to next message
Felix Dorner is currently offline Felix Dorner
Messages: 204
Registered: March 2012
Senior Member
Hi,

To get there I:

- Downloaded the Oomph installer (win64)
- Picked EPP Modelling/Luna
- Picked Oomph/master
- Oomph IDE installed correctly (I end up with a Luna IDE and a
workspace containing the Oomph plugins)
- Within that IDE I do File->New Setup model.

Is that a correct way to start authoring a new setup model? So here's
the stacktrace.

Cheers,
Felix

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.rangeCheck(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at
org.eclipse.oomph.setup.presentation.SetupModelWizard$TemplateUsagePage.createControl(SetupModelWizard.java:1049)

at
org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)

at
org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)

at
org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1182)

at
org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1241)

at
org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238)

at
org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227)

at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
Re: Index out of bounds when trying to create new setup model [message #1387129 is a reply to message #1387123] Tue, 24 June 2014 06:14 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5499
Registered: July 2009
Senior Member
Hi Felix,

This problem is reported in:

435722: SetupModelWizards dialog is empty due to an IndeOutOfBoundsException
https://bugs.eclipse.org/bugs/show_bug.cgi?id=435722

This bugzilla also contains why that currently happens and how you can easily work around it. Note that Ed already
started to fix the model wizard and even add a model template for Eclipse.org projects.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper




Am 24.06.2014 11:59, schrieb Felix Dorner:
> Hi,
>
> To get there I:
>
> - Downloaded the Oomph installer (win64)
> - Picked EPP Modelling/Luna
> - Picked Oomph/master
> - Oomph IDE installed correctly (I end up with a Luna IDE and a workspace containing the Oomph plugins)
> - Within that IDE I do File->New Setup model.
>
> Is that a correct way to start authoring a new setup model? So here's the stacktrace.
>
> Cheers,
> Felix
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>
> at java.util.ArrayList.rangeCheck(Unknown Source)
>
> at java.util.ArrayList.get(Unknown Source)
>
> at
> org.eclipse.oomph.setup.presentation.SetupModelWizard$TemplateUsagePage.createControl(SetupModelWizard.java:1049)
>
> at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
>
> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
>
> at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1182)
>
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1241)
>
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238)
>
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227)
>
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
Re: Index out of bounds when trying to create new setup model [message #1387133 is a reply to message #1387129] Tue, 24 June 2014 06:32 Go to previous message
Felix Dorner is currently offline Felix Dorner
Messages: 204
Registered: March 2012
Senior Member
On 24/06/2014 12:14, Eike Stepper wrote:

Hey Eike, ok thank you. I'll look through the bugreports next time
before posting here (Hopefully the list isn't too long yet :p)

Felix
Previous Topic:How to add a *.setup file to the installer?
Next Topic:Error opening user.setup after removing installation
Goto Forum:
  


Current Time: Sat Aug 23 11:23:25 EDT 2014

Powered by FUDForum. Page generated in 0.01941 seconds