Solved

Exception NULL in IE 6.0

Posted on 2002-05-07
2
198 Views
Last Modified: 2010-03-31
I have this piece of code:

   try
   {
       m_Image = m_RootApplet.getImage(new URL(m_GifDir
       + data));
   }
   catch(Exception e)
   {
       m_Log.debugInfo("EXCEPTION in loadImage: " 
       + m_GifDir + data);
       m_Log.debugInfo("Exception " + e.getMessage());
   }

I get the following result in I.E.6 with Java JRE 2.0:

13:37:09 EXCEPTION in loadImage: http://scohdh/fids/gif/UAL.gif
13:37:09 Exception null

scohdh is a sco unix machine and runs a http daemon and in Visual Cafe it works properly. What can be the problem????


0
Comment
Question by:TheoViset
2 Comments
 
LVL 4

Accepted Solution

by:
Neutron earned 100 total points
ID: 6994237
Hi TheoViset,

you could try to use:

m_image = m_RootApplet.getImage(m_RootApplet.getCodeBase(), m_GifDir
      + data);

...instead.

Greetings,
    </ntr> :)
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 6994417
e.getMessage() returns null - e is probably NullPointerException or something similar that does not have message attached.

try this instead
 m_Log.debugInfo("Exception " + e);
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet  URL Rewriting 1 42
egit plugin on eclipse 8 82
varialbe initialization 11 37
jboss 7.1 start up error 1 40
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question