FIX: Printing Fails with java.lang.NullPointerException (177185)



The information in this article applies to:

  • Microsoft virtual machine
  • Microsoft SDK for Java 2.0

This article was previously published under Q177185

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. For more information, visit the following Microsoft Web site:

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:

Modification Type:MinorLast Reviewed:11/14/2005
Keywords:kbBug kbfix KB177185