Link to home
Start Free TrialLog in
Avatar of TheoViset
TheoViset

asked on

Exception NULL in IE 6.0

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????


ASKER CERTIFIED SOLUTION
Avatar of Neutron
Neutron

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of heyhey_
heyhey_

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);