#330 Error when exporting Team Project Set

2.x
closed-fixed
5
2014-08-28
2012-05-21
Rebecka
No

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

Discussion

1 2 > >> (Page 1 of 2)
  • Rebecka

    Rebecka - 2012-05-22

    This seems to happen randomly. Sometimes exporting through right clicking fails too.

     
  • Mikael Petterson

    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

     
  • Rebecka

    Rebecka - 2012-05-23

    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".

     
  • Mikael Petterson

    Correction. Remove name of view after -view

    Sorry 'bout that.

    //mike

     
  • Mikael Petterson

    Correct should be:

    cleartool lsstgloc -view

    No more no less.

    Send output here.

    br,

    //mike

     
  • Rebecka

    Rebecka - 2012-05-23

    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

     
  • Mikael Petterson

    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

     
  • Rebecka

    Rebecka - 2012-05-23

    I'll have to gather some data and get back to you on that.

     
  • Rebecka

    Rebecka - 2012-05-25

    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

     
  • Mikael Petterson

    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

     
  • Rebecka

    Rebecka - 2012-05-28

    If you think that might solve the problem I would be very grateful for a patch!

     
  • Mikael Petterson

    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

     
  • Rebecka

    Rebecka - 2012-05-29

    Console output from a failed test

     
  • Rebecka

    Rebecka - 2012-05-29

    Console output from a successful test

     
  • Rebecka

    Rebecka - 2012-05-29

    I've uploaded two files with the console output from when I get the error and from when I don't.

     
  • Mikael Petterson

    Where did you upload the files?

    //mike

     
  • Rebecka

    Rebecka - 2012-05-30

    Here on this page, under "Attached Files". I called them "logoutputsuccess.txt" and "logoutput.txt".

     
  • Rebecka

    Rebecka - 2012-05-30

    *the second file name should of course have been "logoutputfail.txt".

     
  • Mikael Petterson

    I will dig into it.

    //mike

     
  • Mikael Petterson

    • assigned_to: nobody --> eraonel
     
  • Mikael Petterson

    When it fails do you always get the same trace in log file? ( You can find the .log file under <workspace>/.metadata)

    br,

    //mike

     
  • Rebecka

    Rebecka - 2012-06-01

    Yes, always the same.

     
  • Mikael Petterson

    And when it is ok you don't see this in log?
    //mike

     
  • Rebecka

    Rebecka - 2012-06-01

    No, when it works there is nothing in the log about this plugin.

     
  • Mikael Petterson

    Also is the psf file generated in both cases? If yes can you attach both files?

    //mike

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks