FIX: Visual J++ Crashes When Pasting a File into the Toolbox

ID: Q194902


The information in this article applies to:


SYMPTOMS

An exception error (access violation) appears in Devenv.exe when pasting a file into the toolbox.


RESOLUTION

You can work around this problem by using drag-and-drop to place code onto the toolbox.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed


MORE INFORMATION

Steps to Reproduce Behavior

  1. Start Visual J++.


  2. Create a new Windows Application Project.


  3. In the Project Explorer, right-click Form1.Java and click Copy.


  4. Right-click Toolbox and click Paste.


RESULT: One of the following error messages appears:
Exception: access violation (0xc0000005), Address: 0x5e11b415
Unhandled exception in DEVENV.EXE (access violation)
Toolbox Tab: DEVENV.EXE - Application Error
The instruction at "0x5e11b415" referenced memory at "0x00000000". The memory could not be "written".


REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support site:

http://support.microsoft.com/support/visualj/

http://support.microsoft.com/support/java/

Additional query words:


Keywords          : kbide kbJava kbVJ600bug kbVS600sp3fix 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 20, 1999