From: SourceForge.net <no...@so...> - 2012-05-30 08:12:13
|
Bugs item #3528604, was opened at 2012-05-21 07:49 Message generated for change (Comment added) made by erebofv You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460297&aid=3528604&group_id=50595 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: eclipse-ccase Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rebecka (erebofv) Assigned to: Nobody/Anonymous (nobody) Summary: Error when exporting Team Project Set Initial Comment: When trying to export a Team Project Set, it works to right click on the project and select Export --> Team --> Team Project Set, but when the same thing is done through File --> Export there is an error in the error log and the .psf file is created but is empty. Steps to reproduce: Import a project with File --> Import --> General --> Existing Projects into Workspace. Right click on the project and choose Team --> Associate with ClearCase. Go to File --> Export --> Team --> Team Project Set, select the project and choose a path for the .psf file, click Finish. The export window will not disappear, the .psf file will be empty, and the following error will appear in the error log: !MESSAGE Unhandled event loop exception !STACK 0 net.sourceforge.clearcase.ClearCaseException: i/o error: no result from cleartool at net.sourceforge.clearcase.ClearCase.error(ClearCase.java:689) at net.sourceforge.clearcase.ClearCase.error(ClearCase.java:561) at net.sourceforge.clearcase.ClearCaseCLIImpl.errorEmptyResult(ClearCaseCLIImpl.java:230) at net.sourceforge.clearcase.ClearCaseCLIImpl.getViewLocation(ClearCaseCLIImpl.java:946) at net.sourceforge.eclipseccase.ClearCaseProvider.getViewRoot(ClearCaseProvider.java:550) at net.sourceforge.eclipseccase.ClearCaseProvider.getVobName(ClearCaseProvider.java:561) at net.sourceforge.eclipseccase.ClearCaseProjectSetSerializer.asReference(ClearCaseProjectSetSerializer.java:47) at org.eclipse.team.core.ProjectSetCapability.asReference(ProjectSetCapability.java:144) at org.eclipse.team.internal.ui.wizards.ProjectSetExportWizard$1.run(ProjectSetExportWizard.java:135) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008) at org.eclipse.team.internal.ui.wizards.ProjectSetExportWizard.performFinish(ProjectSetExportWizard.java:55) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:98) at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384) Configuration detailes: SUSE Linux Enterprise Desktop 10 (x86_64) Dynamic ClearCase view Plugin version: 2.2.15.201203220751 Eclipse version: RSARTE 8.0.4, based on Eclipse 3.6.2 (the problem did not occur for Eclipse Classic 3.6.2) ClearCase version: 7.1.1.04.00_2010D.D101123 ---------------------------------------------------------------------- >Comment By: Rebecka (erebofv) Date: 2012-05-30 01:12 Message: Here on this page, under "Attached Files". I called them "logoutputsuccess.txt" and "logoutput.txt". ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2012-05-30 01:02 Message: Where did you upload the files? //mike ---------------------------------------------------------------------- Comment By: Rebecka (erebofv) Date: 2012-05-29 04:26 Message: I've uploaded two files with the console output from when I get the error and from when I don't. ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2012-05-29 03:34 Message: I have added debug for the cc commando sent to server. The trace can be seen in the console. Paste output here. Instructions ========= - Remove clearcase plugin. If installed via p2 site use uninstall. ( Help --> Install New Software --> What is already installed). - Download zip from http://www.keepandshare.com/doc/view.php?id=4052230&da=y - Unzip into dropins folder <eclipse install dir>/dropins. - Restart Eclipse - Go to File --> Export --> Team --> Team Project Set, select the project and choose a path for the .psf file, click Finish - Paste output from console here. //mike ---------------------------------------------------------------------- Comment By: Rebecka (erebofv) Date: 2012-05-28 00:45 Message: If you think that might solve the problem I would be very grateful for a patch! ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2012-05-25 11:47 Message: You are right nothing obvious. What I can test is to extend the time we wait until we have output from cc command and send you a patch. What do you think? br, //mike ---------------------------------------------------------------------- Comment By: Rebecka (erebofv) Date: 2012-05-25 04:44 Message: I cannot see any obvious pattern for when it works or when it doesn't. These are the results I got from doing the tests at different times these last couple of days (GMT +2): 09:30 - one success, one failed 10:30 - two successes 11:30 - one success, one failed 12:30 - two failed 13:30 - two successes 14:30 - one failed, one success 15:30 - one success, one failed 16:30 - two successes 17:30 - one failed ---------------------------------------------------------------------- Comment By: Rebecka (erebofv) Date: 2012-05-23 04:39 Message: I'll have to gather some data and get back to you on that. ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2012-05-23 04:33 Message: Command seems to work even if I supspect that a / is missing. So it seems like a performance issue. Is there a difference if you try Go to File --> Export --> Team --> Team Project Set, select the project and choose a path for the .psf file, click Finish. In the morning or in the afternoon. br, //mike ---------------------------------------------------------------------- Comment By: Rebecka (erebofv) Date: 2012-05-23 03:49 Message: In that case the output is: ucm4e_tn /cc/setnview01_views01 ucm4e /cc/sekiview07_view40_1/ucm4e winview_stg /cc/sekiview05_view36_1/CME_views ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2012-05-23 03:37 Message: Correct should be: cleartool lsstgloc -view No more no less. Send output here. br, //mike ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2012-05-23 03:12 Message: Correction. Remove name of view after -view Sorry 'bout that. //mike ---------------------------------------------------------------------- Comment By: Rebecka (erebofv) Date: 2012-05-23 03:08 Message: When I execute "cleartool lsstgloc -vew erebofv_test34" (which is my current view) I get: cleartool: Error: No matching entries found for storage location "erebofv_test34". ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2012-05-23 02:58 Message: Hi, Since we issue the following command in our tool: 'cleartool lsstgloc -view <your view name> Can you try that from command line? And add the output from command here. Another reason could also be that that ClearCase is slow so that command is timing out ( since it happens randomly and that you get "net.sourceforge.clearcase.ClearCaseException: i/o error: no result from cleartool"). br, //mike ---------------------------------------------------------------------- Comment By: Rebecka (erebofv) Date: 2012-05-22 01:52 Message: This seems to happen randomly. Sometimes exporting through right clicking fails too. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460297&aid=3528604&group_id=50595 |