Modify ↓
#9530 closed defect (fixed)
Exception pressing "A"
Reported by: | malenki | Owned by: | Don-vip |
---|---|---|---|
Priority: | blocker | Milestone: | 14.01 |
Component: | Core | Version: | latest |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- run JOSM
- create new layer (ctrl+n)
- press A
What is the expected result?
Ability to draw something.
What happens instead?
The exception below.
Please provide any additional information below.
java version "1.7.0_45"
OpenJDK Runtime Environment (IcedTea 2.4.3) (7u45-2.4.3-4)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
Debian Sid 3.12-6.towo-siduction-amd64
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-01-04 14:03:34 Last Changed Author: Don-vip Revision: 6624 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-01-04 14:56:55 +0100 (Sat, 04 Jan 2014) Last Changed Rev: 6624 Identification: JOSM/1.5 (6624 de) Linux Debian GNU/Linux unstable (sid) Memory Usage: 303 MB / 12444 MB (207 MB allocated, but free) Java version: 1.7.0_45, Oracle Corporation, OpenJDK 64-Bit Server VM Java package: openjdk-7-jre:amd64-7u45-2.4.3-4 VM arguments: [-Xmx14000M, -Dsun.java2d.opengl=false] Dataset consistency test: No problems found java.lang.NullPointerException at org.openstreetmap.josm.data.Preferences.getColor(Preferences.java:880) at org.openstreetmap.josm.data.Preferences.getColor(Preferences.java:826) at org.openstreetmap.josm.actions.mapmode.DrawAction.enterMode(DrawAction.java:212) at org.openstreetmap.josm.gui.MapFrame.selectMapMode(MapFrame.java:381) at org.openstreetmap.josm.gui.MapFrame.selectMapMode(MapFrame.java:360) at org.openstreetmap.josm.actions.mapmode.MapMode.actionPerformed(MapMode.java:82) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1661) at javax.swing.JComponent.processKeyBinding(JComponent.java:2869) at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307) at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:263) at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2961) at javax.swing.JComponent.processKeyBindings(JComponent.java:2953) at javax.swing.JComponent.processKeyEvent(JComponent.java:2832) at java.awt.Component.processEvent(Component.java:6282) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727) at java.awt.Component.dispatchEventImpl(Component.java:4731) at java.awt.Container.dispatchEventImpl(Container.java:2287) 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 (8)
comment:1 by , 11 years ago
Priority: | normal → blocker |
---|
comment:2 by , 11 years ago
Version: | → latest |
---|
comment:4 by , 11 years ago
Milestone: | → 14.01 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
I can also reproduce this as well.
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)