Java Applet Dimensions Scaled Down not working properly.

RESOLVED WORKSFORME

Status

Core Graveyard
Java: OJI
RESOLVED WORKSFORME
16 years ago
7 years ago

People

(Reporter: Jay Farrell, Assigned: Joshua Xia)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
While running the test, the 2nd, 3rd, and 4th applet did not run. With java 
debugging turned on, I captured the following (3 time, one for each failing 
app):

java.lang.IllegalArgumentException: Width (400) and height (0) must be > 0
    at java.awt.image.Raster.createInterleavedRaster(Raster.java, Compiled Code)
    at java.awt.image.Raster.createInterleavedRaster(Raster.java, Compiled Code)
    at java.awt.image.Raster.createInterleavedRaster(Raster.java, Compiled Code)
    at java.awt.image.IndexColorModel.createCompatibleWritableRaster
(IndexColorModel.java, Compiled Code)
    at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java, Compiled 
Code)
    at java.awt.Component.createImage(Component.java, Compiled Code)
    at JitterText.init(JitterText.java, Compiled Code)
    at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code)
    at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java, 
Compiled Code)
    at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java, 
Compiled Code)
    at java.lang.Thread.run(Thread.java:484)


 I'm not sure if this test is not correct, or if it's a real problem.
 Saw same output on both OpenVMS 20020513 and Linux 2002051009

Comment 1

16 years ago
Chris Petersen is a new QA contact for oji component. His email is:
petersen@netscape.com
Assignee: joe.chou → petersen
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → joe.chou
QA Contact: pmac → petersen
(Assignee)

Comment 3

15 years ago
reassign to me
Assignee: joe.chou → joshua.xia

Comment 4

15 years ago
WFM on Linux(RH8.0)/windows2000 with mozilla1.2 JRE1.4.1_01
Reporter: Could you please try latest JRE to see whether it's still a problem?
Closing. Feel free to reopen if you can reproduce it with latest JRE.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME

Updated

7 years ago
Component: Java: OJI → Java: OJI
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.