Solved

Exception NULL in IE 6.0

Posted on 2002-05-07
2
197 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

822 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