| Summary: | Egit does not work in e4 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Lars Vogel <Lars.Vogel> | ||||||
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | daniel_megert, Lars.Vogel, niels, pwebster, remy.suen, thatnitind | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 370570, 327982, 331258, 331259, 334136, 341933, 344704, 345354, 349721, 350834, 351350, 351358, 352149, 352380, 352382, 352462, 354831, 355118, 362201 | ||||||||
| Bug Blocks: | 330957 | ||||||||
| Attachments: |
|
||||||||
|
Description
Lars Vogel
1.) Git Repo view does not work 2.) History view does not work 3.) Most Team actions do not work No error stack trace? (In reply to comment #0) > Created an attachment (id=183955) [details] > OneOfManyErrors :o I read that as OutOfMemoryError. There are problems retrieving commands from the command service it seems.
java.lang.NullPointerException
at org.eclipse.egit.ui.internal.repository.RepositoriesViewContentProvider.<init>(RepositoriesViewContentProvider.java:87)
at org.eclipse.egit.ui.internal.clone.GitSelectRepositoryPage.createControl(GitSelectRepositoryPage.java:96)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
I however cannot get the CCE outlined in attachment 183955 [details]. How did you get it, Lars? I tried selecting a file in the 'Package Explorer' and showing the history of that and also from selecting the file via the Java editor and neither of those two triggered the error.
Created attachment 183964 [details]
howToGetTheError
Here is how I get the error.
(In reply to comment #5) > Created an attachment (id=183964) [details] > howToGetTheError Thanks. I was going through the 'Team' submenu instead of the 'Show In' one. Does opening the 'History' view through the 'Team' submenu work for you? So either something is wrong with our ISources.SHOW_IN_INPUT and ISources.SHOW_IN_SELECTION handling or EGit is eagerly casting instead of using the adapter pattern. Will have to take a look see... (In reply to comment #5) > Created an attachment (id=183964) [details] > howToGetTheError Lars, I am getting this error on 3.x too. :O Please confirm, thanks. java.lang.ClassCastException: org.eclipse.jdt.internal.core.CompilationUnit cannot be cast to org.eclipse.core.resources.IResource at org.eclipse.egit.ui.internal.history.GitHistoryPage.inputSet(GitHistoryPage.java:902) at org.eclipse.team.ui.history.HistoryPage.setInput(HistoryPage.java:59) at org.eclipse.egit.ui.internal.history.GitHistoryPage.setInput(GitHistoryPage.java:845) at org.eclipse.team.internal.ui.history.GenericHistoryView.showHistoryPageFor(GenericHistoryView.java:738) at org.eclipse.team.internal.ui.history.GenericHistoryView.showHistoryFor(GenericHistoryView.java:691) at org.eclipse.team.internal.ui.history.GenericHistoryView.showHistoryFor(GenericHistoryView.java:925) at org.eclipse.team.internal.ui.history.GenericHistoryView.show(GenericHistoryView.java:979) at org.eclipse.ui.internal.ShowInHandler.execute(ShowInHandler.java:78) 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.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820) at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806) at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) (In reply to comment #7) > Lars, I am getting this error on 3.x too. :O Please confirm, thanks. See bug 331257. Remy, have a look at the Git repository view. You see the icons missing which are displayed in Eclipse 3.6. (In reply to comment #1) > 1.) Git Repo view does not work Besides the icons (bug 331258) and the content provider failing to load (bug 331259), was there something else you had in mind, Lars? > 2.) History view does not work It works for you if you use the 'Team' submenu, correct? If not, please let me know what else is broken. > 3.) Most Team actions do not work I tried a few and they either worked or they failed (because of bug 331259). Did you notice anything else? Thanks for bringing all of this to our attention, Lars! Hi Remy, I thinks that is about that I can see. Once the errors have been fixed, I'm happy to test and try to find new errors.:-) Best regards, Lars Fixed in Eclipse 4.2.1 |