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



The information in this article applies to:

  • Microsoft Visual J++ 6.0

This article was previously published under Q194902

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 that this is a bug in the Microsoft products that are 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:

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

194295 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 support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:6/14/2006
Keywords:kbBug kbfix kbide kbJava kbVS600sp3fix KB194902