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

Bug 195818

Summary: Running Junit test using TPTP waits on "Preparing and deploying" in progress view
Product: z_Archived Reporter: divyakumar <divyakumarjain>
Component: TPTPAssignee: Bing Xu <xubing>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: dipi76, jkubasta
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: closed460
Attachments:
Description Flags
screen shot of Process view
none
Plugin error screen shot
none
Configuration file
none
Log file none

Description divyakumar CLA 2007-07-09 08:32:45 EDT
Build ID: 3.3

Steps To Reproduce:
1. Run any Standalone Java Application Junit test case on eclipse 3.3 with TPTP 4.4 (eclipse released with europa)

2.Process view shows "Launching: Launching delegate..." 31% and sub task shows Preparing and deploying.

process is not completed here after.


More information:
Comment 1 divyakumar CLA 2007-07-09 08:35:53 EDT
Created attachment 73308 [details]
screen shot of Process view
Comment 2 divyakumar CLA 2007-07-10 09:01:02 EDT
Created attachment 73417 [details]
Plugin error screen shot
Comment 3 divyakumar CLA 2007-07-10 09:33:15 EDT
May be we can concentrate on following error log

[startIAC: Error Stream] RAServer generated the following output: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor
Comment 4 divyakumar CLA 2007-07-12 09:36:58 EDT
I was able to solve this problem by disabling firewall on my system. we can close this bug
Comment 5 divyakumar CLA 2007-07-12 14:07:49 EDT
(In reply to comment #4)
> I was able to solve this problem by disabling firewall on my system. we can
> close this bug
> 

Sorry i was not able to solve this problem. Disabling firewall helped me to run test on Standalone Agent Controller. But i am not able to test my application on Integrated Agent Controller.
Comment 6 Samson Wai CLA 2007-11-27 09:30:28 EST
Hi Bing. I have transferred my bugs to you for triage. Thanks.
Comment 7 Bing Xu CLA 2008-01-18 11:42:38 EST
Did you enable IAC?  Which JVM are you using?
Comment 8 Bing Xu CLA 2008-03-06 16:06:10 EST
Divya, can you provide more info on how IAC failed like JVM version, build number, error message etc.
Comment 9 Dian Pitaloka CLA 2008-03-10 04:45:46 EDT
(In reply to comment #8)
> Divya, can you provide more info on how IAC failed like JVM version, build
> number, error message etc.
> 

I have the same problem when following the tutorial in Eclipse Help on using Datapool.


My system is:

eclipse.buildId=M20071023-1652
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=in_ID
Command-line arguments:  -os win32 -ws win32 -arch x86

I don't see any exception message related with tptp in the .log file.
Comment 10 Bing Xu CLA 2008-04-04 12:11:25 EDT
Dian, does the stand-alone work for you too or you just got IAC hanging.  Did you get TPTP through download or Eclipse Update Manager?

Can anyone provide their IAC config and log files located at <eclipse>/plugins/org.eclipse.tptp.platform.ac.<platform>_version>/agent_controller/config.
Comment 11 Dian Pitaloka CLA 2008-04-08 18:30:25 EDT
(In reply to comment #10)
> Dian, does the stand-alone work for you too or you just got IAC hanging.  Did
> you get TPTP through download or Eclipse Update Manager?
> 
> Can anyone provide their IAC config and log files located at
> <eclipse>/plugins/org.eclipse.tptp.platform.ac.<platform>_version>/agent_controller/config.
> 

Hi Bing,
I don't remember if I tried the stand-alone version or not.

And here I attached the files per your request.
Comment 12 Dian Pitaloka CLA 2008-04-08 18:32:00 EDT
Created attachment 95284 [details]
Configuration file
Comment 13 Dian Pitaloka CLA 2008-04-08 18:32:41 EDT
Created attachment 95285 [details]
Log file
Comment 14 Bing Xu CLA 2008-04-09 14:51:19 EDT
Hi Dian,

From your config file, seem there is a SPACE in your Eclipse path (after 'Eclipse3.3').  If this is the case, this might be related to bug 201819 which has been fixed in 4.5.   Can you confirm?
Comment 15 Bing Xu CLA 2008-04-14 16:40:55 EDT
Dian, any updates?
Comment 16 Dian Pitaloka CLA 2008-04-19 08:32:14 EDT
(In reply to comment #15)
> Dian, any updates?
> 

Hello Bing,

Sorry for giving a slow response.
I have switched my operating system from Windows to Linux a while ago and I tried to regenerate the problem.

After facing several other problems and fixed it, I can run the test successfully.
I don't find this problem anymore.
Comment 17 Bing Xu CLA 2008-04-24 09:16:15 EDT
Closing.
Comment 18 Paul Slauenwhite CLA 2009-06-30 12:10:47 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.