Solved

Netscape crashes on Mac !!!

Posted on 1998-02-17
3
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

737 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