Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 243213

Summary: HTTP recording hangs with standalone Agent Controller
Product: z_Archived Reporter: Sean Lamers <slamers>
Component: TPTPAssignee: Bing Xu <xubing>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: andykong, barnard, jgwest, jkubasta, newboya1988, xubing
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: closed461
Attachments:
Description Flags
Update code to load sub-plugin config files on Linux. none

Description Sean Lamers CLA 2008-08-05 14:38:44 EDT
Build: 4.5.1-200808010100

When the standalone AC is used, HTTP recording hangs while "connecting to Agent Controller on localhost." The following message is repeatedly output to the shell:

Exception in thread "org.eclipse.hyades.execution.core.task.ReusableThread@4380438" java.lang.NullPointerException
        at org.eclipse.hyades.execution.local.util.AgentControllerDescriptor.versionIsAtLeast(AgentControllerDescriptor.java:67)
        at org.eclipse.hyades.execution.local.util.AgentControllerDescriptor.isVersionAtLeast(AgentControllerDescriptor.java:194)
        at org.eclipse.hyades.execution.local.file.FileManagerFactory$3.run(FileManagerFactory.java:413)
        at org.eclipse.hyades.execution.core.task.ReusableThread.run(ReusableThread.java:131)
        at java.lang.Thread.run(Thread.java:810)

It should also be noted that if the IAC is used, HTTP recording fails with a message box stating that it cannot connect to the Agent Controller on localhost.

Steps to reproduce:
1. Start the standalone AC on the local machine.
2. Start eclipse and create a new workspace.
3. Go to Window->Preferences, then click on Test->TPTP URL->URL recorder and set the browser to use in the recording process as well as the path to its executable
4. Go to File->New->Other and click on Test->Test from Recording and follow the instructions to perform the test.

To reproduce with the IAC, do not start the standalone AC in step 1.
Comment 1 Bing Xu CLA 2008-08-07 11:54:19 EDT
Created attachment 109422 [details]
Update code to load sub-plugin config files on Linux.
Comment 2 Bing Xu CLA 2008-08-07 11:54:54 EDT
Jonathan, can you review the change?
Comment 3 Jonathan West CLA 2008-08-07 12:03:31 EDT
Patch is good.
Comment 4 jkubasta CLA 2008-08-07 13:40:13 EDT
patch committed to Head with PMC approval
Comment 5 Tony Wang CLA 2008-08-07 14:25:59 EDT
*** Bug 243426 has been marked as a duplicate of this bug. ***
Comment 6 Eugene Chan CLA 2008-08-08 13:18:57 EDT
*** Bug 243517 has been marked as a duplicate of this bug. ***
Comment 7 Bing Xu CLA 2008-08-13 11:48:37 EDT
*** Bug 243784 has been marked as a duplicate of this bug. ***
Comment 8 Paul Slauenwhite CLA 2009-09-24 14:32:55 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.