Microsoft KB Archive/289615

From BetaArchive Wiki
Knowledge Base


FIX: Java Components Invoked from JScript May Generate Error Message

Article ID: 289615

Article Last Modified on 2/12/2007



APPLIES TO

  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1



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.

Keywords: kberrmsg kbbug kbfix kbwin2000presp2fix KB289615