Solved

Netscape crashes on Mac !!!

Posted on 1998-02-17
3
228 Views
Last Modified: 2010-04-16
Hi,

We are developing a medium size application in java.
http://www.protomap.cs.huji.ac.il

Everything works fine on every UNIX we tried both netscape 3.0
and 4.0x. On WIN95 and NT4.0 under netscape and IE everything seems to work fine also.

However, we are having serious trouble under MacOS (newer versions)
when using both netscape3.0 and 4.0x.
Since the site is intended to be used by biologists, most of which use MACs we cannot afford it not to work.

The problem is that under various circumstances netscape simply totaly crashes.
However, we succeeded "grabbing" the following error:

 java.lang.OutOfMemoryError
 at sun.awt.macos.MacGraphics.<init>(MacGraphics.java:46)
 at sun.awt.macos.MacImage.getGraphics(MacImage.java:17)
 at image_region.ImageMap.paint(ImageMap.java:107)
 at
sun.awt.macos.InterfaceThread.dispatchInterfaceEvent(InterfaceThread.java:53)
 at java.lang.Thread.run(Thread.java:296)
 java.lang.OutOfMemoryError
 at sun.awt.macos.MacGraphics.<init>(MacGraphics.java:46)
 at sun.awt.macos.MacImage.getGraphics(MacImage.java:17)
 at image_region.ImageMap.paint(ImageMap.java:107)
 at
sun.awt.macos.InterfaceThread.dispatchInterfaceEvent(InterfaceThread.java:53)
 at java.lang.Thread.run(Thread.java:296)

The applet implements a scrolling graph.
We use the following widgets:
buttons, scrollbars, textarea, panels, labels.

We tried to enlarge the recomended and minimal memory usage of the
netscape executable, but nothing seems to help.
We suspect that there is a bug in the implementation of one of the widgets on Mac.

Has anyone encountered such a problem ?

HELP and thanks,
Kreso.
0
Comment
Question by:shark47
  • 2
3 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 1233108
You know with all the hype out of Apple about Java you'd think that they would have made it a priority to ensure that there was a robust Java run-time environment for the Mac.  Unfortunately, there really isn't.  You might want to post this in one of the Mac centric areas to get some pointers.
0
 
LVL 3

Accepted Solution

by:
q2guo earned 100 total points
ID: 1233109
Does netscape crash everytime you load the applet?
0
 
LVL 3

Expert Comment

by:q2guo
ID: 1233110
Sorry, above was meant to be a comment.
Please reject me to open up the question again
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

830 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