Closed Bug 146275 Opened 22 years ago Closed 22 years ago

Java Applet Dimensions Scaled Down not working properly.

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jfarrell, Assigned: joshua.xia)

References

()

Details

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
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
reassign to me
Assignee: joe.chou → joshua.xia
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
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.