Skip to main content


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 09:59 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
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 10:14 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
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 10:32 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
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: Fri Mar 29 01:52:04 GMT 2024

Powered by FUDForum. Page generated in 0.03584 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top