FIX: Java Components Invoked from JScript May Generate Error Message (289615)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Professional SP1

This article was previously published under Q289615

SYMPTOMS

Java components that are invoked from JScript may generate the following error message:
COM+ Internal Error. Please contact Microsoft Product Support Services to report this error. Assertion Failure:
m_cCalls == 0
Server Application ID: {(your application ID)}
Server Application Name: (your application name)
The serious nature of this error has caused the process to terminate.
COM+ Services Internals Information:
File: .\jit.cpp, Line: 413

CAUSE

This problem occurs because of a timing issue inside the just-in-time (JIT) compiler. There is a small time window in which the state of a JIT-activated component is invalid. The assertion is correct. This problem is only apparent with Java components that are called from JScript because of performance optimizations that are made for this scenario.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

To work around this problem, you can use Microsoft Visual Basic Scripting Edition (VBScript) to call the components.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Windows 2000. This problem was first corrected in Windows 2000 Service Pack 2.

Modification Type:MajorLast Reviewed:11/17/2003
Keywords:kbbug kberrmsg kbfix kbWin2000PreSP2Fix KB289615