Community
Participate
Working Groups
Follow up on bug 471782 comment 81. The NPE from bug 471782 seem to be happen again in 4.5.2, unfortunately there are no steps to reproduce yet, and the old steps (see bug 471782 comment 39) are not causing the NPE anymore. The two exception stack traces reported both have something to do with SVN (coincidence?). We need exact steps to reproduce, the stack is unfortunately too late to know why it happen again. The 4.5.2 stacks as reported: java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1271) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4238) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4234) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4214) at org.eclipse.team.svn.ui.operation.ShowHistoryViewOperation$1.run(ShowHistoryViewOperation.java:85) and java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1271) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4238) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4234) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4214) at org.tigris.subversion.subclipse.ui.internal.TeamAction.showView(TeamAction.java:384) at org.tigris.subversion.subclipse.ui.actions.ShowResourceInHistoryAction.access$0(ShowResourceInHistoryAction.java:1) at org.tigris.subversion.subclipse.ui.actions.ShowResourceInHistoryAction$1.run(ShowResourceInHistoryAction.java:39)
@People from CC: please try to provide steps reproducible with a a fresh install of any standard Eclipse download package, with a fresh workspace and detailed description of any menu/shortcut used to reproduce it, see bug 471782 comment 39 for an example of such steps.
The history view doesn't work in the java perspective (it's always blank). It works fine in the team synchronizing perspective. I'm using eclipse 4.5.2 (I installed eclipse 4.5.1 then upgraded to 4.5.2). I'm usign SVN and I have the following plugins : - SVN connector - SVN kit (1.8) - Sonar qube Plugins details : Eclipse IDE for Java EE Developers 4.5.2.20160218-0600 epp.package.jee null SonarQube Integration for Eclipse 3.5.0.20150804-1512-RELEASE org.sonar.ide.eclipse.feature.feature.group SonarSource SonarQube Java Configuration Helper 3.5.0.20150804-1512-RELEASE org.sonar.ide.eclipse.jdt.feature.feature.group SonarSource SonarQube m2e Connector 3.5.0.20150804-1512-RELEASE org.sonar.ide.eclipse.m2e.feature.feature.group SonarSource Subversive Revision Graph (Optional) 3.0.0.I20150529-1700 org.eclipse.team.svn.revision.graph.feature.group Eclipse.org Subversive SVN Connectors 5.0.2.I20151228-1700 org.polarion.eclipse.team.svn.connector.feature.group Polarion Software Subversive SVN Integration for the Mylyn Project (Optional) 3.0.0.I20150529-1700 org.eclipse.team.svn.mylyn.feature.group Eclipse.org Subversive SVN JDT Ignore Extensions (Optional) 3.0.0.I20150529-1700 org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group Eclipse.org SVNKit 1.8.11 Implementation (Optional) 5.0.2.I20151228-1700 org.polarion.eclipse.team.svn.connector.svnkit18.feature.group Polarion Software Steps to reproduce : - Go to the java perspective. - On a file : right clic > team > show history - I get the error message : "SVN: '0x00400114: Show History View' operation finished with error: null java.lang.NullPointerException" - If I choose to send an error report, I get the stack trace : Version: 3.0.4.I20160131-1700 SVN Client: org.eclipse.team.svn.connector.svnkit18 5.0.2.I20151228-1700 SVN/1.8.1 SVNKit/1.8.11 (http://svnkit.com/) r10483_v20150925_0010 JVM Properties: {java.runtime.name=Java(TM) SE Runtime Environment, java.runtime.version=1.8.0_45-b15, java.vendor=Oracle Corporation, line.separator= , java.class.version=52.0, os.name=Windows 7, os.arch=amd64, user.country=FR, os.version=6.1, eclipse.commands=-os win32 -ws win32 -arch x86_64 -showsplash D:\Programs\Eclipses\eclipse-mars-4.5\\plugins\org.eclipse.platform_4.5.2.v20160212-1500\splash.bmp -launcher D:\Programs\Eclipses\eclipse-mars-4.5\eclipse.exe -name Eclipse --launcher.library D:\Programs\Eclipses\eclipse-mars-4.5\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417\eclipse_1611.dll -startup D:\Programs\Eclipses\eclipse-mars-4.5\\plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar --launcher.appendVmargs -showlocation -Duser.language=en_US -product org.eclipse.epp.package.jee.product -data file:/D:/workspaces/eclipse4.5-mars/trunk/ -launcher D:\Programs\Eclipses\eclipse-mars-4.5\eclipse.exe -showlocation -Duser.language=en_US -product org.eclipse.epp.package.jee.product -clean -vm D:/Programs/Java/jdk1.8.0_45/bin\..\jre\bin\server\jvm.dll , java.version=1.8.0_45, file.separator=\, java.vm.info=mixed mode, path.separator=;, user.timezone=Europe/Paris, user.language=fr, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, file.encoding=Cp1252} java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1271) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4238) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4234) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4214) at org.eclipse.team.svn.ui.operation.ShowHistoryViewOperation$1.run(ShowHistoryViewOperation.java:85) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4761) at org.eclipse.team.svn.ui.operation.ShowHistoryViewOperation.runImpl(ShowHistoryViewOperation.java:79) at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:82) at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:40) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90) at org.eclipse.team.svn.ui.utility.DefaultCancellableOperationWrapper.run(DefaultCancellableOperationWrapper.java:55) at org.eclipse.team.svn.ui.utility.UIMonitorUtility$1.run(UIMonitorUtility.java:186) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.team.svn.ui.utility.UIMonitorUtility.doTaskBusy(UIMonitorUtility.java:183) at org.eclipse.team.svn.ui.action.AbstractSVNTeamAction.runBusy(AbstractSVNTeamAction.java:116) at org.eclipse.team.svn.ui.action.local.ShowHistoryAction.runImpl(ShowHistoryAction.java:33) at org.eclipse.team.svn.ui.action.AbstractSVNTeamAction$2.runImpl(AbstractSVNTeamAction.java:89) at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:82) at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:40) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:81) at org.eclipse.team.svn.ui.action.AbstractSVNTeamAction.execute(AbstractSVNTeamAction.java:82) at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:515) at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:549) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:237) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
(In reply to fabien thebaud from comment #2) > The history view doesn't work in the java perspective (it's always blank). > It works fine in the team synchronizing perspective. > > I'm using eclipse 4.5.2 (I installed eclipse 4.5.1 then upgraded to 4.5.2). > I'm usign SVN and I have the following plugins : > - SVN connector > - SVN kit (1.8) > - Sonar qube Since I'm not using SVN/SVNKit/Sonar and have no time to search where they are coming from, can you please do following things: 1 test if the problem appears with a *git shared* project in your original environment. Just create a default Java project, create a git repo inside and do your test. 2 install (no upgrade!) *fresh* Eclipse 4.5.2 to a different directory (+ all the plugins above) and try to use same workspace => does the problem reappear? 3 install (no upgrade!) *fresh* Eclipse 4.5.2 to a different directory (+ all the plugins above) and try to use a *new* workspace => does the problem reappear? 4 post here links to all update sites one need to install those plugins above so that one can try to rebuild your environment. > Steps to reproduce : > - Go to the java perspective. > - On a file : right clic > team > show history > - I get the error message : How many perspectives were opened at that point? Was the Java perspective set initially after startup, or have you switched back and forth before team/java perspectives?
I have the same issue. The following Bug is logged when opening the History view using Window > Show View eclipse.buildId=4.5.2.M20160212-1500 java.version=1.8.0_74 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE 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 org.eclipse.ui Error Tue Mar 01 15:49:48 CET 2016 Unhandled event loop exception org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343) at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:147) at org.eclipse.jface.action.Action.runWithEvent(Action.java:473) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 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:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) Caused by: java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1271) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4238) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4234) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4214) at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:127) at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:110) at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:77) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ... 39 more I only have one project in the workspace. This project uses GIT
Same problem when opening 'SVN Properties' view. Eclipse 4.5.1, SVN Kit 1.8.11. !ENTRY org.eclipse.team.svn.core.svnnature 4 0 2016-03-02 11:01:40.598 !MESSAGE SVN: '0x00400014: Show Properties' operation finished with error !SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2016-03-02 11:01:40.599 !MESSAGE SVN: '0x00400014: Show Properties' operation finished with error: null !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1270) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4211) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4207) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4187) at org.eclipse.team.svn.ui.operation.ShowPropertiesOperation$1$1.run(ShowPropertiesOperation.java:63) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118) at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:156) at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:151) at org.eclipse.team.svn.ui.operation.ShowPropertiesOperation.access$0(ShowPropertiesOperation.java:1) at org.eclipse.team.svn.ui.operation.ShowPropertiesOperation$1.run(ShowPropertiesOperation.java:61) at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
I also get this in 4.5.2 in the JUnit view when I select a test case/suite from the history drop down ("Test Run History...") !ENTRY org.eclipse.ui 4 0 2016-03-07 08:57:30.165 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1271) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4238) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4234) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.showTestResultsView(TestRunnerViewPart.java:1695) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.setActiveTestRunSession(TestRunnerViewPart.java:1525) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.access$2(TestRunnerViewPart.java:1473) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$RunnerViewHistory.setHistoryEntries(TestRunnerViewPart.java:405) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$RunnerViewHistory.setHistoryEntries(TestRunnerViewPart.java:1) at org.eclipse.jdt.internal.ui.viewsupport.HistoryListAction.run(HistoryListAction.java:246) at org.eclipse.jdt.internal.ui.viewsupport.HistoryDropDownAction.run(HistoryDropDownAction.java:158) at org.eclipse.jface.action.Action.runWithEvent(Action.java:473) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
Additional information not included in my previous comment. This was after upgrade from 4.5.1 to 4.5.2. It was not a clean workspace. I do not use SVN but I do use CVS. I've never had any problems with the "Team | History" view, even in 4.5.1. But JUnit history has almost always failed (older test runs fail to show up in the JUnit view after I've selected them in the history drop down and history popup (Test Run History... | History...)).
*** Bug 489354 has been marked as a duplicate of this bug. ***
*** Bug 489241 has been marked as a duplicate of this bug. ***
*** Bug 490146 has been marked as a duplicate of this bug. ***
We also still see this in our Buildship automated error reports.
*** Bug 490667 has been marked as a duplicate of this bug. ***
Any chances that this bug will be fixed in Neon?
*** Bug 479542 has been marked as a duplicate of this bug. ***
Had this occur today. Stack trace identical to the one in Comment 4 so I won't bother pasting it. I was using it to view history of a GIT repository, not SVN. I don't know what triggered it as I have been using this workspace for weeks without issue. The history view worked correctly in Team Synchronizing view. I managed to resolve it by closing (right click on Java label in top right, choosing close) the "Java" perspective and re-opening the default one (Open Perspective Java(default)). eclipse.buildId=4.5.2.M20160212-1500 java.version=1.8.0_74 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
I can confirm that with Windows 10 an up to date Eclipse Mars. If you close the Java EE Perspective and open the default on, the History view is working. I'll try to find out how long.
Probably SVN plugins anyhow corrupt History View even when used for files of Git repository. What I found out: ------------------ After I saw related bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=471782 I upgraded my eclipse from v4.5.1 to v4.5.2 hoping the problem will be solved then. But still I couldn't see anything in history view and got the stacktrace (see at the end of the comment). Then I downloaded fresh eclipse version 4.5.2 from https://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/mars2 without installing any additional plugins (as Andrey Loskutov proposed in Comment #3). Now I have two instances of --- Version: Mars.2 Release (4.5.2) Build id: 20160218-0600 --- on my PC (Win 7 - 64 Bit). One with a few SVN and PHP plugins, one without. I included my local Git repo in the new eclipse instance and chose for a file "Team --> Show in History" and voilá: Commit History is displayed! I'll attached the screenshots of the eclipse plugin view "Installed Software" of both instances at the bug report: * eclipse452_InstalledSoftware_HistoryViewOfFileInGitRepo_FAILS.JPG * eclipse452_InstalledSoftware_HistoryViewOfFileInGitRepo_WORKS.JPG Maybe it helps someone. For the sake of completeness the stacktrace I got with the upgraded version containing the plugins (but it's NPE in WorkbenchPage.java:1270 not 1271): !ENTRY org.eclipse.ui 4 0 2016-05-05 06:54:17.058 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 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:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) Caused by: java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1270) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4211) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4207) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4187) at org.eclipse.egit.ui.internal.actions.ShowHistoryActionHandler.execute(ShowHistoryActionHandler.java:44) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ... 37 more
Created attachment 261478 [details] Plugins where History View FAILS
Created attachment 261479 [details] Plugins where History View WORKS
I can confirm that this wasn't ever fixed in my updated install of 4.5.2. I get this stack trace when right-clicking a .java file (in the java perspective) and select compare with/local history... org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4491) at org.eclipse.swt.SWT.error(SWT.java:4406) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:172) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:387) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:284) at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:997) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:1032) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:1007) at org.eclipse.team.internal.ui.history.ShowLocalHistory.run(ShowLocalHistory.java:42) at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:75) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:237) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) at org.eclipse.equinox.launcher.Main.main(Main.java:1488) Caused by: java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1271) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4238) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4234) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4214) at org.eclipse.team.ui.TeamUI.showHistoryFor(TeamUI.java:107) at org.eclipse.team.internal.ui.history.ShowLocalHistory$2.run(ShowLocalHistory.java:47) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 43 more If I click on the Team Synchronizing perspective, which has the History view, it will display the local history of the file. I am using Subclipse 1.10.13 (org.tigris.subversion.subclipse.feature.group), BTW, so I presume the acutal Team Provider is totally irrelevant, since it happened with eGit, Subversive, Subclipse, etc. Cheers, Alexander
I've posted another comment #91 to bug #471782. This seems to not even be fixed in Eclipse Neon.RC4 (updated on the milestones stream from Mars), at least not with upgraded workspaces. Not sure if the workspace or installation state played a role at all in the orignal bug(fix), or not. Maybe we should make this bug depend on bug #471782 (which should be reopened)?
On a fresh installation it works as it should. On an upgraded one with the old workspace the problem persists. Any effort taken to fix this one?
(In reply to Leon Li from comment #22) > On a fresh installation it works as it should. On an upgraded one with the > old workspace the problem persists. > Any effort taken to fix this one? Can you reduce the workspace size and attach it here, so that we can reproduce the problem?
There was a bug 471782 comment 92 saying: "Fixed the problem by deleting content of workspace\.metadata\.plugins\org.eclipse.team.ui\ folder" People who can still reproduce this bug on 4.6.0, can you please: 1) Verify that problem exists 2) Shutdown Eclipse & backup (zip) that folder 3) Delete this folder 4) Try if the problem fixed now => if yes, please attach the zip file from 2) here.
*** Bug 499081 has been marked as a duplicate of this bug. ***
*** Bug 498154 has been marked as a duplicate of this bug. ***
I have the same problem. Deleting \.metadata\.plugins\org.eclipse.team.ui\ folder didn't change anything.
*** Bug 498558 has been marked as a duplicate of this bug. ***
(In reply to Pascal Forhan from comment #27) > I have the same problem. > Deleting \.metadata\.plugins\org.eclipse.team.ui\ folder didn't change > anything. Me too!
(In reply to Martin Schlesier from comment #29) > (In reply to Pascal Forhan from comment #27) > > I have the same problem. > > Deleting \.metadata\.plugins\org.eclipse.team.ui\ folder didn't change > > anything. > > Me too! My workaround is to close the History-Tab in the Team-Synchronizing-View and then it work´s in der Java-View, but not both.
(In reply to Martin Schlesier from comment #30) > (In reply to Martin Schlesier from comment #29) > > (In reply to Pascal Forhan from comment #27) > > > I have the same problem. > > > Deleting \.metadata\.plugins\org.eclipse.team.ui\ folder didn't change > > > anything. > > > > Me too! > > My workaround is to close the History-Tab in the Team-Synchronizing-View and > then it work´s in der Java-View, but not both. My workaround : Create a new workspace and get the code from SVN again. I have now a workspace with the trouble and a workspace without any trouble. All with the same Eclipse NEON installation....
*** Bug 501819 has been marked as a duplicate of this bug. ***
(In reply to Nabor Gilgalad from comment #16) > I can confirm that with Windows 10 an up to date Eclipse Mars. > > If you close the Java EE Perspective and open the default on, the History > view is working. > I'll try to find out how long. This one worked for me. Instead of Java EE I'm using the PDT Perspective. Closing and the re-opening it (Window > Perspective > Open perspective > ... (default)) did it, even after restarting Eclipse. We'll see how long. I'm on a Windows Neon.2 Release (4.6.2)
*** Bug 516405 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.