| Summary: | NPE in RepositoryUtil.getRepositoryName | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Nicolas Bros <nicolas.bros> |
| Component: | Core | Assignee: | Project Inbox <egit.core-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | caniszczyk, david, marc-philip.werner, robin.rosenberg |
| Version: | 0.9.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Nicolas Bros
What was the name of your repository? It could be NLS related... (In reply to comment #1) > What was the name of your repository? It could be NLS related... It was: C:\Users\Nicolas\workspaceOcaIDE\OcamlIndexer\.git Hi, got something very similar in Indigo on SLES 11.1, Version is 1.0.0.201106090707-r. It seems to happen when opening the Git Staging view. Repository name is "src" and it's at /home/d026948/HDB/git1/sys/src (here's the .git folder). It's displayed properly in the Git Repositories view. ava.lang.NullPointerException at org.eclipse.egit.core.RepositoryUtil.getRepositoryName(RepositoryUtil.java:239) at org.eclipse.egit.ui.internal.staging.StagingView.getRepositoryName(StagingView.java:1047) at org.eclipse.egit.ui.internal.staging.StagingView.reload(StagingView.java:847) at org.eclipse.egit.ui.internal.staging.StagingView.access$0(StagingView.java:841) at org.eclipse.egit.ui.internal.staging.StagingView$13.run(StagingView.java:517) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 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$6.handleEvent(ActionContributionItem.java:452) 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:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) 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:344) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) (In reply to comment #3) > Hi, > got something very similar in Indigo on SLES 11.1, Version is > 1.0.0.201106090707-r. It seems to happen when opening the Git Staging view. > Repository name is "src" and it's at /home/d026948/HDB/git1/sys/src (here's the > .git folder). It's displayed properly in the Git Repositories view. NPE was gone when I activated "Link with Editor and Selection". Regards MP Is this still a problem. We should not have NPE even without linking views. Too old to go after. Everything's changed. |