Eclipse Juno + ClearCase 7.1.2.02: An internal error occurred during: "Refreshing ClearCase Resource States".

Help
2013-07-16
2013-08-14
1 2 > >> (Page 1 of 2)
  • Zak Taccardi

    Zak Taccardi - 2013-07-16

    Hi - I'd love to by able to use eclipse Juno with clearcase, but the plugin seems to have some issues for me. Any help is greatly appreciated.

    Link of Import and Screencast
    http://screencast.com/t/CRxn7dngK

    On refreshing states:
    eclipse.buildId=M20130204-1200
    java.version=1.7.0_25
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

    Error
    Tue Jul 16 14:26:42 EDT 2013
    An internal error occurred during: "Refreshing ClearCase Resource States".

    java.lang.NullPointerException
    at net.sourceforge.clearcase.commandline.SingleProcessCommandLauncher.execute(SingleProcessCommandLauncher.java:443)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.launch(ClearCaseCLIImpl.java:1363)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.buildAndExecuteCommand(ClearCaseCLIImpl.java:650)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.buildAndExecuteCommand(ClearCaseCLIImpl.java:639)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.ccOperation(ClearCaseCLIImpl.java:614)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.getElementStates(ClearCaseCLIImpl.java:872)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.getElementState(ClearCaseCLIImpl.java:843)
    at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:265)
    at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:158)
    at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:146)
    at net.sourceforge.eclipseccase.StateCacheJob.execute(StateCacheJob.java:121)
    at net.sourceforge.eclipseccase.StateCacheJobQueue.executePendingJobs(StateCacheJobQueue.java:179)
    at net.sourceforge.eclipseccase.StateCacheJobQueue.run(StateCacheJobQueue.java:103)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

    On loading Eclipse:
    eclipse.buildId=M20130204-1200
    java.version=1.7.0_25
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

    Error
    Tue Jul 16 16:34:38 EDT 2013
    Could not instantiate provider net.sourceforge.eclipseccase.ClearCaseProvider for project CBSWebApp.

    org.eclipse.team.core.TeamException: Could not instantiate provider net.sourceforge.eclipseccase.ClearCaseProvider for project CBSWebApp.
    at org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
    at org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
    at org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
    at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:253)
    at org.eclipse.egit.ui.Activator$ResourceRefreshJob.triggerRefresh(Activator.java:401)
    at org.eclipse.egit.ui.Activator$2.windowActivated(Activator.java:265)
    at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:969)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:967)
    at org.eclipse.ui.internal.WorkbenchWindow$14.shellActivated(WorkbenchWindow.java:1783)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
    at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
    at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4976)
    at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
    at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
    at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
    at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:735)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:987)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    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:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

     
    Last edit: Zak Taccardi 2013-07-16
  • Mikael Petterson

    What version of the plugin are you using?

    //mike

     
  • Mikael Petterson

    Please also attach the eclipse log here.

    //mike

     
  • Zak Taccardi

    Zak Taccardi - 2013-07-17

    Using version: Eclipse ClearCase Integration 2.2.32.201307171942 net.sourceforge.eclipseccase.feature.group eclipse-ccase.sourceforge.net

    I attached the eclipse error log if that's what you're looking for.

    I don't think the issue you've linked is related to mine at all, my eclipse color theme plugin works fine so I think it's only related to the ClearCase plugin.

     
  • Larry Jones

    Larry Jones - 2013-07-17

    FWIW, I just ran into the exact same problem. I'm using the same version of Eclipse and the plugin as Zak and the traceback in my log matches his.

     
  • Mikael Petterson

    Thanks for input it was helpful. I found something that could be an issue.
    How do you install the plugin? Is the problem in previous versions?

    //mike

     
  • Zak Taccardi

    Zak Taccardi - 2013-07-17

    I haven't used this with previous versions of eclipse, so I don't know. I will uninstall it and reinstall it and show the screen cast to you shortly

     
  • Zak Taccardi

    Zak Taccardi - 2013-07-17

    I originally reported two errors, but the second error about an initialization error on loading eclipse doesn't actually occur repeatedly - that one just appeared somehow when I was installing/uninstalling the plugin.

    The refreshing clearcase states is the main issue.

     
  • Mikael Petterson

    Hi,
    Thanks for the Good screencast. Installation is correct.
    I hunted down the problem so I will fix it asap. However it will note be before the 28:th of July since I will be traveling. But I promise I will make a fix when I am back.
    //Mike

     
  • Zak Taccardi

    Zak Taccardi - 2013-07-18

    Okay great, thanks!

    We have to use clearcase for work, so this is important to our team so we can stop using IBM RAD that's based on an ancient version of Eclipse.

    It's amazing IBM has decided not to support the 64-bit plugin for Eclipse - aka support every PC that is being bought today. Thanks for picking up that slack!

     
  • Larry Jones

    Larry Jones - 2013-07-18

    Thanks from me, too!

     
  • Mikael Petterson

    I suspect this to be a Eclipse 4 problem. Did you try it with the eclipse 3.8? Did you get the same problem. If it is I need to make a new branch for eclipse 4.

    //mike

     
  • Mikael Petterson

    I don't know what your timezone is but is it possible to get a hold of you via chat?
    The we can improve time to fix this issue.

    //mike

     
  • Mikael Petterson

    Any luck with the fix?

    //Mike

     
  • Zak Taccardi

    Zak Taccardi - 2013-08-13

    Thanks for updating it - but I am still getting an error, albeit a different one.

    'An internal error occurred during: "Refreshing ClearCase Resource States".
    i/o error (java.io.IOException: Cannot run program "cleartool": CreateProcess error=2, The system cannot find the file specified)"'

    I am trying to associate a view that has been retrieved using Rational ClearCase Remote Client (Version: 7.1.2) - it's definitely a clearcase view

     
    Last edit: Zak Taccardi 2013-08-13
  • Mikael Petterson

    Hi,

    You are trying to use a ccrc view with the clearcase client and that is not possible since the view contains a mix of paths if I remember correct.
    If you shall use clearcase you need to create a base clearcase snapshotview or dynamic view.

    Is this the view you have been using all the time?

    br,

    //mike

     
    • Zak Taccardi

      Zak Taccardi - 2013-08-13

      When you say ClearCase client, do you mean your universal plugin for eclipse?

      My CCRC View contains some other files and an eclipse project, and that eclipse project is what I imported into Eclipse.

       
      • Mikael Petterson

        No I mean the client executable for base clearcase. CCRC views are not compatible with the plugin.

        //mike

         
  • Mikael Petterson

    Could you paste more of the log so I can see which line it is?

    br,

    //mike

     
  • Zak Taccardi

    Zak Taccardi - 2013-08-13

    Yes, this is what I have been using the whole time. Here's the log.

    null
    Error
    Tue Aug 13 11:58:59 EDT 2013
    An internal error occurred during: "Refreshing ClearCase Resource States".

    net.sourceforge.clearcase.ClearCaseException: i/o error (java.io.IOException: Cannot run program "cleartool": CreateProcess error=2, The system cannot find the file specified)
    at net.sourceforge.clearcase.ClearCase.error(ClearCase.java:720)
    at net.sourceforge.clearcase.ClearCase.error(ClearCase.java:627)
    at net.sourceforge.clearcase.commandline.SingleProcessCommandLauncher.execute(SingleProcessCommandLauncher.java:442)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.launch(ClearCaseCLIImpl.java:1363)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.buildAndExecuteCommand(ClearCaseCLIImpl.java:650)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.buildAndExecuteCommand(ClearCaseCLIImpl.java:639)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.ccOperation(ClearCaseCLIImpl.java:614)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.getElementStates(ClearCaseCLIImpl.java:872)
    at net.sourceforge.clearcase.ClearCaseCLIImpl.getElementState(ClearCaseCLIImpl.java:843)
    at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:265)
    at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:158)
    at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:146)
    at net.sourceforge.eclipseccase.StateCacheJob.execute(StateCacheJob.java:121)
    at net.sourceforge.eclipseccase.StateCacheJobQueue.executePendingJobs(StateCacheJobQueue.java:179)
    at net.sourceforge.eclipseccase.StateCacheJobQueue.run(StateCacheJobQueue.java:103)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Caused by: java.io.IOException: Cannot run program "cleartool": CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
    at java.lang.Runtime.exec(Runtime.java:617)
    at java.lang.Runtime.exec(Runtime.java:450)
    at java.lang.Runtime.exec(Runtime.java:347)
    at net.sourceforge.clearcase.commandline.SingleProcessCommandLauncher.assertSubprocessRunning(SingleProcessCommandLauncher.java:478)
    at net.sourceforge.clearcase.commandline.SingleProcessCommandLauncher.execute(SingleProcessCommandLauncher.java:383)
    ... 13 more
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:376)
    at java.lang.ProcessImpl.start(ProcessImpl.java:136)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
    ... 18 more

     
    Last edit: Zak Taccardi 2013-08-13
  • Mikael Petterson

    According to log you don't have the clearcase client installed on your pc.

    br,

    //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