Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10753 closed defect (fixed)

NoSuchMethodError opening note in external browser

Reported by: skyper Owned by: ToeBee
Priority: normal Milestone:
Component: Core notes Version:
Keywords: template_report browser Cc:


What steps will reproduce the problem?

  1. download a note
  2. right click and select "open in browser"

What is the expected result?

New tab in external browser opening corresponding website of the note at OSM

What happens instead?


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

After the last patch I am unsure if I should try the internal core support for notes. Anyway, I guess the plugin should be functional until we have some tested the internal function.

Repository Root:
Build-Date: 2014-11-13 02:34:10
Last Changed Author: Klumbumbus
Revision: 7723
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
Last Changed Date: 2014-11-12 22:45:27 +0100 (Wed, 12 Nov 2014)
Last Changed Rev: 7723

Identification: JOSM/1.5 (7723 en) Linux Debian GNU/Linux 7.7 (wheezy)
Memory Usage: 413 MB / 882 MB (260 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u65-2.5.1-5~deb7u1
Dataset consistency test: No problems found

- OpeningHoursEditor (30737)
- conflation (0.1.7)
- download_along (30762)
- imagery-xml-bounds (30735)
- imagery_offset_db (30762)
- jts (30762)
- mirrored_download (30762)
- notes (v0.9.4)
- photoadjust (30762)
- reverter (30737)
- terracer (30737)
- todo (29154)
- undelete (30762)
- utilsplugin2 (30762)
- waydownloader (30762)
- wikipedia (30780)

Last errors/warnings:
- E: Failed to locate image 'sac_scale_icon.svg'
- W: Mappaint style "standard" (sac_scale) icon "sac_scale_icon.svg" not found.
- E: Failed to locate image 'null'
- E: java.lang.NoSuchMethodError: org.openstreetmap.josm.actions.AbstractInfoAction.getBaseBrowseUrl()Ljava/lang/String;

java.lang.NoSuchMethodError: org.openstreetmap.josm.actions.AbstractInfoAction.getBaseBrowseUrl()Ljava/lang/String;
	at org.openstreetmap.josm.plugins.notes.gui.action.OpenInBrowserAction.doActionPerformed(
	at org.openstreetmap.josm.plugins.notes.gui.action.NotesAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.AbstractButton.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$200(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by ToeBee

The note support in core does not have support for opening notes in a browser yet. I was hoping to not have to mess with the plugin any more but I might go ahead and fix this since it will hopefully be an easy fix.

comment:2 Changed 9 years ago by stoecker

This function moved to "Main". :-)

comment:3 Changed 9 years ago by ToeBee

Resolution: fixed
Status: newclosed

Well that was simple enough. Just released an update.

comment:4 in reply to:  3 Changed 9 years ago by skyper

Replying to ToeBee:

Well that was simple enough. Just released an update.

Note: Most of the time, I need this function in order to copy&paste from notes. The rest of the time I need the note id (#10606).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain ToeBee.
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.