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


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


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


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


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".


For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:

Id. de artículo: 194902 - Última revisión: 02/14/2017 - Revisión: 1

Microsoft Visual J++ 6.0 Edición estándar