Ciao
Formattando il pc e passando da win 7 ultimate 64bit a Win 7 pro 32 bit, eclipse in fase di stampa mi segnala i seguenti errori che precedentemente non uscivano :
premettendo che installando java 7, stampa ma con errori nella font che utilizzo per barcode. ho rimesso java6 stampa bene tutto , ma lo ha fatto solo un volta, poi l'errore suddetto.codice:Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 7 at sun.print.Win32PrintService.getMediaTrays(Unknown Source) at sun.print.Win32PrintService.getSupportedAttributeValues(Unknown Source) at sun.print.RasterPrinterJob.updatePageAttributes(Unknown Source) at sun.print.RasterPrinterJob.setPrintable(Unknown Source) at sun.print.RasterPrinterJob.setAttributes(Unknown Source) at sun.awt.windows.WPrinterJob.setAttributes(Unknown Source) at sun.print.RasterPrinterJob.print(Unknown Source) at sun.print.RasterPrinterJob.print(Unknown Source) at nuceria.TabellaRicercaSpe.actionPerformed(TabellaRicercaSpe.java:261) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
sarà incompatibilità coi driver o problemi di privileggi di java che prima non ho mai avuto (dipenderà dalla versione di win?).
speriamo che potete aiutarmi, altrimenti dovro formattare ?
ciao grazie

Rispondi quotando