Closed
Bug 21757
Opened 25 years ago
Closed 24 years ago
Netcenter online java games don't work
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
People
(Reporter: johng, Assigned: stanley.ho)
References
()
Details
(Whiteboard: [nsbeta2-])
(Note: don't know which version of NSPR to assign this to - this happened after
doing a complete install of Netscape Seamonkey from Dec 14, 99).
Go to Netcenter (home.netscape.com)
click on "Play Online" in the Games channel
click on "Hearts" (where you might have to sign-in or sign-up)
click a "Casual
Lodge" so you can play hearts.
This is supposed to launch a window and run a
java applet. Instead, after
launching the window, you get the following "java
warning" from Netcenter.
The following error has occurred:
Java Warning
Explanation:
Unfortunately, the
Web browser you're currently using either
doesn't support Java or you have Java
(or Javascript) disabled in your browser.
You must have a Java-enabled browser
to play the Classic Games.
If you don't
have Netscape Navigator 3.x, Netscape
Communicator 4.x or Microsoft Internet
Explorer 4.x, you can download the latest
versions from the sites below:
There is no information relevant to NSPR; re-assigning the bug to johng
This is a java question - don't know which engineer owns this problem.
Reassigning to Eric Krock.
Assignee: johng → ekrock
Updated•25 years ago
|
Component: NSPR → Java FrontEnd
Product: NSPR → Browser
Comment 4•25 years ago
|
||
Change component from "NSPR" to "Browser"
Comment 5•25 years ago
|
||
DUP #23672. Known bug. Java doesn't work post-M12 right now.
*** This bug has been marked as a duplicate of 23672 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Marking Verified as a dup.
Status: RESOLVED → VERIFIED
Component: Java FrontEnd → OJI
Reopened since still a problem even though this bug's duplicate, bug 23672, was
fixed.
Beta 1 build # 2000032719, Netcenter java games still don't work. Never has.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Comment 8•24 years ago
|
||
Java broken-->nsbeta2. Java on b2 list. Reassigning to drapeau@eng.sun.com.
John: thanks for reopening! But don't assign Java bugs to me; assign them to the
OJI component or to drapeau@eng.sun.com if you have to specify an individual, so
that engineering has them.
I'm curious as to when this gets resolved. Adding myself CC:
Comment 12•24 years ago
|
||
The problem still exists
Tried on Mozilla build M16 milestone and nightly 07/12/2000 on WiNNT SP5
and Java Plugin version 1.3.0-netscape-pr2
Also since I'm going thru' a proxy, maybe it does not allow it to load the
applet ( prompts a 'unable to connect' error in IE5 when trying to load the
game. )
Comment 13•24 years ago
|
||
*** Bug 35479 has been marked as a duplicate of this bug. ***
Comment 14•24 years ago
|
||
Here's a stack trace. Not sure why it's in nsWindow.
NTDLL! 77f76148()
nsWindow::Create(nsWindow * const 0x0d1d74d4, nsIWidget * 0x0d19fbf4, const
nsRect & {...}, nsEventStatus (nsGUIEvent *)* 0x0b594cc0 HandleEvent(nsGUIEvent
*), nsIDeviceContext * 0x0d1217d0, nsIAppShell * 0x00000000, nsIToolkit *
0x00000000, nsWidgetInitData * 0x00000000) line 1027
nsView::CreateWidget(nsView * const 0x0d1d7d10, const nsID & {...},
nsWidgetInitData * 0x00000000, void * 0x00000000, int 1) line 1356
nsObjectFrame::CreateWidget(nsIPresContext * 0x0d20b970, int 2, int 2, int
1345255676) line 409 + 26 bytes
nsPluginInstanceOwner::CreateWidget(nsPluginInstanceOwner * const 0x0d1d01a0)
line 2368 + 36 bytes
nsPluginHostImpl::InstantiateEmbededPlugin(nsPluginHostImpl * const 0x0154fcf4,
const char * 0x0d1d0150, nsIURI * 0x0d1d55f0, nsIPluginInstanceOwner *
0x0d1d01a0) line 1796
nsObjectFrame::InstantiatePlugin(nsIPresContext * 0x0d20b970,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, nsIPluginHost *
0x0154fcf4, const char * 0x0d1d0150, nsIURI * 0x0d1d55f0) line 888
nsObjectFrame::Reflow(nsObjectFrame * const 0x0c9690d4, nsIPresContext *
0x0d20b970, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0) line 707 + 43 bytes
nsLineLayout::ReflowFrame(nsIFrame * 0x0c9690d4, nsIFrame * * 0x0012dd94,
unsigned int & 0, nsHTMLReflowMetrics * 0x00000000, int & 0) line 982
nsBlockFrame::ReflowInlineFrame(nsBlockReflowState & {...}, nsLineLayout &
{...}, nsLineBox * 0x0c969158, nsIFrame * 0x0c9690d4, unsigned char *
0x0012d2fc) line 4364 + 29 bytes
nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState & {...}, nsLineLayout &
{...}, nsLineBox * 0x0c969158, int * 0x0012d98c, unsigned char * 0x0012d7d4,
int 0, int 1) line 4248 + 28 bytes
nsBlockFrame::DoReflowInlineFramesAuto(nsBlockReflowState & {...}, nsLineBox *
0x0c969158, int * 0x0012d98c, unsigned char * 0x0012d7d4, int 0, int 1) line
4184 + 42 bytes
nsBlockFrame::ReflowInlineFrames(nsBlockReflowState & {...}, nsLineBox *
0x0c969158, int * 0x0012d98c, int 1, int 0) line 4127 + 32 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x0c969158,
int * 0x0012d98c, int 1) line 3262 + 29 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2951 + 27 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x0c968ffc, nsIPresContext *
0x0d20b970, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0) line 1756 + 15 bytes
nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason
eReflowReason_Incremental, nsIFrame * 0x0c968ffc, const nsRect & {...}, int 1,
int 0, int 1, nsMargin & {...}, unsigned int & 0) line 519 + 36 bytes
nsBlockReflowContext::ReflowBlock(nsIFrame * 0x0c968ffc, const nsRect & {...},
int 1, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 344 + 50 bytes
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox *
0x0c969070, int * 0x0012e4e4) line 3880 + 56 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x0c969070,
int * 0x0012e4e4, int 1) line 3144 + 23 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2951 + 27 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x0c968f74, nsIPresContext *
0x0d20b970, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0) line 1756 + 15 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x0c968f74, nsIPresContext *
0x0d20b970, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int
0, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes
CanvasFrame::Reflow(CanvasFrame * const 0x0c968f3c, nsIPresContext *
0x0d20b970, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0) line 306
nsContainerFrame::ReflowChild(nsIFrame * 0x0c968f3c, nsIPresContext *
0x0d20b970, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int
0, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes
ViewportFrame::Reflow(ViewportFrame * const 0x0c968f00, nsIPresContext *
0x0d20b970, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0) line 546
nsHTMLReflowCommand::Dispatch(nsHTMLReflowCommand * const 0x0d1d66c0,
nsIPresContext * 0x0d20b970, nsHTMLReflowMetrics & {...}, const nsSize & {...},
nsIRenderingContext & {...}) line 145
PresShell::ProcessReflowCommands(int 0) line 4124
PresShell::FlushPendingNotifications(PresShell * const 0x0d1a0aa0) line 3223
PresShell::DidCauseReflow() line 4074
PresShell::ContentAppended(PresShell * const 0x0d1a0aa8, nsIDocument *
0x0d20f8d0, nsIContent * 0x0d1dca38, int 0) line 3326
nsDocument::ContentAppended(nsDocument * const 0x0d20f8d0, nsIContent *
0x0d1dca38, int 0) line 1805
nsHTMLDocument::ContentAppended(nsHTMLDocument * const 0x0d20f8d0, nsIContent *
0x0d1dca38, int 0) line 1179
HTMLContentSink::NotifyAppend(nsIContent * 0x0d1dca38, int 0) line 4340
SinkContext::FlushTags(int 1) line 1982
HTMLContentSink::DidBuildModel(HTMLContentSink * const 0x0d208690, int 0) line
2375
CNavDTD::DidBuildModel(CNavDTD * const 0x0d1a1c90, unsigned int 2152596471, int
1, nsIParser * 0x0d20e710, nsIContentSink * 0x0d208690) line 635 + 14 bytes
nsParser::DidBuildModel(unsigned int 2152596471) line 1385 + 60 bytes
nsParser::Terminate() line 1459 + 12 bytes
nsHTMLDocument::StopDocumentLoad(nsHTMLDocument * const 0x0d20f8d0) line 840
DocumentViewerImpl::Stop(DocumentViewerImpl * const 0x0d20ed80) line 647
nsDocShell::Stop(nsDocShell * const 0x0cda9060) line 1305
nsDocShell::Stop(nsDocShell * const 0x0d0b5300) line 1320
nsDocShell::Destroy(nsDocShell * const 0x0d0b5304) line 1415
nsWebShell::Destroy(nsWebShell * const 0x0d0b5304) line 1607
nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame() line 448
nsHTMLFrameInnerFrame::`scalar deleting destructor'(unsigned int 1) + 15 bytes
nsFrame::Destroy(nsFrame * const 0x0bb03ef8, nsIPresContext * 0x0d03f540) line
425 + 34 bytes
nsFrameList::DestroyFrames(nsIPresContext * 0x0d03f540) line 36
nsContainerFrame::Destroy(nsContainerFrame * const 0x0bb03e90, nsIPresContext *
0x0d03f540) line 98
nsFrameList::DestroyFrames(nsIPresContext * 0x0d03f540) line 36
nsContainerFrame::Destroy(nsContainerFrame * const 0x0bb03d94, nsIPresContext *
0x0d03f540) line 98
nsLineBox::DeleteLineList(nsIPresContext * 0x0d03f540, nsLineBox * 0x0bb03e40)
line 252
nsBlockFrame::Destroy(nsBlockFrame * const 0x0bb03d0c, nsIPresContext *
0x0d03f540) line 1220 + 16 bytes
nsFrameList::DestroyFrames(nsIPresContext * 0x0d03f540) line 36
nsContainerFrame::Destroy(nsContainerFrame * const 0x0bb03cd4, nsIPresContext *
0x0d03f540) line 98
nsFrameList::DestroyFrames(nsIPresContext * 0x0d03f540) line 36
nsContainerFrame::Destroy(nsContainerFrame * const 0x0bb03c98, nsIPresContext *
0x0d03f540) line 98
ViewportFrame::Destroy(ViewportFrame * const 0x0bb03c98, nsIPresContext *
0x0d03f540) line 144
FrameManager::~FrameManager() line 383
FrameManager::`scalar deleting destructor'(unsigned int 1) + 15 bytes
FrameManager::Release(FrameManager * const 0x0d09c6a0) line 362 + 157 bytes
PresShell::~PresShell() line 1103 + 27 bytes
PresShell::`scalar deleting destructor'() + 15 bytes
PresShell::Release(PresShell * const 0x0d07d940) line 1019 + 158 bytes
nsCOMPtr<nsIPresShell>::~nsCOMPtr<nsIPresShell>() line 490
DocumentViewerImpl::~DocumentViewerImpl() line 439 + 97 bytes
DocumentViewerImpl::`scalar deleting destructor'(unsigned int 1) + 15 bytes
DocumentViewerImpl::Release(DocumentViewerImpl * const 0x0d037900) line 348 +
154 bytes
nsCOMPtr<nsIContentViewer>::assign_assuming_AddRef(nsIContentViewer *
0x00000000) line 472
nsCOMPtr<nsIContentViewer>::assign_with_AddRef(nsISupports * 0x00000000) line
849
nsCOMPtr<nsIContentViewer>::operator=(nsIContentViewer * 0x00000000) line 584
nsDocShell::SetupNewViewer(nsDocShell * const 0x0d05e630, nsIContentViewer *
0x0d0bee90) line 2490
nsWebShell::SetupNewViewer(nsWebShell * const 0x0d05e630, nsIContentViewer *
0x0d0bee90) line 560 + 13 bytes
nsDocShell::Embed(nsDocShell * const 0x0d05e650, nsIContentViewer * 0x0d0bee90,
const char * 0x0036eef4, nsISupports * 0x00000000) line 2218 + 23 bytes
nsWebShell::Embed(nsWebShell * const 0x0d05e650, nsIContentViewer * 0x0d0bee90,
const char * 0x0036eef4, nsISupports * 0x00000000) line 588
nsDocShell::CreateContentViewer(nsDocShell * const 0x0d05e630, const char *
0x0012f904, nsIChannel * 0x0d1d50e0, nsIStreamListener * * 0x0012f958) line
2375 + 32 bytes
nsDSURIContentListener::DoContent(nsDSURIContentListener * const 0x0d05e310,
const char * 0x0012f904, int 0, const char * 0x1009fbe0 gCommonEmptyBuffer,
nsIChannel * 0x0d1d50e0, nsIStreamListener * * 0x0012f958, int * 0x0012f8e8)
line 100 + 33 bytes
nsDocumentOpenInfo::DispatchContent(nsIChannel * 0x0d1d50e0, nsISupports *
0x00000000) line 359 + 109 bytes
nsDocumentOpenInfo::OnStartRequest(nsDocumentOpenInfo * const 0x0d1d4420,
nsIChannel * 0x0d1d50e0, nsISupports * 0x00000000) line 233 + 16 bytes
nsHTTPFinalListener::OnStartRequest(nsHTTPFinalListener * const 0x0d1d43c0,
nsIChannel * 0x0d1d50e0, nsISupports * 0x00000000) line 1157
InterceptStreamListener::OnStartRequest(InterceptStreamListener * const
0x0d0b1480, nsIChannel * 0x0d1d50e0, nsISupports * 0x00000000) line 1140
nsHTTPServerListener::FinishedResponseHeaders() line 1082 + 48 bytes
nsHTTPServerListener::OnDataAvailable(nsHTTPServerListener * const 0x0d00e510,
nsIChannel * 0x0d201af4, nsISupports * 0x0d1d50e0, nsIInputStream * 0x0d00d90c,
unsigned int 0, unsigned int 0) line 427 + 8 bytes
nsOnDataAvailableEvent::HandleEvent(nsOnDataAvailableEvent * const 0x0d0b20a0)
line 401 + 47 bytes
nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x0d0b4cb0) line 97 + 12 bytes
PL_HandleEvent(PLEvent * 0x0d0b4cb0) line 587 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x01562f50) line 528 + 9 bytes
_md_EventReceiverProc(HWND__ * 0x00570650, unsigned int 49550, unsigned int 0,
long 22425424) line 1043 + 9 bytes
USER32! 77e71250()
01562f50()
Assignee: drapeau → edburns
Comment 16•24 years ago
|
||
Per today's PDT, moving from [nsbeta2+] to [nsbeta2-]. Cut off date for PR2 is
July 22.
Whiteboard: [nsbeta2+] → [nsbeta2-]
Comment 17•24 years ago
|
||
I'm finding that there's a java error here as well. This may be due to the old
SetWindow(), Stop() thing happening in the wrong order.
I'm re-assigning to Stanley to take a look.
Exception occurred during event dispatching:
java.lang.NullPointerException: component argument pData
at sun.awt.windows.WGraphics.createFromComponent(Native Method)
at sun.awt.windows.WGraphics.<init>(Unknown Source)
at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
at java.awt.Component.getGraphics(Unknown Source)
at sun.awt.RepaintArea.update(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
jvm test passed
java.lang.NullPointerException: null pData
at sun.awt.windows.WComponentPeer.hide(Native Method)
at java.awt.Component.hide(Unknown Source)
at java.awt.Window.hide(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at sun.plugin.navig.win32.PluginObject.setWindow(PluginObject.java:202)
java.lang.NullPointerException: null pData
at sun.awt.windows.WComponentPeer.hide(Native Method)
at java.awt.Component.hide(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException: null pData
at sun.awt.windows.WComponentPeer.hide(Native Method)
at java.awt.Component.hide(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception occurred during event dispatching:
java.lang.NullPointerException: component argument pData
at sun.awt.windows.WGraphics.createFromComponent(Native Method)
at sun.awt.windows.WGraphics.<init>(Unknown Source)
at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
at java.awt.Component.getGraphics(Unknown Source)
at sun.awt.RepaintArea.update(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception occurred during event dispatching:
java.lang.NullPointerException: component argument pData
at sun.awt.windows.WGraphics.createFromComponent(Native Method)
at sun.awt.windows.WGraphics.<init>(Unknown Source)
at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
at java.awt.Component.getGraphics(Unknown Source)
at sun.awt.RepaintArea.update(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception occurred during event dispatching:
java.lang.NullPointerException: component argument pData
at sun.awt.windows.WGraphics.createFromComponent(Native Method)
at sun.awt.windows.WGraphics.<init>(Unknown Source)
at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
at java.awt.Component.getGraphics(Unknown Source)
at sun.awt.RepaintArea.update(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Assignee: edburns → stanley.ho
Status: ASSIGNED → NEW
Comment 18•24 years ago
|
||
*** Bug 46016 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 19•24 years ago
|
||
Yes, the error is caused by the fact that SetWindow(), Init(), Start(), Stop(),
Destroy() are called in the wrong order.
Status: NEW → ASSIGNED
Comment 20•24 years ago
|
||
New ETA 8/3/00
Comment 21•24 years ago
|
||
New ETA 8/24/00
Reporter | ||
Comment 23•24 years ago
|
||
No one seems to be looking at this bug. cc'ing ekrock and jar.
Comment 24•24 years ago
|
||
It's a Java backward compatibility bug. I do hope that Sun (or someone else) has
the time to fix this, but that will have to be a call they make. cc:ing chrisn
who has Netcenter contacts and drapeau to get this on manager triage radar.
Comment 25•24 years ago
|
||
This bug looks like it could be part of a larger problem, which is race
conditions between Mozilla and the JVM. The lifecycle of applets (perhaps
plugins in general; we don't know yet for sure) is messed up, so that often the
plugin host (i.e., the browser) will destroy a parent window before an applet
can clean up after itself. This results in "null pData" messages from the JVM,
the "pData" (a private data structure pointing to native windows, etc.) being
the window that the plugin host just destroyed.
We're working on a general fix for this lifecycle problem. We're trying to find
workarounds in the Java Plug-In, and also trying to find the right way to fix
this in the Mozilla code. When that's done, we'll re-evaluate this and a number
of other related bugs to see if they go away. If they do, excellent. If not,
we'll work on this separately.
Comment 26•24 years ago
|
||
Taking Stanley's word and marking this as a dup of bug 50547.
*** This bug has been marked as a duplicate of 50547 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
VERIFIED DUP of 50547.
You need to log in
before you can comment on or make changes to this bug.
Description
•