"URI has an authority component" error
![](http://jazz.net/_images/myphoto/a340bf9bfd70851662d89f4a5d014ef8.jpg)
Folks,
We set up a new 2.0.0.1 server to test LDAP integration. We have a user who has JazzUsers and JazzProjectAdmins roles. He has a Developer license assigned, and on a sample project, he is a Team Member.
When he starts RTC, his "Work Items" pane at the bottom of Eclipse says "Could not create the view: URI has an authority component." Then there's a nice long stack trace (which I've included below). Any idea what this could be?
Thanks,
Mike
We set up a new 2.0.0.1 server to test LDAP integration. We have a user who has JazzUsers and JazzProjectAdmins roles. He has a Developer license assigned, and on a sample project, he is a Team Member.
When he starts RTC, his "Work Items" pane at the bottom of Eclipse says "Could not create the view: URI has an authority component." Then there's a nice long stack trace (which I've included below). Any idea what this could be?
Thanks,
Mike
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.<init>(File.java:369)
at com.ibm.team.foundation.rcp.core.internal.favorites.FavoritesManager.getFavorites(FavoritesManager.java:96)
at com.ibm.team.foundation.rcp.core.internal.favorites.FavoritesManager.getInstance(FavoritesManager.java:86)
at com.ibm.team.workitem.rcp.ui.internal.explorer.view.InitialWorkItemViewPage.getQueryFavorites(InitialWorkItemViewPage.java:251)
at com.ibm.team.workitem.rcp.ui.internal.explorer.view.InitialWorkItemViewPage.createControl(InitialWorkItemViewPage.java:170)
at com.ibm.team.workitem.rcp.ui.internal.explorer.view.AbstractWorkItemExplorer.createPartControl(AbstractWorkItemExplorer.java:355)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:668)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:968)
at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2593)
at org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWindow.java:2873)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2854)
at org.eclipse.ui.internal.WorkbenchWindow$19.runWithException(WorkbenchWindow.java:2171)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1363)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2295)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
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:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
4 answers
![](http://jazz.net/_images/myphoto/a340bf9bfd70851662d89f4a5d014ef8.jpg)
OK, problem fixed! The user's problem was that his Eclipse workspace was a UNC path to a network share (ie, \\somecomputer\share\myworkspace)... Apparently that messes up a bunch of RTC client stuff. For example, it also told him when he tried to create a defect that he didn't have "modify process specification" permission, and only the header of the defect would show up. Very strange! I suggest maybe you check for a UNC path on the Eclipse workspace when starting up and inform the user that it's not supported in RTC, instead of this vague error :)
Thanks,
Mike
Thanks,
Mike