Modify

Opened 10 years ago

Closed 10 years ago

#10476 closed defect (duplicate)

Attribute display involving asian (Mongolia?) alphabet crashes JOSM

Reported by: muralito@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report linux glyph javabug opensuse Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Start JOSM
  2. Load object ​osmwww:node/2466067279
  3. Select node and try to tag values (scroll down to name:mn)

What is the expected result?

Show tag name:mn as all other tags

What happens instead?

The error message is displayed.

Please provide any additional information below. Attach a screenshot if possible.

Probably a problem with the language in key name:mr (until name:mn all texts are displayed)
The problem seems to be related to ticket #9729

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-08-31 21:55:55
Last Changed Author: Don-vip
Revision: 7480
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-08-31 23:51:24 +0200 (Sun, 31 Aug 2014)
Last Changed Rev: 7480

Identification: JOSM/1.5 (7480 en) Linux openSUSE 13.1 (Bottle) (x86_64)
Memory Usage: 212 MB / 1751 MB (85 MB allocated, but free)
Java version: 1.7.0_51, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: java-1_7_0-openjdk:x86_64-1.7.0.6
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (30416)
- HouseNumberTaggingTool (30416)
- OpeningHoursEditor (30609)
- RoadSigns (30495)
- alignways (30416)
- conflation (0.1.7)
- contourmerge (1010)
- graphview (30416)
- imagery_offset_db (30534)
- imageryadjust (30416)
- jts (30416)
- merge-overlap (30416)
- pbf (30495)
- public_transport (30416)
- reltoolbox (30587)
- reverter (30521)
- turnlanes (30416)
- turnrestrictions (30454)
- undelete (30416)
- utilsplugin2 (30460)

Last errors/warnings:
- E: java.lang.ArrayIndexOutOfBoundsException
- E: java.lang.ArrayIndexOutOfBoundsException
- E: java.lang.ArrayIndexOutOfBoundsException
- E: java.lang.ArrayIndexOutOfBoundsException
- E: java.lang.ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException

Error stack is attached below.

ERROR: java.lang.ArrayIndexOutOfBoundsException: -31981566
java.lang.ArrayIndexOutOfBoundsException: -31981566
        at sun.font.FileFontStrike.getCachedGlyphPtr(FileFontStrike.java:472)
        at sun.font.FileFontStrike.getSlot0GlyphImagePtrs(FileFontStrike.java:438)
        at sun.font.CompositeStrike.getGlyphImagePtrs(CompositeStrike.java:115)
        at sun.font.StandardGlyphVector.setupGlyphImages(StandardGlyphVector.java:938)
        at sun.font.GlyphList.setFromGlyphVector(GlyphList.java:293)
        at sun.java2d.pipe.GlyphListPipe.drawGlyphVector(GlyphListPipe.java:136)
        at sun.java2d.SunGraphics2D.drawGlyphVector(SunGraphics2D.java:2942)
        at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193)
        at sun.font.Decoration.drawTextAndDecorations(Decoration.java:122)
        at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197)
        at java.awt.font.TextLine.draw(TextLine.java:774)
        at java.awt.font.TextLayout.draw(TextLayout.java:2638)
        at sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:78)
        at sun.java2d.pipe.ValidatePipe.drawString(ValidatePipe.java:165)
        at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2867)
        at sun.swing.SwingUtilities2.drawString(SwingUtilities2.java:552)
        at sun.swing.SwingUtilities2.drawStringUnderlineCharAt(SwingUtilities2.java:584)
        at javax.swing.plaf.basic.BasicLabelUI.paintEnabledText(BasicLabelUI.java:119)
        at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:179)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
        at javax.swing.JComponent.paintComponent(JComponent.java:769)
        at javax.swing.JComponent.paint(JComponent.java:1045)
        at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:151)
        at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2109)
        at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2010)
        at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1806)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
        at javax.swing.JComponent.paintComponent(JComponent.java:769)
        at javax.swing.JComponent.paint(JComponent.java:1045)
        at javax.swing.JComponent.paintChildren(JComponent.java:878)
        at javax.swing.JComponent.paint(JComponent.java:1054)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
        at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
        at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1081)
        at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1606)
        at javax.swing.JViewport.windowBlitPaint(JViewport.java:1559)
        at javax.swing.JViewport.setViewPosition(JViewport.java:1102)
        at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1054)
        at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1043)
        at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:364)
        at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:302)
        at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:168)
        at javax.swing.JScrollBar.setValue(JScrollBar.java:463)
        at javax.swing.plaf.basic.BasicScrollBarUI.scrollByUnits(BasicScrollBarUI.java:1022)
        at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:1014)
        at java.awt.Component.processMouseWheelEvent(Component.java:6593)
        at java.awt.Component.processEvent(Component.java:6277)
        at java.awt.Container.processEvent(Container.java:2229)
        at java.awt.Component.dispatchEventImpl(Component.java:4861)
        at java.awt.Container.dispatchEventToSelf(Container.java:2311)
        at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:5014)
        at java.awt.Component.dispatchEventImpl(Component.java:4745)
        at java.awt.Container.dispatchEventImpl(Container.java:2287)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4521)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
        at java.awt.Container.dispatchEventImpl(Container.java:2273)
        at java.awt.Window.dispatchEventImpl(Window.java:2719)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:694)
        at java.awt.EventQueue$3.run(EventQueue.java:692)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:708)
        at java.awt.EventQueue$4.run(EventQueue.java:706)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Attachments (0)

Change History (3)

comment:1 by Don-vip, 10 years ago

Description: modified (diff)
Keywords: linux glyph javabug added

comment:2 by Don-vip, 10 years ago

Description: modified (diff)

comment:3 by Don-vip, 10 years ago

Keywords: opensuse added
Resolution: duplicate
Status: newclosed

Closed as duplicate of #9729.
It is indeed the same problem as #9729 which only seems to impact OpenSUSE. You should try the workarounds mentioned in ticket:9729#comment:3 and ticket:9729#comment:5.

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.