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

Bug 202341

Summary: Complete Crash on Profile Monitor Selection
Product: z_Archived Reporter: Daniel Spiewak <djspiewak>
Component: TPTPAssignee: Jonathan West <jgwest>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: ewchan, jkubasta, samwai
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: closed471

Description Daniel Spiewak CLA 2007-09-05 18:05:57 EDT
With a fresh install of TPTP (from the Europa release), I attempted to profile a pre-existing Java launch configuration.  When opening the "Profile Dialog" and selecting the launch configuration, the Monitor tab shows an error.  Clicking on the tab allowed me to briefly glimpse a checkbox list-like control with a single, disabled option labelled "Pending".  Approximately 2-3 seconds after I selected the launch configuration, Eclipse completely shutdown without any warning or error message (not even the "Eclipse crashed" dialog which normally shows up when you kill Eclipse).  The error log shows the following.  This has happened several times for me and is perfectly repeatable.

-- Error Log --
Date: Wed Sep 05 16:54:17 CDT 2007
Message: unknown protocol: c
Severity: Error
Plugin ID: org.eclipse.tptp.platform.iac.administrator
Stack Trace:
java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at org.eclipse.tptp.platform.iac.administrator.internal.common.AdminUtil.parseFile(AdminUtil.java:79)
at org.eclipse.tptp.platform.iac.administrator.internal.common.AdminUtil.isConfigurationValid(AdminUtil.java:643)
at org.eclipse.tptp.platform.iac.administrator.internal.startstop.AutoStartStop.startIAC(AutoStartStop.java:81)
at org.eclipse.hyades.internal.execution.local.control.NodeImpl.connect(NodeImpl.java:283)
at org.eclipse.hyades.security.internal.util.BaseConnectUtil.insecureConnect(BaseConnectUtil.java:369)
at org.eclipse.hyades.security.internal.util.BaseConnectUtil.connect(BaseConnectUtil.java:255)
at org.eclipse.hyades.security.internal.util.BaseConnectUtil.connect(BaseConnectUtil.java:540)
at org.eclipse.tptp.platform.common.ui.trace.internal.util.PDCoreUtil.profileConnect(PDCoreUtil.java:827)
at org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIDelegateHelper$JVMVersionDetector.run(PIDelegateHelper.java:473)
at java.lang.Thread.run(Unknown Source)
Comment 1 Jonathan West CLA 2007-09-06 12:33:40 EDT
Daniel, if you still have it available, can you either ZIP your workspace and post it here, or email it to my email address? You can strip any source from the workspace ZIP, I only need the launch configuration.

Also, in order to get info about your configuration, can you do the following:

Using the Eclipse you are able to reproduce the error in, go to Help -> About Eclipse SDK -> Configuration Details. Hit 'Copy to Clipboard', then open Notepad. Paste into Notepad, save and upload the file here (or send it to me). 
Thanks!
Comment 2 Daniel Spiewak CLA 2007-09-06 13:55:50 EDT
I'm gonna have to email it directly to your address since Bugzilla won't let me attach anything that large (even with sources stripped).
Comment 3 Jonathan West CLA 2007-09-06 14:27:29 EDT
Thank Daniel, I got them... just a couple more questions:

Can you tell me what the value is under Window -> Preferences -> Agent Controller -> Integrated Agent Controller -> 'Java executable that will be used by IAC:'?

And did you download TPTP directly from 'www.eclipse.org' through your web browser, or did you get it using the 'Software Updates' functionality inside Eclipse?
Comment 4 Daniel Spiewak CLA 2007-09-06 14:56:56 EDT
C:\Program Files\Java\jre1.6.0\bin\java.exe

I got it from the Europa Discovery Site.
Comment 5 Jonathan West CLA 2007-09-06 16:34:52 EDT
Hmmm.. I've been unable to reproduce the bug so far... which of your launch configurations do you see this bug with?
Comment 6 Daniel Spiewak CLA 2007-09-06 17:00:28 EDT
Crud, I uploaded the wrong workspace.  Sry about that.  Emailing a new one...

The launch configuration is "ActiveObjects Benchmark Driver".
Comment 7 Jonathan West CLA 2007-09-07 15:02:12 EDT
Hey Daniel, this is almost certainly a duplicate of bug 190699, which has been marked as resolved and for which a patch has been submitted. The version you're using doesn't include the fix; the patch has been checked in under release 4.4.1, which should be out within the next three weeks or so. Thanks for your help in tracking this one down!

*** This bug has been marked as a duplicate of bug 190699 ***
Comment 8 Kathy Chan CLA 2010-11-18 18:56:20 EST
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.