Modify

Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#13759 closed defect (othersoftware)

Could not add tags

Reported by: developer.nirab@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report javabug Cc:

Description

What steps will reproduce the problem?

  1. Loaded layers Mapillary, Data Layer and Bing
  2. Added a point and used presets shop>food>convenience
  3. Go to Tags/Membership and click on Add

What is the expected result?

Should give a window to add key value

What happens instead?

Gives an error

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016)
Revision:10966
Build-Date:2016-09-05 22:21:00
URL:http://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (10966 en) Linux Ubuntu 14.04.5 LTS
Memory Usage: 426 MB / 1976 MB (188 MB allocated, but free)
Java version: 9-ea+134, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ CADTools (1006)
+ ColorPlugin (11)
+ Mapillary (v1.3.1)
+ OpenStreetView (22)
+ OpeningHoursEditor (32699)
+ ShapeTools (1220)
+ apache-commons (32699)
+ apache-http (32699)
+ buildings_tools (32944)
+ ejml (32680)
+ fieldpapers (v0.4.0)
+ geochat (32796)
+ geojson
+ jogl (1.0.46)
+ jts (32699)
+ kendzi3d-resources (0.0.1)
+ log4j (32699)
+ public_transport (32796)
+ reverter (32796)
+ undelete (32699)
+ utilsplugin2 (32815)
+ wms-turbo-challenge2 (32699)

Last errors/warnings:
- W: Unable to get color from '' for color preference 'extrude.main.line'
- W: Unable to get color from '' for color preference 'improve.way.accuracy.helper.line'
- W: Unable to get color from '' for color preference 'make.parallel.helper.line'
- W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US
- W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US
- W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US
- W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US
- W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US
- W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US
- W: java.util.MissingResourceException: Can't find bundle for base name sun.awt.resources.awt, locale en_US


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (22) of main
java.lang.ArrayIndexOutOfBoundsException: 256
	at sun.font.ExtendedTextSourceLabel.createCharinfo(java.desktop@9-ea/ExtendedTextSourceLabel.java:814)
	at sun.font.ExtendedTextSourceLabel.getCharinfo(java.desktop@9-ea/ExtendedTextSourceLabel.java:548)
	at sun.font.ExtendedTextSourceLabel.getLineBreakIndex(java.desktop@9-ea/ExtendedTextSourceLabel.java:480)
	at java.awt.font.TextMeasurer.calcLineBreak(java.desktop@9-ea/TextMeasurer.java:330)
	at java.awt.font.TextMeasurer.getLineBreakIndex(java.desktop@9-ea/TextMeasurer.java:566)
	at java.awt.font.LineBreakMeasurer.nextOffset(java.desktop@9-ea/LineBreakMeasurer.java:359)
	at java.awt.font.LineBreakMeasurer.nextLayout(java.desktop@9-ea/LineBreakMeasurer.java:440)
	at javax.swing.text.TextLayoutStrategy.sync(java.desktop@9-ea/TextLayoutStrategy.java:324)
	at javax.swing.text.TextLayoutStrategy.insertUpdate(java.desktop@9-ea/TextLayoutStrategy.java:70)
	at javax.swing.text.FlowView.loadChildren(java.desktop@9-ea/FlowView.java:151)
	at javax.swing.text.CompositeView.setParent(java.desktop@9-ea/CompositeView.java:139)
	at javax.swing.text.FlowView.setParent(java.desktop@9-ea/FlowView.java:297)
	at javax.swing.text.html.ParagraphView.setParent(java.desktop@9-ea/ParagraphView.java:75)
	at javax.swing.text.CompositeView.replace(java.desktop@9-ea/CompositeView.java:219)
	at javax.swing.text.BoxView.replace(java.desktop@9-ea/BoxView.java:182)
	at javax.swing.text.CompositeView.loadChildren(java.desktop@9-ea/CompositeView.java:114)
	at javax.swing.text.CompositeView.setParent(java.desktop@9-ea/CompositeView.java:139)
	at javax.swing.text.html.BlockView.setParent(java.desktop@9-ea/BlockView.java:72)
	at javax.swing.text.CompositeView.replace(java.desktop@9-ea/CompositeView.java:219)
	at javax.swing.text.BoxView.replace(java.desktop@9-ea/BoxView.java:182)
	at javax.swing.text.html.TableView$RowView.replace(java.desktop@9-ea/TableView.java:1474)
	at javax.swing.text.CompositeView.loadChildren(java.desktop@9-ea/CompositeView.java:114)
	at javax.swing.text.CompositeView.setParent(java.desktop@9-ea/CompositeView.java:139)
	at javax.swing.text.CompositeView.replace(java.desktop@9-ea/CompositeView.java:219)
	at javax.swing.text.BoxView.replace(java.desktop@9-ea/BoxView.java:182)
	at javax.swing.text.html.TableView.replace(java.desktop@9-ea/TableView.java:913)
	at javax.swing.text.CompositeView.loadChildren(java.desktop@9-ea/CompositeView.java:114)
	at javax.swing.text.CompositeView.setParent(java.desktop@9-ea/CompositeView.java:139)
	at javax.swing.text.html.TableView.setParent(java.desktop@9-ea/TableView.java:817)
	at javax.swing.text.CompositeView.replace(java.desktop@9-ea/CompositeView.java:219)
	at javax.swing.text.BoxView.replace(java.desktop@9-ea/BoxView.java:182)
	at javax.swing.text.CompositeView.loadChildren(java.desktop@9-ea/CompositeView.java:114)
	at javax.swing.text.CompositeView.setParent(java.desktop@9-ea/CompositeView.java:139)
	at javax.swing.text.html.BlockView.setParent(java.desktop@9-ea/BlockView.java:72)
	at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(java.desktop@9-ea/HTMLEditorKit.java:1409)
	at javax.swing.text.CompositeView.replace(java.desktop@9-ea/CompositeView.java:219)
	at javax.swing.text.BoxView.replace(java.desktop@9-ea/BoxView.java:182)
	at javax.swing.text.CompositeView.loadChildren(java.desktop@9-ea/CompositeView.java:114)
	at javax.swing.text.CompositeView.setParent(java.desktop@9-ea/CompositeView.java:139)
	at javax.swing.text.html.BlockView.setParent(java.desktop@9-ea/BlockView.java:72)
	at javax.swing.plaf.basic.BasicHTML$Renderer.<init>(java.desktop@9-ea/BasicHTML.java:394)
	at javax.swing.plaf.basic.BasicHTML.createHTMLView(java.desktop@9-ea/BasicHTML.java:71)
	at javax.swing.plaf.basic.BasicHTML.updateRenderer(java.desktop@9-ea/BasicHTML.java:218)
	at javax.swing.plaf.basic.BasicLabelUI.installComponents(java.desktop@9-ea/BasicLabelUI.java:381)
	at javax.swing.plaf.basic.BasicLabelUI.installUI(java.desktop@9-ea/BasicLabelUI.java:343)
	at javax.swing.JComponent.setUI(java.desktop@9-ea/JComponent.java:666)
	at javax.swing.JLabel.setUI(java.desktop@9-ea/JLabel.java:256)
	at javax.swing.JLabel.updateUI(java.desktop@9-ea/JLabel.java:270)
	at javax.swing.JLabel.<init>(java.desktop@9-ea/JLabel.java:162)
	at javax.swing.JLabel.<init>(java.desktop@9-ea/JLabel.java:192)
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$AddTagsDialog.buildRecentTagsPanel(TagEditHelper.java:933)
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$AddTagsDialog.suggestRecentlyAddedTags(TagEditHelper.java:840)
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$AddTagsDialog.<init>(TagEditHelper.java:722)
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper.getAddTagsDialog(TagEditHelper.java:222)
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper.addTag(TagEditHelper.java:210)
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog$AddAction.actionPerformed(PropertiesDialog.java:1071)
	at javax.swing.AbstractButton.fireActionPerformed(java.desktop@9-ea/AbstractButton.java:1967)
	at javax.swing.AbstractButton$Handler.actionPerformed(java.desktop@9-ea/AbstractButton.java:2308)
	at javax.swing.DefaultButtonModel.fireActionPerformed(java.desktop@9-ea/DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(java.desktop@9-ea/DefaultButtonModel.java:261)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.desktop@9-ea/BasicButtonListener.java:269)
	at java.awt.AWTEventMulticaster.mouseReleased(java.desktop@9-ea/AWTEventMulticaster.java:297)
	at java.awt.Component.processMouseEvent(java.desktop@9-ea/Component.java:6601)
	at javax.swing.JComponent.processMouseEvent(java.desktop@9-ea/JComponent.java:3322)
	at java.awt.Component.processEvent(java.desktop@9-ea/Component.java:6366)
	at java.awt.Container.processEvent(java.desktop@9-ea/Container.java:2259)
	at java.awt.Component.dispatchEventImpl(java.desktop@9-ea/Component.java:4985)
	at java.awt.Container.dispatchEventImpl(java.desktop@9-ea/Container.java:2317)
	at java.awt.Component.dispatchEvent(java.desktop@9-ea/Component.java:4817)
	at java.awt.LightweightDispatcher.retargetMouseEvent(java.desktop@9-ea/Container.java:4896)
	at java.awt.LightweightDispatcher.processMouseEvent(java.desktop@9-ea/Container.java:4533)
	at java.awt.LightweightDispatcher.dispatchEvent(java.desktop@9-ea/Container.java:4474)
	at java.awt.Container.dispatchEventImpl(java.desktop@9-ea/Container.java:2303)
	at java.awt.Window.dispatchEventImpl(java.desktop@9-ea/Window.java:2754)
	at java.awt.Component.dispatchEvent(java.desktop@9-ea/Component.java:4817)
	at java.awt.EventQueue.dispatchEventImpl(java.desktop@9-ea/EventQueue.java:761)
	at java.awt.EventQueue.access$500(java.desktop@9-ea/EventQueue.java:97)
	at java.awt.EventQueue$3.run(java.desktop@9-ea/EventQueue.java:712)
	at java.awt.EventQueue$3.run(java.desktop@9-ea/EventQueue.java:706)
	at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(java.desktop@9-ea/EventQueue.java:734)
	at java.awt.EventQueue$4.run(java.desktop@9-ea/EventQueue.java:732)
	at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77)
	at java.awt.EventQueue.dispatchEvent(java.desktop@9-ea/EventQueue.java:731)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(java.desktop@9-ea/EventDispatchThread.java:199)
	at java.awt.EventDispatchThread.pumpEventsForFilter(java.desktop@9-ea/EventDispatchThread.java:124)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(java.desktop@9-ea/EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(java.desktop@9-ea/EventDispatchThread.java:109)
	at java.awt.EventDispatchThread.pumpEvents(java.desktop@9-ea/EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.run(java.desktop@9-ea/EventDispatchThread.java:90)

Attachments (0)

Change History (6)

comment:2 by Don-vip, 8 years ago

Keywords: javabug added
Resolution: othersoftware
Status: newclosed

Yep. Fixed in b137. Report is with b134.

comment:3 by Don-vip, 6 years ago

Ticket #16473 has been marked as a duplicate of this ticket.

comment:4 by Don-vip, 6 years ago

Ticket #17373 has been marked as a duplicate of this ticket.

comment:5 by anonymous, 6 years ago

Thanks! Although sad, because the rendering nearly on all Java desktop application got worse with Java 8+. Like if there wasn't any anti-aliasing and every UI element became big and unprepared software slow (including JOSM, at least a few months ago when I tried).

comment:6 by anonymous, 6 years ago

Oh that comment wanted to be reply to ticket:17373#comment:1

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.