Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] [No SVG rasterizer found] in eclipse 2025-06
  • From: JAYAPRAKASH ARTHANAREESWARAN <jarthana@xxxxxxxxxx>
  • Date: Thu, 7 Aug 2025 15:08:31 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in.ibm.com; dmarc=pass action=none header.from=in.ibm.com; dkim=pass header.d=in.ibm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GDhcvf/hpbXm+jgI8Qx2pbi8GcCBvlgXRl5FqdoTTdk=; b=CwJx2wTtC6jlS/kyVH+NsKAQStsuqE7ovYarUtKnOgDqQca+v9ssS7vIFMzbKmK+NpQxiqacvdpJYykgfjFs26nogb4diX13hVXNuMeiTltA2JNeH0ma5iLmOjQK5husLOZuDpT/DQ1doleNYQ2RwG06iA7tzd65vqIesyJPPzllYVx7YYuThBpXs3mG2mTz8Nveq42yEn70H0Pea3zgjFr+DSUXjg4Rmgv4a5vpUYmj1yfO1cNwqftcHrNm2+JB+uSeQqwy6fcOYsAFH0VoEw0X6Ik3nQFIFfh2XijBSdOcos/LbVsEu3QCEOO6OXQRkrSHxLAijlXYLF4TrwH1NA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kYkYnxs5rQH23t3h/Yytg0pNDmzULov6pE5gCPIfFEkhKjddXdrdWwLdTNTa/Qud+nI16lH6b6/+r2racF+/twtdkL73B+b3saUCHJEpUCkKOyPNjUXcpmoDVdEgxXdXlWtCGFcuXo8dYl/GHaZ7spM3buOq9izrHbmMpH21ylnZmNBi16zJ23huCJCOeaoH7y+nGEcp1CAWnWZUOySjefdAD5o2/faj45GOx5B1au9eGPWs+1cqRK7njQNkAV7+k6DtBrTSNXTLRUh73SZ5vZ/nG3HXYIt1pMsu2ix94DXsLMQH6m7fmuV0uTnhi6A9X4cpF5NWdXojyKnWvnbDjQ==
  • Delivered-to: jdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jdt-dev/>
  • List-help: <mailto:jdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jdt-dev>, <mailto:jdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jdt-dev>, <mailto:jdt-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHcB52lsy0mKYtgh0eQgpjSQZS0KLRXSktG
  • Thread-topic: [EXTERNAL] [jdt-dev] [No SVG rasterizer found] in eclipse 2025-06

Hi,

You have sent this to the jdt-dev, which is meant for the Java Development toolkit and unlikely to get a good response. That said, I have taken a look at the report and stack trace and this if this was working and not now, perhaps a bug in platform/swt can help us make progress. Or at least open a github discussion on swt: https://github.com/eclipse-platform/eclipse.platform/discussions

Regards,
Jay

From: jdt-dev <jdt-dev-bounces@xxxxxxxxxxx> on behalf of wglxy--- via jdt-dev <jdt-dev@xxxxxxxxxxx>
Sent: Thursday, August 7, 2025 6:43 PM
To: jdt-dev@xxxxxxxxxxx <jdt-dev@xxxxxxxxxxx>
Cc: wglxy@xxxxxxxxx <wglxy@xxxxxxxxx>
Subject: [EXTERNAL] [jdt-dev] [No SVG rasterizer found] in eclipse 2025-06
 
Hi, everybody! I upgraded my eclipse version to 2025-06 few days ago. And I found my Java program could not run which developed with swt and jface. When I start it, the error message "Exception in thread "main" org. eclipse. swt. SWTException: 

Hi, everybody!


I upgraded my eclipse version to 2025-06 few days ago. And I found my Java program could not run which developed with swt and jface. When I start it, the error message "Exception in thread "main" org.eclipse.swt.SWTException: Unsupported or unrecognized format [No SVG rasterizer found]" was got.


I wrote a most simple program as below.


import org.eclipse.swt.widgets.*;

import org.eclipse.jface.action.*;


public class MinimalSWT

{

public static void main(String[] args)

{

Display display = new Display();

Shell shell = new Shell(display);

shell.setText("SWT + StatusLine");


StatusLineManager statusLineManager = new StatusLineManager();

statusLineManager.createControl(shell);

statusLineManager.setMessage("Ready");


shell.open();

while (!shell.isDisposed()) {

if (!display.readAndDispatch()) display.sleep();

}

display.dispose();

}

}


It could be run yet, and the error message is:


Exception in thread "main" org.eclipse.swt.SWTException: Unsupported or unrecognized format [No SVG rasterizer found]

at org.eclipse.swt.SWT.error(SWT.java:4945)

at org.eclipse.swt.internal.image.SVGFileFormat.loadFromByteStream(SVGFileFormat.java:49)

at org.eclipse.swt.internal.image.FileFormat.loadFromStream(FileFormat.java:114)

at org.eclipse.swt.internal.image.FileFormat.load(FileFormat.java:136)

at org.eclipse.swt.internal.NativeImageLoader.load(NativeImageLoader.java:56)

at org.eclipse.jface.resource.URLImageDescriptor.loadImageFromStream(URLImageDescriptor.java:152)

at org.eclipse.jface.resource.URLImageDescriptor.getImageData(URLImageDescriptor.java:137)

at org.eclipse.jface.resource.URLImageDescriptor.getImageData(URLImageDescriptor.java:109)

at org.eclipse.jface.resource.URLImageDescriptor.lambda$2(URLImageDescriptor.java:74)

at org.eclipse.swt.internal.DPIUtil.lambda$1(DPIUtil.java:554)

at org.eclipse.swt.internal.DPIUtil.getElementAtZoom(DPIUtil.java:583)

at org.eclipse.swt.internal.DPIUtil.validateAndGetImageDataAtZoom(DPIUtil.java:554)

at org.eclipse.swt.graphics.Image.initFromImageDataProvider(Image.java:798)

at org.eclipse.swt.graphics.Image.<init>(Image.java:676)

at org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:310)

at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:331)

at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:309)

at org.eclipse.jface.action.StatusLine.<init>(StatusLine.java:316)

at org.eclipse.jface.action.StatusLineManager.createControl(StatusLineManager.java:104)

at org.eclipse.jface.action.StatusLineManager.createControl(StatusLineManager.java:90)

at MinimalSWT.main(MinimalSWT.java:17)



This error did not occur before I upgraded the eclipse version to 2025-06. It seen like a bug of jface or swt in eclipse 2025-06.


Would you please tell me how to resolve this program?


Thanks very much!




Back to the top