Re: Abbot Question
Timothy Wall <twall <at> users.sourceforge.net>
2010-02-24 12:11:36 GMT
This is usually due to your Java source using the system class loader
instead of the context/thread class loader to find a resource. You'll
either have to put the resource where the boot/system class loader can
find it, or fix the Java source to use the proper class loader.
On Feb 24, 2010, at 5:12 AM, Wang, Scott (Yang) wrote:
> Hi Wall:
> I am a GUI automation engineer of Spirent Communication, and also
> one of you fans. I really appreciate your great work ABBOT.
> I am now using ABBOT frame work to test our java swing application.
> I got a strange problem which is when I load all the JAR files into
> eclipse IDE (from Project Properties->Java Build Path->Libraries-
> >Add External jars) ,and then use Launch class -> run method, my
> application will be launched successfully. But when I load all the
> JAR files dynamically which I merge all JAR file’ path into a STRING
> parameter as the CLASSPATH, and then using run method again .I got a
> strange error.
>
> Please see below log
>
> Uncaught error fetching image:
> java.lang.NullPointerException
> at sun.awt.image.URLImageSource.getConnection(Unknown Source)
> at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
> at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
> at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
> at sun.awt.image.ImageFetcher.run(Unknown Source)
>
> I look forward to your reply.
>
> Scott
> Thanks
>
>
>
>
> E-mail confidentiality.
> --------------------------------
> This e-mail contains confidential and / or privileged information
> belonging to Spirent Communications plc, its affiliates and / or
> subsidiaries. If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution and / or the
> taking of any action based upon reliance on the contents of this
> transmission is strictly forbidden. If you have received this
> message in error please notify the sender by return e-mail and
> delete it from your system. If you require assistance, please
> contact our IT department athelpdesk <at> spirent.com.
>
> Spirent Communications plc,
> Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United
> Kingdom.
> Tel No. +44 (0) 1293 767676
> Fax No. +44 (0) 1293 767677
>
> Registered in England Number 470893
> Registered at Northwood Park, Gatwick Road, Crawley, West Sussex,
> RH10 9XN, United Kingdom.
>
> Or if within the US,
>
> Spirent Communications,
> 26750 Agoura Road, Calabasas, CA, 91302, USA.
> Tel No. 1-818-676- 2300
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev