sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99)

Dear Experts,

i am getting folowing exception when i am running my java application

Uncaught error fetching image:
java.lang.NullPointerException
        at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99)
        at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:108)
        at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:248)
        at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
        at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)

thanks
km
krishnasaikarthikAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
Need more code and make sure *full* stack trace posted
0
objectsCommented:
check that u aren't passing it a null url
0
krishnasaikarthikAuthor Commented:
Dear CEHJ

what i am doing is i am not puuting any classpath.
i am putting all my jar files in JRE ext directory.

then i am getting this excpetion.

only that exception i am getting on the console.

thanks
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

objectsCommented:
Most likely caused by specifying a nullurl when trying to load an image.
0
krishnasaikarthikAuthor Commented:
dear objects

i am not loading any images

thanks
0
objectsCommented:
something is :)
Perhapos some of the classes you are using do, for example gui classes that use images for their display.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJCommented:
>>only that exception i am getting on the console.

Yes, but you haven't posted the full trace
0
WelkinMazeCommented:
Can you please post the whole content of the console?
And are you sure you're running your application?
0
krishnasaikarthikAuthor Commented:
deat CEHI,

that is only the content i am getting on the console..

thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.