Bug 553797 - Run As > JUnit Plugin Test crash on Mac
Summary: Run As > JUnit Plugin Test crash on Mac
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.14   Edit
Hardware: PC Mac OS X
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-05 01:06 EST by Patrik Suzzi CLA
Modified: 2021-02-01 17:26 EST (History)
1 user (show)

See Also:


Attachments
Image of the apple crash report (146.42 KB, image/png)
2019-12-05 01:06 EST, Patrik Suzzi CLA
no flags Details
System crash report from apple (138.27 KB, application/octet-stream)
2019-12-05 01:07 EST, Patrik Suzzi CLA
no flags Details
console output during the crash (14.36 KB, text/plain)
2019-12-05 01:08 EST, Patrik Suzzi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrik Suzzi CLA 2019-12-05 01:06:16 EST
Created attachment 280873 [details]
Image of the apple crash report

When I launch a JUnit plugin test on MacOs, the newly launched Eclipse Instance crashes. The MacOs system reports 'Eclipse quit unexpectedly'

Steps to reproduce: 
- setup the development environment to contribute to Platform UI 
- open the file StyledStringHighlighterTest, select it and Run As > Junit Plug-in test

Reproducibility: Always.

Severity: critical, because there is no way to run a JUnit plugin test other than testing it on another O.S.

Note: below, you can see the Eclipse Console output 

!SESSION 2019-12-05 06:57:48.254 -----------------------------------------------
eclipse.buildId=4.14.0.I20191203-0600
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments:  -version 3 -port 54039 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -classNames org.eclipse.ui.tests.StyledStringHighlighterTest -application org.eclipse.pde.junit.runtime.uitestapplication -product org.eclipse.sdk.ide -testpluginname org.eclipse.ui.tests
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -consoleLog -version 3 -port 54039 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -classNames org.eclipse.ui.tests.StyledStringHighlighterTest -application org.eclipse.pde.junit.runtime.uitestapplication -product org.eclipse.sdk.ide -data /Users/psuzzi/e/ws/../junit-workspace -dev file:/Users/psuzzi/e/ws/.metadata/.plugins/org.eclipse.pde.core/pde-junit/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -testpluginname org.eclipse.ui.tests

!ENTRY org.eclipse.ui 2 0 2019-12-05 06:57:53.119
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.bindings' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2019-12-05 06:57:53.119
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.ui.tests', id='org.eclipse.ui.tests.TestCommandId'
!SUBENTRY 1 org.eclipse.ui 2 0 2019-12-05 06:57:53.119
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.ui.tests', id='org.eclipse.ui.tests.TestCommandId'

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:57:53.149
!MESSAGE Could not find element with id 'app.base'

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:57:53.151
!MESSAGE Could not find element with id 'app.base.command'

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:57:56.765
!MESSAGE Could not find element with id 'app.base'

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:57:56.767
!MESSAGE Could not find element with id 'app.base.command'

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:57:56.769
!MESSAGE Could not find element with id 'fragment.contributedWindow'

!ENTRY org.eclipse.ui 4 4 2019-12-05 06:57:56.896
!MESSAGE Invalid activity: missing a translatable name (contributed by 'org.eclipse.ui.tests')

!ENTRY org.eclipse.ui 4 4 2019-12-05 06:57:56.897
!MESSAGE Invalid activity: missing a unique identifier (contributed by 'org.eclipse.ui.tests')

!ENTRY org.eclipse.ui 4 4 2019-12-05 06:57:56.897
!MESSAGE Invalid category description: missing a translatable name (contributed by 'org.eclipse.ui.tests')

!ENTRY org.eclipse.ui 4 4 2019-12-05 06:57:56.898
!MESSAGE Invalid category description: has no ID (contributed by 'org.eclipse.ui.tests')

!ENTRY org.eclipse.ui 4 4 2019-12-05 06:57:56.898
!MESSAGE Invalid activity pattern binding: missing the pattern to be bound (contributed by 'org.eclipse.ui.tests')

!ENTRY org.eclipse.ui 4 4 2019-12-05 06:57:56.898
!MESSAGE Invalid activity requirement binding: missing ID of the required activity (contributed by 'org.eclipse.ui.tests')

!ENTRY org.eclipse.ui 4 4 2019-12-05 06:57:56.899
!MESSAGE Invalid category activity binding: missing the ID of the activity to bind (contributed by 'org.eclipse.ui.tests')

!ENTRY org.eclipse.ui 2 0 2019-12-05 06:57:56.906
!MESSAGE Expression activity cannot have requirements (id: org.eclipse.ui.tests.filter4.enabled)

!ENTRY org.eclipse.ui 2 0 2019-12-05 06:57:56.907
!MESSAGE Expression activity cannot be required (id: org.eclipse.ui.tests.filter7.enabled)

!ENTRY org.eclipse.core.net 1 0 2019-12-05 06:57:57.229
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.ui 2 2 2019-12-05 06:57:57.417
!MESSAGE Could not parse value for theme color badColor3
!STACK 0
org.eclipse.jface.resource.DataFormatException: For input string: "1x"
	at org.eclipse.jface.resource.StringConverter.asRGB(StringConverter.java:566)
	at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:159)
	at org.eclipse.ui.internal.themes.ColorDefinition.getValue(ColorDefinition.java:111)
	at org.eclipse.ui.internal.themes.ThemeElementHelper.installColor(ThemeElementHelper.java:287)
	at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:184)
	at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1750)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:36)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:146)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5017)
	at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
	at org.eclipse.ui.internal.Workbench.initializeApplicationColors(Workbench.java:1745)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1644)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2821)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
	at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:55)
	at org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:46)
	at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:49)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	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:657)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

!ENTRY org.eclipse.jface 2 0 2019-12-05 06:57:57.962
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2019-12-05 06:57:57.963
!MESSAGE A conflict occurred for CTRL+O:
Binding(CTRL+O,
	ParameterizedCommand(Command(org.eclipse.ui.tests.testCommand1,testCommand1,
		testCommand1,
		Category(org.eclipse.core.commands.categories.autogenerated,Uncategorized,Commands that were either auto-generated or have no category,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@11e17893,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+O,
	ParameterizedCommand(Command(org.eclipse.ui.tests.testCommand2,testCommand2,
		testCommand2,
		Category(org.eclipse.core.commands.categories.autogenerated,Uncategorized,Commands that were either auto-generated or have no category,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@19eea77c,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:58:01.550
!MESSAGE Removing part descriptor with the 'org.eclipse.ui.tests.api.workbenchpart.ViewWithMissingClass' id and the 'ERROR: View pointing to invalid class' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:58:02.028
!MESSAGE Removing part descriptor with the 'org.eclipse.ui.tests.concurrentTableTest' id and the 'Concurrent Table Test View' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:58:02.033
!MESSAGE Removing part descriptor with the 'org.eclipse.ui.tests.decorator.TableTreeTest' id and the 'Table Tree Test' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:58:02.035
!MESSAGE Removing part descriptor with the 'org.eclipse.ui.tests.view1' id and the 'Virtual Table View test' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:58:02.036
!MESSAGE Removing part descriptor with the 'org.eclipse.ui.tests.lazyView' id and the 'Lazy Virtual Table View test' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-12-05 06:58:02.037
!MESSAGE Removing part descriptor with the 'org.eclipse.ui.tests.lazyViewDeferred' id and the 'Lazy Virtual Table with Deferred Updates and Ranges' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.

!ENTRY org.eclipse.ui.workbench 4 2 2019-12-05 06:58:02.225
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 1
org.eclipse.core.runtime.CoreException: Executable extension definition for "class" not found.
	at org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:65)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:225)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:280)
	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:55)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
	at org.eclipse.ui.internal.Workbench$41.run(Workbench.java:2729)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2019-12-05 06:58:02.226
!MESSAGE Executable extension definition for "class" not found.
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2019-12-05 06:58:02.226
!MESSAGE Executable extension definition for "class" not found.

!ENTRY org.eclipse.ui 4 0 2019-12-05 06:58:02.227
!MESSAGE Unable to execute early startup code for the org.eclipse.ui.IStartup extension contributed by the 'org.eclipse.ui.tests' plug-in.
!STACK 1
org.eclipse.core.runtime.CoreException: Executable extension definition for "class" not found.
	at org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:65)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:225)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:280)
	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:55)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
	at org.eclipse.ui.internal.Workbench$41.run(Workbench.java:2729)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2019-12-05 06:58:02.227
!MESSAGE Executable extension definition for "class" not found.
----- testAstersisksForGaps
testAstersisksForGaps: setUp...
testAstersisksForGaps: tearDown...

----- testStartsWithQuestionMark
testStartsWithQuestionMark: setUp...
testStartsWithQuestionMark: tearDown...

----- testFullHighlighting
testFullHighlighting: setUp...
testFullHighlighting: tearDown...

----- testAll
testAll: setUp...
testAll: tearDown...

----- testJustQuestionMark
testJustQuestionMark: setUp...
testJustQuestionMark: tearDown...

----- testJustAsteriskNothingFound
testJustAsteriskNothingFound: setUp...
testJustAsteriskNothingFound: tearDown...

----- testMultipleEndTerminators
testMultipleEndTerminators: setUp...
testMultipleEndTerminators: tearDown...

----- testAstersisksForOneGap
testAstersisksForOneGap: setUp...
testAstersisksForOneGap: tearDown...

----- testCapitalizedText
testCapitalizedText: setUp...
testCapitalizedText: tearDown...

----- testStartsWithAsteriskAndQuestionMark
testStartsWithAsteriskAndQuestionMark: setUp...
testStartsWithAsteriskAndQuestionMark: tearDown...

----- testTextShorterThanPattern
testTextShorterThanPattern: setUp...
testTextShorterThanPattern: tearDown...

----- testEndsWithQuestionMarkAndEndTerminator
testEndsWithQuestionMarkAndEndTerminator: setUp...
testEndsWithQuestionMarkAndEndTerminator: tearDown...

----- testCaseInsensitivity
testCaseInsensitivity: setUp...
testCaseInsensitivity: tearDown...

----- testNothingFound
testNothingFound: setUp...
testNothingFound: tearDown...

----- testNullAndEmptyParameter
testNullAndEmptyParameter: setUp...
testNullAndEmptyParameter: tearDown...

----- testEndTerminator
testEndTerminator: setUp...
testEndTerminator: tearDown...

----- testEndsWithQuestionMark
testEndsWithQuestionMark: setUp...
testEndsWithQuestionMark: tearDown...

----- testQuestionMarks
testQuestionMarks: setUp...
testQuestionMarks: tearDown...

----- testManyAsterisks
testManyAsterisks: setUp...
testManyAsterisks: tearDown...

----- testAstersisksAndEndTerminator
testAstersisksAndEndTerminator: setUp...
testAstersisksAndEndTerminator: tearDown...

objc[3482]: autorelease pool page 0x7f89da1a0000 corrupted
  magic     0x00000000 0x00000000 0x00000000 0x00000000
  should be 0xa1a1a1a1 0x4f545541 0x454c4552 0x21455341
  pthread   0x0
  should be 0x10a53bdc0
Comment 1 Patrik Suzzi CLA 2019-12-05 01:07:22 EST
Created attachment 280874 [details]
System crash report from apple
Comment 2 Patrik Suzzi CLA 2019-12-05 01:08:18 EST
Created attachment 280875 [details]
console output during the crash