-
Enhancement
-
Resolution: Fixed
-
P4
-
1.3.0, 1.4.0
-
b43
-
x86
-
windows_nt
Name: krT82822 Date: 02/18/2000
18 Feb 2000, eval1127@eng -- this is bug # 4250410, and is not fixed as of build "U" of kestrel. Am opening new bug, just to make sure iits claimed
fix in kestrel makes it into the final release.
orig synopsis: "unclear "Can't find resource for bundle" message"
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)
the error at bottom appears to be from a missing tag in html, because it is
generated from:
<html>
<body>
<applet code="Chart.class" width="200" height=300"> <<<<--- [either eliminate the quotes around the #'s, or at least BALANCE them...the 300 is missing
</applet> a left quotation mark]
</body>
</html>
whereas, when I use:
<html>
<body marginheight="0" marginwidth="0" bgcolor="ffffff" vlink="#333399"
link="#333399" alink="#006600">
<applet align="baseline" code="Chart.class"
codebase="http://localhost/ChartApplet//" height="500"
name="Chart" width="500">
<param NAME="snapshot" VALUE="false">
<param NAME="symbols" VALUE="COMP,SPIC"></applet>
</body>
</html>
the error does not occur.
the error is:
C:\Harvey\ChartApplet>appletviewer MyApplet.htm
Exception in thread "main" java.util.MissingResourceException: Can't find resour
ce for bundle sun.applet.resources.MsgAppletViewer, key appletpanel.badattribute
.exception
at java.util.ResourceBundle.getObject(ResourceBundle.java:390)
at java.util.ResourceBundle.getString(ResourceBundle.java:362)
at sun.applet.AppletMessageHandler.getMessage(AppletMessageHandler.java:
42)
at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:697)
at sun.applet.AppletPanel.init(AppletPanel.java:185)
at sun.applet.AppletViewer.<init>(AppletViewer.java:175)
at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.jav
a:81)
at sun.applet.AppletViewer.parse(AppletViewer.java:1035)
at sun.applet.AppletViewer.parse(AppletViewer.java:969)
at sun.applet.Main.run(Main.java:140)
at sun.applet.Main.main(Main.java:82)
(Review ID: 101416)
======================================================================
Name: ks88420 Date: 09/11/2000
java version "1.3.0"
java(TM) 2 Runtime Enviornment, Standard Edition (build 1.2.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Hi,
after I installed Java software development kit on my PC (win nt 4,
sp5) I tried running a simple hello world applet. It compiled properly
on my PC and loads and runs properly in netscape but when I try running
it in appletviewer, I get "Exception in thread "main"
java.util.MissingResourceException: Can't find resource for bundle
sun.applet.resources.MsgAppletViewer, key
appletpanel.badattribute.exception
at java.util.ResourceBundle.getObject(ResourceBundle.java:382)...."
It lists more packages.
The helloworld applet and HTML code was taken from the java.sun.com tutorial web
page.
Do you what is causing this error and how to fix it?
(Review ID: 109464)
======================================================================
- duplicates
-
JDK-4525609 MsgAppletViewer problem: can't find "appletpanel.badattribute.exception"
-
- Closed
-