Dominique Lind wrote: > Hi, > > When I try printing a simple docbook xml file straight from XXE it hangs > and I have to close it. When I run XXE in a terminal I get the following > exception: > > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException > at > com.xmlmind.xmledit.gadget.GadgetPrinter.end(GadgetPrinter.java:829) > at > com.xmlmind.xmleditapp.kit.part.PrintAction.finish(PrintAction.java:205) > at > com.xmlmind.xmleditapp.kit.CancelableAction.run(CancelableAction.java:68) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) > > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) > > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > > > I'm using XXE Professional Edition V3.0 under debian with java version > 1.5.0_03 > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07) > Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode) > > Is this a problem with XXE or java?
I don't know. GadgetPrinter.java:829 is located at the very end of the printing process and contains no logic at all. * Does this problem occur with this "simple docbook xml file" or with any other document? If it only occurs with "the simple docbook xml" file, please send me this file. * Does this problem occur with all your printers? * Does this problem occur if you choose "print to file"? * Does this problem occur on other Linux boxes? * Does this problem occur with other versions of Java (e.g. 1.4.1+)? --- PS: You are the first person to report such problem. We have absolutely no problem at all printing on SuSE Linux 9.3/Java 1.5.0_05/XXE V3. We can even say that with Java 1.5.0+, the print output looks very good.

