[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #UIB-794005]: issue with getImage method in GuiUtils
- Subject: [IDV #UIB-794005]: issue with getImage method in GuiUtils
- Date: Sat, 09 Jun 2012 17:44:24 -0600
> R/Sir
>
> I am trying to overlay a logo in jython script.
> And tracing down I find out that it calls:
> public static Image getImage(String file, Class c, boolean cache,
> boolean returnNullIfNotFound) in
> GuiUtils.java
>
> In executing this method, this line is giving uncaught exception:
> image = Toolkit.getDefaultToolkit().createImage(Misc.getURL(file, c));
>
> The reason is that the method Misc.getURL(file, c) is returning null.
>
Ghansham,
It sounds like the path of the file is incorrected or the file is not in
the right place, could you double check?
Yuan
> Please help
>
>
> regards
> Ghansham
>
>
>
Ticket Details
===================
Ticket ID: UIB-794005
Department: Support IDV
Priority: Normal
Status: Open