Skip to content

[Win32] org.eclipse.ui.tests.forms.util.FormFontsTest failing since I20250506-1800 #2960

Closed
eclipse-platform/eclipse.platform.swt
#2114
@HeikoKlare

Description

@HeikoKlare

See https://download.eclipse.org/eclipse/downloads/drops4/I20250506-1800/testresults/html/org.eclipse.ui.tests.forms_ep436I-unit-win32-x86_64-java21_win32.win32.x86_64_21.html

Cannot invoke "org.eclipse.swt.graphics.Device.computePixels(float, int)" because "this.device" is null

java.lang.NullPointerException: Cannot invoke "org.eclipse.swt.graphics.Device.computePixels(float, int)" because "this.device" is null
at org.eclipse.swt.graphics.Font.init(Font.java:268)
at org.eclipse.swt.graphics.Font.win32_getHandle(Font.java:316)
at org.eclipse.swt.graphics.Font.hashCode(Font.java:261)

Probably a regression from eclipse-platform/eclipse.platform.swt#2087

Metadata

Metadata

Assignees

No one assigned

    Labels

    testjunit test related things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions