# UI Starter Framework - Exception

**URL:** <https://platform.jetbrains.com/t/ui-starter-framework-exception/592>\
**Category:** IntelliJ Platform\
**Created:** [February 19, 2025, 11:22am UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592 "2025-02-19T11:22:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgafner](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jgafner/32/78_2.png) [@jgafner](https://platform.jetbrains.com/u/jgafner)\
**Post date:** [February 19, 2025, 11:22am UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592/1 "2025-02-19T11:22:38Z")

</div>

Hi

I am getting this error when using the latest EAP with starter ui framework:

````auto
	at com.intellij.testFramework.TestLoggerFactory$TestLogger.error(TestLoggerFactory.java:457) 	
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:374) 	
	at com.intellij.ui.scale.JBUIScale.computeSystemScaleFactor(JBUIScale.kt:223) 	
	at com.intellij.ui.scale.JBUIScale.systemScaleFactor$lambda$1(JBUIScale.kt:96) 	
	at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41) 	
	at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210) ```

Any Idea why? 
Thanks
````

---

<div class="post-metadata">

**Author:** ![jgafner](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jgafner/32/78_2.png) [@jgafner](https://platform.jetbrains.com/u/jgafner)\
**Post date:** [February 20, 2025, 10:15am UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592/3 "2025-02-20T10:15:22Z")

</div>

Additional Context: This issue only occurs on Linux when running UI tests with the starter and driver framework.

The issue can be resolved by adding the following properties to `Starter.newContext`:

```auto
addSystemProperty("ide.ui.scale", "1.0")
addSystemProperty("hidpi", "false")
addSystemProperty("ide.ui.scale.override", "1.0")
addSystemProperty("sun.java2d.uiScale", "1.0")
addSystemProperty("awt.useSystemAAFontSettings", "off")

```

After adding these properties, the tests run successfully on Linux environments.

I created this [issue](https://github.com/JetBrains/intellij-ide-starter/issues/6) on GitHub, but it seems it isn’t the right place for reporting problem with the starter framework…

---

<div class="post-metadata">

**Author:** ![chriscarini](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/chriscarini/32/695_2.png) [@chriscarini](https://platform.jetbrains.com/u/chriscarini)\
**Post date:** [March 17, 2025, 12:39pm UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592/4 "2025-03-17T12:39:41Z")

</div>

> [@jgafner](#):
>
> I created this [issue](https://github.com/JetBrains/intellij-ide-starter/issues/6) on GitHub, but it seems it isn’t the right place for reporting problem with the starter framework

@jgafner I wonder if you’d have better luck creating a YouTrack issue

---

<div class="post-metadata">

**Author:** ![jgafner](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jgafner/32/78_2.png) [@jgafner](https://platform.jetbrains.com/u/jgafner)\
**Post date:** [March 17, 2025, 1:14pm UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592/5 "2025-03-17T13:14:52Z")

</div>

Nope - with this issue not yet

---

<div class="post-metadata">

**Author:** ![chriscarini](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/chriscarini/32/695_2.png) [@chriscarini](https://platform.jetbrains.com/u/chriscarini)\
**Post date:** [March 18, 2025, 3:46am UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592/8 "2025-03-18T03:46:56Z")

</div>

Gotcha - you might want to consider opening one there then to get a bit more traction & visibility.

> [@Plugin 2.2.1 - Following 3 plugins could not be created: plugins/compose-ide-plugin/lib/compose-ide-plugin.jar](https://platform.jetbrains.com/t/plugin-2-2-1-following-3-plugins-could-not-be-created-plugins-compose-ide-plugin-lib-compose-ide-plugin-jar/648/4):
>
> The project’s issue tracker always has the highest priority. Thank you, Aiden!

---

<div class="post-metadata">

**Author:** ![maxim.kolmakov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/maxim.kolmakov/32/535_2.png) [@maxim.kolmakov](https://platform.jetbrains.com/u/maxim.kolmakov)\
**Post date:** [March 26, 2025, 12:40pm UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592/9 "2025-03-26T12:40:33Z")

</div>

Folks, sorry for the delay!

We were trying to reproduce the issue but we couldn’t. We run tests on various agents including the ones provided by Github Actions and don’t see the exception.

What version of IDE are you running? Do you run tests locally or on some headless agents (in this case we start Xvfb to show UI)?

---

<div class="post-metadata">

**Author:** ![jgafner](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jgafner/32/78_2.png) [@jgafner](https://platform.jetbrains.com/u/jgafner)\
**Post date:** [March 27, 2025, 10:02am UTC](https://platform.jetbrains.com/t/ui-starter-framework-exception/592/10 "2025-03-27T10:02:21Z")

</div>

Hi @maxim.kolmakov

There were some JBR issues in the past 2-3 weeks that prevented me from running the plugin and the tests - now with the latest JBR release I will try to see if this is still an open issue and update in here, thanks.
