Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Having problems with 'An Introduction to Using TPTP's Automated GUI Recorder'
Having problems with 'An Introduction to Using TPTP's Automated GUI Recorder' [message #40830] Wed, 16 November 2005 10:07 Go to next message
Tim Shelley is currently offline Tim Shelley
Messages: 60
Registered: July 2009
Member
Hi all,

I've been following the An Introduction to Using TPTP's Automated GUI
Recorder example and have reached the section entitled '2.2.3 Running in
Standard Mode'.

I have the Agent running, but when I run the Testsuite I get 'an internal
error occurred during 'TestNewProject', with a final error message telling
me it was a NullPointerException.

Any ideas as to what may have gone wrong?

Thanks in advance.

Regards,

Tim.
Re: Having problems with 'An Introduction to Using TPTP's Automated GUI Recorder' [message #40861 is a reply to message #40830] Wed, 16 November 2005 14:29 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Hi Tim,

The test execution harness that the auto GUI runner uses is the same as what
all other test suites use in TPTP. Do you get a similar error when you try
to launch a manual test suite?
Are you using the Agent Controller (AC) or the Integrated Agent Controller
(IAC)? There is a known issue with using IAC in conjunction with the
automated GUI test suite. Please use AC instead.

Open the launch configration dialog, select the test item that you have
created, and ensure that you have a deployment associated with the test
suite. You can use the default 'local_deployment' if you're intending to
launch locally.

"Tim Shelley" <tim_j_shelley@hotmail.com> wrote in message
news:dlfhur$5rq$1@news.eclipse.org...
> Hi all,
>
> I've been following the An Introduction to Using TPTP's Automated GUI
> Recorder example and have reached the section entitled '2.2.3 Running in
> Standard Mode'.
>
> I have the Agent running, but when I run the Testsuite I get 'an internal
> error occurred during 'TestNewProject', with a final error message telling
> me it was a NullPointerException.
>
> Any ideas as to what may have gone wrong?
>
> Thanks in advance.
>
> Regards,
>
> Tim.
>
>
Re: Having problems with 'An Introduction to Using TPTP's Automated GUI Recorder' [message #41736 is a reply to message #40861] Wed, 23 November 2005 04:07 Go to previous messageGo to next message
Tim Shelley is currently offline Tim Shelley
Messages: 60
Registered: July 2009
Member
Hi,

I have tried your suggestion to launch locally. I have the Agent Controller
running and I select 'local_deployment' in the launch configuration.

When I hit run I get these exceptions:

!ENTRY org.eclipse.core.runtime 4 2 2005-11-23 08:57:56.536
!MESSAGE An internal error occurred during: "TestNewTask".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutionHarness.java:751)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY org.eclipse.hyades.test.core 4 0 2005-11-23 08:58:10.856
!MESSAGE IWAT4039E The Test Execution Harness reported the following
problems:org.eclipse.core.runtime.CoreException
!STACK 1
org.eclipse.core.runtime.CoreException: IWAT4039E The Test Execution Harness
reported the following problems:null
at
org.eclipse.hyades.test.core.launch.delegates.AbstractLaunch ConfigurationDelegate2.launch(AbstractLaunchConfigurationDel egate2.java:178)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:590)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:515)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:733)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:931)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!SUBENTRY 1 org.eclipse.hyades.test.core 4 0 2005-11-23 08:58:10.856
!MESSAGE IWAT4039E The Test Execution Harness reported the following
problems:null

Regards,

Tim.

"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:dlg15k$uu1$1@news.eclipse.org...
> Hi Tim,
>
> The test execution harness that the auto GUI runner uses is the same as
> what
> all other test suites use in TPTP. Do you get a similar error when you
> try
> to launch a manual test suite?
> Are you using the Agent Controller (AC) or the Integrated Agent Controller
> (IAC)? There is a known issue with using IAC in conjunction with the
> automated GUI test suite. Please use AC instead.
>
> Open the launch configration dialog, select the test item that you have
> created, and ensure that you have a deployment associated with the test
> suite. You can use the default 'local_deployment' if you're intending to
> launch locally.
>
> "Tim Shelley" <tim_j_shelley@hotmail.com> wrote in message
> news:dlfhur$5rq$1@news.eclipse.org...
>> Hi all,
>>
>> I've been following the An Introduction to Using TPTP's Automated GUI
>> Recorder example and have reached the section entitled '2.2.3 Running in
>> Standard Mode'.
>>
>> I have the Agent running, but when I run the Testsuite I get 'an internal
>> error occurred during 'TestNewProject', with a final error message
>> telling
>> me it was a NullPointerException.
>>
>> Any ideas as to what may have gone wrong?
>>
>> Thanks in advance.
>>
>> Regards,
>>
>> Tim.
>>
>>
>
>
Re: Having problems with 'An Introduction to Using TPTP's Automated GUI Recorder' [message #41959 is a reply to message #41736] Wed, 23 November 2005 10:21 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Hi Tim,

Can you please tell me the environment that you're running your test in.
Your OS, TPTP build, Agent Controller build, and etc...
Is there a percentage that the launch job gets stuck on before throwing this
exception?
It's difficult for me to figure out why your experiencing this problem. The
exception doesn't tell me much. Please provide as much relevant information
as you can.

Thanks.

"Tim Shelley" <tim_j_shelley@hotmail.com> wrote in message
news:dm1bgi$llh$1@news.eclipse.org...
> Hi,
>
> I have tried your suggestion to launch locally. I have the Agent
Controller
> running and I select 'local_deployment' in the launch configuration.
>
> When I hit run I get these exceptions:
>
> !ENTRY org.eclipse.core.runtime 4 2 2005-11-23 08:57:56.536
> !MESSAGE An internal error occurred during: "TestNewTask".
> !STACK 0
> java.lang.NullPointerException
> at
>
org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutio
nHarness.java:751)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>
> !ENTRY org.eclipse.hyades.test.core 4 0 2005-11-23 08:58:10.856
> !MESSAGE IWAT4039E The Test Execution Harness reported the following
> problems:org.eclipse.core.runtime.CoreException
> !STACK 1
> org.eclipse.core.runtime.CoreException: IWAT4039E The Test Execution
Harness
> reported the following problems:null
> at
>
org.eclipse.hyades.test.core.launch.delegates.AbstractLaunch ConfigurationDel
egate2.launch(AbstractLaunchConfigurationDelegate2.java:178)
> at
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:590)
> at
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:515)
> at
>
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.jav
a:733)
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:931)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
> !SUBENTRY 1 org.eclipse.hyades.test.core 4 0 2005-11-23 08:58:10.856
> !MESSAGE IWAT4039E The Test Execution Harness reported the following
> problems:null
>
> Regards,
>
> Tim.
>
> "Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
> news:dlg15k$uu1$1@news.eclipse.org...
> > Hi Tim,
> >
> > The test execution harness that the auto GUI runner uses is the same as
> > what
> > all other test suites use in TPTP. Do you get a similar error when you
> > try
> > to launch a manual test suite?
> > Are you using the Agent Controller (AC) or the Integrated Agent
Controller
> > (IAC)? There is a known issue with using IAC in conjunction with the
> > automated GUI test suite. Please use AC instead.
> >
> > Open the launch configration dialog, select the test item that you have
> > created, and ensure that you have a deployment associated with the test
> > suite. You can use the default 'local_deployment' if you're intending
to
> > launch locally.
> >
> > "Tim Shelley" <tim_j_shelley@hotmail.com> wrote in message
> > news:dlfhur$5rq$1@news.eclipse.org...
> >> Hi all,
> >>
> >> I've been following the An Introduction to Using TPTP's Automated GUI
> >> Recorder example and have reached the section entitled '2.2.3 Running
in
> >> Standard Mode'.
> >>
> >> I have the Agent running, but when I run the Testsuite I get 'an
internal
> >> error occurred during 'TestNewProject', with a final error message
> >> telling
> >> me it was a NullPointerException.
> >>
> >> Any ideas as to what may have gone wrong?
> >>
> >> Thanks in advance.
> >>
> >> Regards,
> >>
> >> Tim.
> >>
> >>
> >
> >
>
>
Previous Topic:newbie question tptp and agent controller
Next Topic:JVM error (vrash) on TPTP
Goto Forum:
  


Current Time: Tue Jul 22 15:39:22 EDT 2014

Powered by FUDForum. Page generated in 0.02178 seconds