FIX: Printing Fails with java.lang.NullPointerException

ID: Q177185


The information in this article applies to:


SYMPTOMS

Printing from your Java applet or application will fail with the Microsoft virtual machine (Microsoft VM) from Internet Explorer 4.0 when using certain printer drivers.

If you enable Java logging in Internet Explorer and look in the Javalog.txt file, you will see a java.lang.NullPointerException when trying to print.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. The problem has been fixed in the Microsoft VM build 2334 or later. Download the Microsoft virtual machine from http://www.microsoft.com/java/.


MORE INFORMATION

HP Laserjet 5Si/5Si MX PS printer driver is a known driver that will not print correctly.


REFERENCES

For 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/

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

Additional query words:


Keywords          : kbnokeyword kbSDKJava200bug kbVJ AWTPkg JVM 
Version           : WINDOWS:2.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 26, 1999