Modify

Opened 12 years ago

Closed 12 years ago

#8876 closed defect (othersoftware)

Unable to print on Windows (AIOOBE in sun.print.Win32PrintService)

Reported by: Luebeck Owned by: team
Priority: normal Milestone:
Component: Plugin print Version:
Keywords: windows Cc:

Description (last modified by Don-vip)

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-07-01 01:35:19
Last Changed Author: stoecker
Revision: 6044
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-06-30 22:05:03 +0200 (Sun, 30 Jun 2013)
Last Changed Rev: 6044

Identification: JOSM/1.5 (6044 de) Windows 7 64-Bit
Memory Usage: 212 MB / 910 MB (108 MB allocated, but free)
Java version: 1.6.0_45, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx1024M]
Dataset consistency test: No problems found

Plugin: AddrInterpolation (29435)
Plugin: HouseNumberTaggingTool (29487)
Plugin: OpeningHoursEditor (29435)
Plugin: RoadSigns (29699)
Plugin: buildings_tools (29596)
Plugin: measurement (29625)
Plugin: openstreetbugs (29435)
Plugin: print (29529)
Plugin: reverter (29663)
Plugin: terracer (29623)
Plugin: utilsplugin2 (29742)
Plugin: wikipedia (29523)

java.lang.ArrayIndexOutOfBoundsException: 8
	at sun.print.Win32PrintService.getMediaTrays(Unknown Source)
	at sun.print.Win32PrintService.getSupportedAttributeValues(Unknown Source)
	at sun.print.ServiceDialog$MediaPanel.updateInfo(Unknown Source)
	at sun.print.ServiceDialog$PageSetupPanel.updateInfo(Unknown Source)
	at sun.print.ServiceDialog.updatePanels(Unknown Source)
	at sun.print.ServiceDialog.initPrintDialog(Unknown Source)
	at sun.print.ServiceDialog.<init>(Unknown Source)
	at javax.print.ServiceUI.printDialog(Unknown Source)
	at sun.print.RasterPrinterJob.printDialog(Unknown Source)
	at org.openstreetmap.josm.plugins.print.PrintDialog.actionPerformed(PrintDialog.java:404)
	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$400(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.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.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.pumpEventsForFilter(Unknown Source)
	at java.awt.Dialog$1.run(Unknown Source)
	at java.awt.Dialog$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.plugins.print.PrintDialog.setVisible(PrintDialog.java:170)
	at org.openstreetmap.josm.plugins.print.PrintAction.run(PrintAction.java:73)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$400(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)

Attachments (0)

Change History (1)

comment:1 by Don-vip, 12 years ago

Description: modified (diff)
Keywords: windows added; template_report removed
Resolution: othersoftware
Status: newclosed
Summary: unable to create a printUnable to print on Windows (AIOOBE in sun.print.Win32PrintService)

This is Java bug 6939417.

It appears to be fixed in Java 7, you should update to this version of Java. Updating your printer drivers could help too.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.