Vault 5 with Eclipse 3.3

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
philclements
Posts: 7
Joined: Tue Aug 11, 2009 6:24 am

Vault 5 with Eclipse 3.3

Post by philclements » Tue Aug 11, 2009 6:51 am

I am having problems running Vault 5 on Eclipse 3.3.1 with CDT. The operating system is Opensuse 11.

When I try to open a repository using Team->Share Project. I get a dialog box with "Configure Project Reason: Internal error occurred."
The details has "the page [com.sourcegear.vault.team.wizards.LoginWizardPage] must be used with an ExtendedWizard

Also the Preference->Vault pages have "You must be connected to use this page" on them.

I am using java-1.6.0-sun-1.6.0.

It is working with Eclipse 3.5 CDT, but I am unable to upgrade to this version due modifications made to CDT by my toolset vendor.

Any ideas how to get pass this point.

Phil

shannon

Re: Vault 5 with Eclipse 3.3

Post by shannon » Tue Aug 11, 2009 8:57 am

I'll need a full stack trace to make sense of that error. Can you post the Eclipse error log? <your workspace>/.metadata/.log should be the path.

philclements
Posts: 7
Joined: Tue Aug 11, 2009 6:24 am

Re: Vault 5 with Eclipse 3.3

Post by philclements » Tue Aug 11, 2009 9:42 am

Here is the stack trace

!SESSION 2009-08-11 16:38:40.721 -----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86 -data /home/phil/workspace

!ENTRY org.eclipse.team.ui 4 0 2009-08-11 16:38:54.211
!MESSAGE Configure Project
!STACK 0
java.lang.IllegalArgumentException: the page [com.sourcegear.vault.team.wizards.LoginWizardPage] must be used with an ExtendedWizard
at com.cdesg.uihelper.wizard.ExtendedWizardPage.setWizard(ExtendedWizardPage.java:153)
at org.eclipse.jface.wizard.Wizard.addPage(Wizard.java:133)
at org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.addPages(ConfigureProjectWizard.java:84)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:540)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
at org.eclipse.jface.window.Window.open(Window.java:785)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(ConfigureProjectAction.java:53)
at org.eclipse.team.internal.ui.actions.TeamAction$2.run(TeamAction.java:237)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:234)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction.execute(ConfigureProjectAction.java:45)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:481)
at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:515)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

shannon

Re: Vault 5 with Eclipse 3.3

Post by shannon » Tue Aug 11, 2009 10:05 am

How did you install the plugin? Did you use the update manager and point it at our update site or some other method?

philclements
Posts: 7
Joined: Tue Aug 11, 2009 6:24 am

Re: Vault 5 with Eclipse 3.3

Post by philclements » Tue Aug 11, 2009 10:35 am

I used the the instructions on the website.
(ie Help->Software Updates->Find and Install with URL of http://download.sourcegear.com/Vault/latest/update)

shannon

Re: Vault 5 with Eclipse 3.3

Post by shannon » Tue Aug 11, 2009 10:46 am

I have a sneaking suspicion that something went wrong with your install/download. I just ran a test with Eclipse 3.3.1 with and without CDT installed and it works fine for me.

I'd like to have you re-install. Shut down Eclipse, go into your plugins and features directories and delete all the com.cdesg.* and com.sourcegear.* jars/directories. Start up Eclipse again and install the Vault plugin the same way you did before, restarting Eclipse when it prompts you.

Let me know if that fixes it.

philclements
Posts: 7
Joined: Tue Aug 11, 2009 6:24 am

Re: Vault 5 with Eclipse 3.3

Post by philclements » Tue Aug 11, 2009 12:59 pm

I have removed all traces of com.cdesg* and com.sourcegear* from my system.
When I go to Team->Share Project there are no version control systems listed.
Then reinstalled using the updated manager.
Still having same problems.

Below is the .log file

!SESSION 2009-08-11 19:43:21.067 -----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86 -data /home/phil/workspace

!ENTRY org.eclipse.cdt.core 4 0 2009-08-11 19:43:41.734
!MESSAGE Error while parsing /home/phil/workspace/SysController/ControlScreen.c.
!SUBENTRY 1 org.eclipse.cdt.core 4 4 2009-08-11 19:43:41.734
!MESSAGE Error while parsing /opt/ecos/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h.
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 314624
at org.eclipse.cdt.internal.core.pdom.db.Database.getChunk(Database.java:193)
at org.eclipse.cdt.internal.core.pdom.db.Database.malloc(Database.java:242)
at org.eclipse.cdt.internal.core.pdom.dom.PDOMFile.<init>(PDOMFile.java:84)
at org.eclipse.cdt.internal.core.pdom.PDOM.addFile(PDOM.java:266)
at org.eclipse.cdt.internal.core.pdom.WritablePDOM.addFile(WritablePDOM.java:53)
at org.eclipse.cdt.internal.core.index.WritableCIndex.addFile(WritableCIndex.java:41)
at org.eclipse.cdt.internal.core.pdom.PDOMWriter.addToIndex(PDOMWriter.java:446)
at org.eclipse.cdt.internal.core.pdom.PDOMWriter.addSymbols(PDOMWriter.java:213)
at org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.parseTU(PDOMIndexerTask.java:334)
at org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.internalParseTUs(PDOMIndexerTask.java:219)
at org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.parseTUs(PDOMIndexerTask.java:192)
at org.eclipse.cdt.internal.core.pdom.indexer.fast.PDOMFastIndexerTask.run(PDOMFastIndexerTask.java:102)
at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:90)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2009-08-11 19:48:43.737 -----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86 -data /home/phil/workspace

!ENTRY org.eclipse.ui.workbench 4 2 2009-08-11 19:48:56.084
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.ExceptionInInitializerError
at com.sourcegear.vault.team.LabelDecorator.decorate(LabelDecorator.java:72)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:253)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at com.sourcegear.vault.team.TeamPlugin.getPluginID(TeamPlugin.java:105)
at com.sourcegear.vault.team.RepositoryProvider.findMyID(RepositoryProvider.java:53)
at com.sourcegear.vault.team.RepositoryProvider.<clinit>(RepositoryProvider.java:12)
... 10 more

!ENTRY org.eclipse.ui 4 4 2009-08-11 19:48:56.087
!MESSAGE Exception in Decorator

!ENTRY org.eclipse.ui 4 4 2009-08-11 19:48:56.087
!MESSAGE java.lang.ExceptionInInitializerError
!STACK 0
java.lang.NullPointerException
at com.sourcegear.vault.team.TeamPlugin.getPluginID(TeamPlugin.java:105)
at com.sourcegear.vault.team.RepositoryProvider.findMyID(RepositoryProvider.java:53)
at com.sourcegear.vault.team.RepositoryProvider.<clinit>(RepositoryProvider.java:12)
at com.sourcegear.vault.team.LabelDecorator.decorate(LabelDecorator.java:72)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:253)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2009-08-11 19:48:58.019 -----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86 -data /home/phil/workspace

!ENTRY org.eclipse.team.ui 4 0 2009-08-11 19:49:17.850
!MESSAGE Configure Project
!STACK 0
java.lang.IllegalArgumentException: the page [com.sourcegear.vault.team.wizards.LoginWizardPage] must be used with an ExtendedWizard
at com.cdesg.uihelper.wizard.ExtendedWizardPage.setWizard(ExtendedWizardPage.java:153)
at org.eclipse.jface.wizard.Wizard.addPage(Wizard.java:133)
at org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.addPages(ConfigureProjectWizard.java:84)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:540)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
at org.eclipse.jface.window.Window.open(Window.java:785)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(ConfigureProjectAction.java:53)
at org.eclipse.team.internal.ui.actions.TeamAction$2.run(TeamAction.java:237)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:234)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction.execute(ConfigureProjectAction.java:45)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:481)
at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:515)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

shannon

Re: Vault 5 with Eclipse 3.3

Post by shannon » Tue Aug 11, 2009 1:21 pm

Alright, so what exactly does this mean: "modifications made to CDT by my toolset vendor"?

The other two errors in the log seem to say that something is going wrong with the plugin initialization.

Can you download a plain vanilla Eclipse 3.3 and try the plugin with that?

philclements
Posts: 7
Joined: Tue Aug 11, 2009 6:24 am

Re: Vault 5 with Eclipse 3.3

Post by philclements » Tue Aug 11, 2009 1:57 pm

I am using ecospro from ecoscentric (www.ecoscentric.com) which supplies a version of eclipse which I understand has modified the CDT to support the arm-elf- compiler and tools.

shannon

Re: Vault 5 with Eclipse 3.3

Post by shannon » Tue Aug 11, 2009 2:09 pm

Well, if you try the plugin with a regular eclipse installation and it works, that narrows it down to a compatibility problem with this product. At that point, I would reccommend starting a dialog with their support team to see if they can shed any light on what's going on.

philclements
Posts: 7
Joined: Tue Aug 11, 2009 6:24 am

Re: Vault 5 with Eclipse 3.3

Post by philclements » Tue Aug 11, 2009 3:06 pm

I have now tested it with a standard 3.3 CDT install and it works. I will raise it with ecoscentric as it has to be an incompatibility with their modifications.

Thanks for your help.

shannon

Re: Vault 5 with Eclipse 3.3

Post by shannon » Tue Aug 11, 2009 3:16 pm

No problem...if they need any extra information or we can help in some way, just let us know.

philclements
Posts: 7
Joined: Tue Aug 11, 2009 6:24 am

Re: Vault 5 with Eclipse 3.3

Post by philclements » Thu Aug 13, 2009 9:06 am

Ecoscentric have got to bottom of the problem.

For the vault eclipse plug-in to work, it needs the org.eclipse.cvs plugin to be installed.

Once I had installed the cvs (from "Europa Discovery Site" -> "Collaboration Tools" -> CVS client) and restarted eclipse I could use Vault.

Thanks for your help
Phil

shannon

Re: Vault 5 with Eclipse 3.3

Post by shannon » Thu Aug 13, 2009 9:29 am

Thanks for the update.

That does make some sense now that you say it. CVS is the basis for most of the team provisions in Eclipse.

Post Reply