Modify

Opened 6 years ago

Closed 6 years ago

Last modified 22 months ago

#9434 closed defect (fixed)

Entering URL in Open Location causes exception

Reported by: matthew.flaschen@… Owned by: team
Priority: normal Milestone: 13.12
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Enter the following URL into File->Open Location http://www.openstreetmap.org/#map=15/39.9549/-75.2278a

What is the expected result?

Opens the location

What happens instead?

Exception

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-11-16 02:34:34
Last Changed Author: simon04
Revision: 6388
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-11-15 22:19:40 +0100 (Fri, 15 Nov 2013)
Last Changed Rev: 6388

Identification: JOSM/1.5 (6388 en) Linux Debian GNU/Linux 7.2 (wheezy)
Memory Usage: 45 MB / 1754 MB (15 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Java package: openjdk-6-jre:amd64-6b27-1.12.6-1~deb7u1
VM arguments: [-Xbootclasspath/a:/usr/share/icedtea-web/netx.jar, -Xms8m, -Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/bin/javaws, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy]

Plugin: OpeningHoursEditor (30117)

java.lang.NullPointerException
	at org.openstreetmap.josm.io.BoundingBoxDownloader.<init>(BoundingBoxDownloader.java:36)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask.download(DownloadOsmTask.java:85)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmUrlTask.loadUrl(DownloadOsmUrlTask.java:19)
	at org.openstreetmap.josm.actions.OpenLocationAction.openUrl(OpenLocationAction.java:185)
	at org.openstreetmap.josm.actions.OpenLocationAction.actionPerformed(OpenLocationAction.java:126)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:939)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:585)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:482)
	at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428)
	at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:320)
	at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:860)
	at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2370)
	at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2262)
	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2220)
	at java.awt.Component.dispatchEventImpl(Component.java:4545)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	at java.awt.Component.dispatchEvent(Component.java:4475)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
	at java.awt.Container.dispatchEventImpl(Container.java:2089)
	at java.awt.Window.dispatchEventImpl(Window.java:2587)
	at java.awt.Component.dispatchEvent(Component.java:4475)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
	at java.awt.EventQueue.access$300(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:634)
	at java.awt.EventQueue$2.run(EventQueue.java:632)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119)
	at java.awt.EventQueue$3.run(EventQueue.java:648)
	at java.awt.EventQueue$3.run(EventQueue.java:646)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by skyper

Might not be the reason for your problem but you should not use openjdk-6 at the moment (see #8921).

Can you please try it with openjdk-7 which can be installed side by side to openjdk-6. - Thanks

comment:2 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6474/josm:

fix #9434 - Robustness in hash URLs parsing

comment:3 Changed 6 years ago by Don-vip

In 6483/josm:

see #9434 - repair unit test

comment:4 Changed 6 years ago by Don-vip

Milestone: 13.12 (6502)

comment:5 Changed 22 months ago by stoecker

Milestone: 13.12 (6502)13.12

Milestone renamed

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.