On Jueves 19 Marzo 2009 16:09:37 Sergio Baños Calvo wrote:
> Buenas tardes Javier.
>
> Si consigues reproducirlo con alguna imagen en concreto nos comentas:
> intentaremos obtener de los logs todo lo posible.
>
> Respecto a la impresión, si te detecta correctamente la impresora (o el
> programa generador de PDFs que uses como impresora, puedes verlo dentro
> de la ventana de impresión, en el menú Archivo > Configuración de
> página) y no se escribe nada en el fichero de log (al menos en los
> trozos que nos enviaste no aparece nada al respecto), pues no se me
> ocurre nada más para ayudarte (salvo, quizás, ver si la impresora
> funciona correctamente con otro programa...).
A mi me sucede lo mismo, como se ve en la imagen, la ventana de configuración 
de página aparece correctamente. Sin embargo, al imprimir el log refleja un 
NullPointerException.



Por lo visto es un error reportado de la impresión de Java [1] en Linux [2] 
cuando se usa CUPS.  Yo no puedo imprimir desde ninguna aplicación hecha en 
Java. Por lo visto hay por ahí algunos workaround que parecen funcionar [3].


[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656
[2] https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191
[3] https://bugs.launchpad.net/ubuntu/+source/sun-
java6/+bug/156191/comments/18

-- 
Un saludo,
Juan Luis.

<<attachment: configuracionImpresion.png>>

19/03/2009 20:00:18  INFO JUMPWorkbench:334 - Iniciando la aplicación Kosmo - Sistema Abierto de Información Geográfica 1.2.1 (20081021) - 19-mar-2009 20:00:18                                                             
19/03/2009 20:00:18  INFO JUMPWorkbench:340 - Versión de Java : 1.6.0_03                                      
19/03/2009 20:00:18  INFO JUMPWorkbench:342 - SO : Linux (2.6.27-11-generic)                                  
19/03/2009 20:00:18  INFO JUMPWorkbench:440 - Usando L&F javax.swing.plaf.metal.MetalLookAndFeel              
19/03/2009 20:00:42  INFO IndexedShapeFileConnection:176 - Creando el índice espacial                         
19/03/2009 20:05:51 ERROR root:197 - Exception in thread "AWT-EventQueue-0"                                   
19/03/2009 20:05:51 ERROR root:197 - java.lang.NullPointerException: null attribute                           
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.IPPPrintService.isAttributeValueSupported(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.ServiceDialog$OrientationPanel.updateInfo(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.ServiceDialog$PageSetupPanel.updateInfo(Unknown Source)  
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.ServiceDialog.updatePanels(Unknown Source)               
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.ServiceDialog.initPrintDialog(Unknown Source)            
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.ServiceDialog.<init>(Unknown Source)                     
19/03/2009 20:05:51 ERROR root:197 -    at javax.print.ServiceUI.printDialog(Unknown Source)                  
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.RasterPrinterJob.printDialog(Unknown Source)             
19/03/2009 20:05:51 ERROR root:197 -    at sun.print.PSPrinterJob.printDialog(Unknown Source)                 
19/03/2009 20:05:51 ERROR root:197 -    at org.saig.jump.widgets.print.actions.Print.actionPerformed(Print.java:97)
19/03/2009 20:05:51 ERROR root:197 -    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Component.processMouseEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at javax.swing.JComponent.processMouseEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Component.processEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Container.processEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Component.dispatchEventImpl(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Container.dispatchEventImpl(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Component.dispatchEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Container.dispatchEventImpl(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Window.dispatchEventImpl(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.Component.dispatchEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.EventQueue.dispatchEvent(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
19/03/2009 20:05:51 ERROR root:197 -    at java.awt.EventDispatchThread.run(Unknown Source)
_______________________________________________
Kosmo mailing list
[email protected]
http://lists.saig.es/mailman/listinfo/kosmo

Responder a