Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] Unit test run buys me [DataFormatException: For input string: "1x"]

Hi Yves

If I recall correctly, this exception happens when a certain  Platform UI test project is in your workspace. I don't think this is caused by the latest build.

I suggest to do a search in bugzilla as a first thing. If you can't find a related bug you can file a new one.

Dani


From:        Yves JOAN <yves.joan@xxxxxxxxxx>
To:        jdt-ui-dev@xxxxxxxxxxx
Date:        09.04.2014 16:32
Subject:        [jdt-ui-dev] Unit test run buys me [DataFormatException: For input        string: "1x"]
Sent by:        jdt-ui-dev-bounces@xxxxxxxxxxx




Hi,

Since I moved to Integration build of April 8th (4.4.0.I20140408-1645)
every single time I run a unit test I read the exception below. That
doesn't seem to harm.
Previously I was running the integration build of March 25th.
A typical test I run is defined in
org.eclipse.jdt.ui.tests.refactoring.ccp.CopyTest. Eclipse runs on MacOS
10.9.2 and on top of Java 8.

By the way is it a wise approach to post such a message here, or shall I
directly do a search in Bugzilla then log if not found, or use another
mailing list ? please let me know !

Thanks
Yves

org.eclipse.jface.resource.DataFormatException: For input string: "1x"
    at
org.eclipse.jface.resource.StringConverter.asRGB(StringConverter.java:568)
    at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:174)
    at
org.eclipse.ui.internal.themes.ColorDefinition.getValue(ColorDefinition.java:117)
    at
org.eclipse.ui.internal.themes.ThemeElementHelper.installColor(ThemeElementHelper.java:305)
    at
org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:193)
    at
org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1752)
    at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
    at
org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
    at
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4716)
    at
org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:95)
    at
org.eclipse.ui.internal.Workbench.initializeApplicationColors(Workbench.java:1746)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:1640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2875)
    at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:2760)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:632)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
    at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
    at
org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:54)
    at
org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:47)
    at
org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:48)
    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:379)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
    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:483)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-ui-dev



Back to the top