Closed Bug 167772 Opened 23 years ago Closed 17 years ago

JRE: Get NullPointerException when loading java applet

Categories

(Core Graveyard :: Java-Implemented Plugins, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bmartin, Assigned: blackconnect)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 unable to load the java applets on this page. Reproducible: Always Steps to Reproduce: Testing with latest Mozilla trunk(Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2a) Gecko/20020910) 1. Launch Mozilla and go to the following url: http://www.hprc.utoronto.ca/~brucerob/DisplayGreek/dgexamples1.html#_wmh3_872874154 Actual Results: Result: The page loads, then a modal msgbox (JRE's msgbox) appears with "General Exception" error. The detail error message shows this: java.lang.NullPointerException at DisplayGreek.parseForReturn(DisplayGreek.java:180) at DisplayGreek.init(DisplayGreek.java:60) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Expected Results: Should load the java applets on this page with no problems
I'm not sure what JRE you are using but I'm using BuildID 2002090708 with JRE 1.4.0_01 on Win2KSP2 and I get the following in the java console window but no general exception box. GreekDisplay Applet failed: there is no 'text' parameter and therefore no text to display. java.lang.NullPointerException at DisplayGreek.parseForReturn(DisplayGreek.java:180) at DisplayGreek.init(DisplayGreek.java:60) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I presume this has worked sometime in the past can you identify when?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: JRE: Get NullPointerException when loading java applet → JRE: Get NullPointerException when loading java applet
testing was done against latest Mozilla trunk rv:1.2a Gecko/20020910 with bundled Java JRE 1.4.0.10
looks like there is an html problem: an extra <applet> tag appears to exist in the middle of the following section of source: <applet CODE="DisplayGreek" WIDTH="400" HEIGHT="136" SGI_SRC="/home/u/brucerob/public_html/DisplayGreek/DisplayGreek" ><applet> <param NAME="text" VALUE="th\n me\n paraskeuh/n, w)= a)/ndres, kai\ th\n proqumi/an tw=n e)xqrw=n tw=n e)mw=n, w(/st'e)me\ kakw=s poiei=n e)k panto\s tro/pou, kai\ dikai/ws kai\ a)di/kws, e)c a)rxh=s e)peidh\ ta/xista a)fiko/mhn ei)s th\n po/lin tauthni/, sxedo/n ti pa/ntes e)pi/stasqe, kai\ ou)de\n dei= peri\ tou/twn pollou\s lo/gous poiei=sqai: e)gw\ de/, w)= a)/ndres, deh/somai u(mw=n di/kaia kai\ u(mi=n te r(a/|dia xari/zesqai kai\ e)moi\ a)/cia pollou= tuxei=n par' u(mw=n."> <param NAME="fontsize" VALUE="12"> </applet><br>
This bug also lives in Phonex/firebird. With windows 98SE platform and Firebird Go to www.toast.net/start - applet for stock quotes returns Null Pointer Exception and freezes screen 9 out of 10 times. The 1 out of ten it works OK. Dissabling Java (in options) solves freezing but no stock quotes. In the 1 out of ten times the applet works (with java enabled) Firebird is eratic at best - loading some pages freezing on others even when on pages with no applets. Turn Java off - no problems. LOVE this browser when its working - fast, fast, fast!
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a) Gecko/20040519 Bug can´t be tested, as URL gives a 404. Invalid?
yes, after years without comment and invalid testcase
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.