Bug 502513 - CDT errors shown in log on "customize perspective"
Summary: CDT errors shown in log on "customize perspective"
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 9.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-09-28 18:38 EDT by Robert Dz CLA
Modified: 2020-09-04 15:24 EDT (History)
2 users (show)

See Also:


Attachments
Neon Log after clicking customize perspective (1.04 KB, text/x-log)
2016-09-29 09:20 EDT, Robert Dz CLA
no flags Details
Mars Log after clicking customize perspective (5.92 KB, text/x-log)
2016-09-29 09:20 EDT, Robert Dz CLA
no flags Details
Mars Log after restart, don't turn on. (1001.16 KB, text/x-log)
2016-09-29 09:21 EDT, Robert Dz CLA
no flags Details
Mars JEE Log after clicking customize perspective (5.28 KB, text/x-log)
2016-09-29 09:41 EDT, Robert Dz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Dz CLA 2016-09-28 18:38:06 EDT
Hello,

I'm in process of moving my development from windows to linux (Debian Stretch - fresh install, with cinnamon GUI (installed using testsel).

I recreated my whole OS twice to make sure It's completely fresh install, just installed default-jre.

After turning on IDE and going to customize perspective I've got following error. After restart it doesn't even turn on completely since then this workspace is unusable. I tried it on Neon (4.6) as well but with the same issue.
I was installing eclipse both from package CDT and from installer in both cases with the same results.

After restart It dissapear at boot screen and creates continuous log of + java seems to be taking a lot more usage in top until I kill the process.

Just as addition I have the know issue in debian with PCIE AER module (visible in skylake intel notebooks with RTL8723BE, maybe this has something to do with this issue. (I'm booting with pci=noaer in grub default startup.

!ENTRY org.eclipse.epp.logging.aeri.core 2 1 2016-09-28 23:34:22.353
!MESSAGE AERI failed with an error. Please report this error: null ; version: 1.100.0.v20160211-1103
!STACK 0
java.lang.NullPointerException

!ENTRY org.eclipse.ui 4 0 2016-09-28 23:34:22.353
!MESSAGE Error occurred during status handling
!STACK 0
java.lang.NullPointerException

!ENTRY org.eclipse.epp.logging.aeri.core 2 1 2016-09-28 23:34:22.354
!MESSAGE AERI failed with an error. Please report this error: null ; version: 1.100.0.v20160211-1103
!STACK 0
java.lang.NullPointerException


!SESSION 2016-09-28 23:25:42.022 -----------------------------------------------
eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_102
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.ui 4 4 2016-09-28 23:28:53.800
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.manageConfigsAction2

!ENTRY org.eclipse.ui 4 4 2016-09-28 23:28:53.814
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.buildConfigMenuAction

!ENTRY org.eclipse.ui 4 4 2016-09-28 23:28:53.815
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.wsselection

!ENTRY org.eclipse.ui.workbench 4 0 2016-09-28 23:28:54.283
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at org.eclipse.swt.widgets.TabFolder.gtk_switch_page(TabFolder.java:570)
	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2009)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4723)
	at org.eclipse.swt.internal.gtk.OS._gtk_widget_show(Native Method)
	at org.eclipse.swt.internal.gtk.OS.gtk_widget_show(OS.java:14774)
	at org.eclipse.swt.widgets.TabFolder.createItem(TabFolder.java:311)
	at org.eclipse.swt.widgets.TabItem.createWidget(TabItem.java:123)
	at org.eclipse.swt.widgets.TabItem.<init>(TabItem.java:75)
	at org.eclipse.ui.internal.dialogs.cpd.CustomizePerspectiveDialog.createDialogArea(CustomizePerspectiveDialog.java:565)
	at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:768)
	at org.eclipse.jface.window.Window.create(Window.java:430)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
	at org.eclipse.jface.window.Window.open(Window.java:792)
	at org.eclipse.ui.internal.WorkbenchPage.editActionSets(WorkbenchPage.java:1940)
	at org.eclipse.ui.internal.handlers.EditActionSetsHandler.execute(EditActionSetsHandler.java:42)
	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(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	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.actions.CommandAction.runWithEvent(CommandAction.java:160)
	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:4481)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
	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)


Thanks for your time and I hope it's fixable issue.

Regards,
Robert
Comment 1 Andrey Loskutov CLA 2016-09-29 03:27:54 EDT
Robert, 4.5.2 is not supported anymore. Can you please try to reproduce it on 4.6.1 (or 4.6.0) and attach here the stack trace? Can you please also check if the plain SDK (without CDT) shows the same issue?
Comment 2 Robert Dz CLA 2016-09-29 09:20:04 EDT
Created attachment 264486 [details]
Neon Log after clicking customize perspective
Comment 3 Robert Dz CLA 2016-09-29 09:20:25 EDT
Created attachment 264487 [details]
Mars Log after clicking customize perspective
Comment 4 Robert Dz CLA 2016-09-29 09:21:41 EDT
Created attachment 264488 [details]
Mars Log after restart, don't turn on.

It keeps creating logs like this all time until java process is killed.
Comment 5 Robert Dz CLA 2016-09-29 09:41:24 EDT
I added attachment with logs both in Mars and Neon.

Neon doesn't seem to break totally and Customize is showing. After restart it still works. But it seems that the error is created by the same module, but in Mars it creates persistent problem - org.eclipse.cdt.ui.

Neon JEE doesn't show this issue, but Mars still have this problem, but different module failed - org.eclipse.ui.workbench.

I was more planning to go on Mars version because of some plugins for ARM development.

Regards,
Robert
Comment 6 Robert Dz CLA 2016-09-29 09:41:46 EDT
Created attachment 264489 [details]
Mars JEE Log after clicking customize perspective
Comment 7 Robert Dz CLA 2016-09-29 09:49:05 EDT
(In reply to Andrey Loskutov from comment #1)
> Robert, 4.5.2 is not supported anymore. Can you please try to reproduce it
> on 4.6.1 (or 4.6.0) and attach here the stack trace? Can you please also
> check if the plain SDK (without CDT) shows the same issue?

Added logs in attachments.
Comment 8 Andrey Loskutov CLA 2016-09-29 09:49:45 EDT
(In reply to Robert Dz from comment #5)
> I was more planning to go on Mars version

Mars is not supported anymore.
Comment 9 Andrey Loskutov CLA 2016-09-29 09:52:29 EDT
Moving to CDT, see log below:

Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.ui 4 4 2016-09-29 14:16:19.380
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.manageConfigsAction2

!ENTRY org.eclipse.ui 4 4 2016-09-29 14:16:19.408
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.buildConfigMenuAction

!ENTRY org.eclipse.ui 4 4 2016-09-29 14:16:19.408
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.wsselection