Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » button.click() => IndexOutOfBoundsException
button.click() => IndexOutOfBoundsException [message #497068] Thu, 12 November 2009 07:38 Go to next message
Andre Kullmann is currently offline Andre Kullmann
Messages: 33
Registered: September 2009
Member
Hi,

I try to write an simple testcase. An 'yes no' dialog is shown, after the yes button was clicked an IndexOutOfBoundsException is thown Sad

Does anyone known whats going wrong ?

Here's the complet stacktrace.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE xec(UIThreadRunnable.java:173)
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe c(AbstractSWTBot.java:475)
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify( AbstractSWTBot.java:139)
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify( AbstractSWTBot.java:127)
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify( AbstractSWTBot.java:117)
at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT BotButton.java:73)
at com.company.my.TwoTest.doSomething(TwoTest.java:67)
at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:350)
at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208)
at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:115)
at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)
at java.lang.Thread.run(Thread.java:595)

Thanks,
André
Re: button.click() => IndexOutOfBoundsException [message #497354 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497355 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497358 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497359 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497372 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497382 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497404 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497410 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497411 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497413 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497414 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497416 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497420 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497421 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497432 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497433 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497434 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497444 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497453 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497454 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497464 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497468 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497475 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497476 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497483 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497488 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497493 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497494 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497501 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497511 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497526 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497528 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497533 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497541 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497542 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497546 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497551 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497553 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Re: button.click() => IndexOutOfBoundsException [message #497556 is a reply to message #497068] Thu, 12 November 2009 22:36 Go to previous messageGo to previous message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Could you provide more information like a snippet of code that clicks on
the button, a slightly more detailed description of the dialog ?

-- Ketan

Andre Kullmann wrote:
> Hi,
>
> I try to write an simple testcase. An 'yes no' dialog is shown, after
> the yes button was clicked an IndexOutOfBoundsException is thown :(
>
> Does anyone known whats going wrong ?
>
> Here's the complet stacktrace.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE
> xec(UIThreadRunnable.java:173)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.syncExe
> c(AbstractSWTBot.java:475)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:139)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:127)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.notify(
> AbstractSWTBot.java:117)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click(SWT
> BotButton.java:73)
> at com.company.my.TwoTest.doSomething(TwoTest.java:67)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner
> .run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication
> .runTests(UITestApplication.java:115)
> at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work
> benchTestable.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> André
Previous Topic:Support of MessageDialog
Next Topic:expandNode with 0 delays
Goto Forum:
  


Current Time: Thu Apr 24 14:47:59 EDT 2014

Powered by FUDForum. Page generated in 0.04153 seconds