The information in this article applies to:
SYMPTOMSVisual Studio may crash while attempting to open a very large Java source file, or a project that contains a very large Java source file. CAUSEWhile processing the Java source code an internal stack overflow error may occur and cause Visual Studio to crash. RESOLUTIONThis can be avoided by breaking up any overly large Java class, method, or code block into smaller parts. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThis problem happens when processing Java source code with many thousands of statements in a single block. Although programmers typically don't produce such large blocks of code, an automated process or program generator may produce code that the editor will fail to process. Steps to Reproduce BehaviorThe following program will generate a file called "BadFile.java" when run. Opening the generated file "BadFile.java" will result in a crash in Visual Studio.
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Derek R. Smith, Microsoft Corporation. Additional query words:
Keywords : kbide kbInternet kbVJ kbVJ600bug |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |