Menu

#35 using 'printer' for printer gets null pointer exception

devel
open
None
5
2012-12-31
2009-03-04
No

if "printer" is selected as the configured printer type, when you try to finish a ticket off it gets a NullPointerException.

The stack trace is attached.

Discussion

  • Jamie Campbell

    Jamie Campbell - 2009-03-04

    stack trace of the exception

     
  • Jamie Campbell

    Jamie Campbell - 2009-03-05

    this looks like it might be a jvm bug. Or my system is messed up somehow. I get the same null pointer exception when I use verbatim sample code from the java.sun.com website ( http://java.sun.com/j2se/1.3/docs/guide/awt/designspec/printing.html ) .. although the suspicious part of that link is that it's all the way back to java 1.3, so, may be failing if it's no longer correct code for java6.

     
  • Jamie Campbell

    Jamie Campbell - 2009-03-05

    tried it on an old 32 bit system and the print dialog comes up without exception, so it's either a 64 bit jvm bug, or, my system is messed.. would be good for someone else with a 64 bit system to give it a try and see what happens.

     

Log in to post a comment.