Modify

Opened 3 years ago

Closed 3 years ago

#21091 closed defect (duplicate)

NoSuchMethodError: 'java.util.Date org.openstreetmap.josm.data.notes.Note.getCreatedAt()

Reported by: Glassman Owned by: Rub21
Priority: normal Milestone:
Component: Plugin osm-obj-info Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Just finished uploading successfully
  2. click on note to read

What is the expected result?

Note appears

What happens instead?

Got error message

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021)
Revision:17919
Build-Date:2021-06-02 20:11:30
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17919 en) Linux Fedora release 34 (Thirty Four)
Memory Usage: 1024 MB / 4096 MB (246 MB allocated, but free)
Java version: 16.0.1+9, Red Hat, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME
VM arguments: [-Djosm.home=<josm.pref>]
Dataset consistency test: No problems found

Plugins:
+ EasyPresets (1623509627)
+ ImportImagePlugin (35567)
+ OpeningHoursEditor (35640)
+ apache-commons (35524)
+ apache-http (35589)
+ auto_tools (79)
+ buildings_tools (35756)
+ ejml (35458)
+ geochat (35640)
+ geotools (35458)
+ jaxb (35543)
+ jna (35662)
+ jts (35458)
+ log4j (35458)
+ mapwithai-dev (1.8.2-5-g596efa1)
+ measurement (35640)
+ opendata (35640)
+ osm-obj-info (56)
+ pdfimport (35640)
+ pt_assistant (1ff2e15)
+ reltoolbox (35640)
+ reverter (35732)
+ routing (35640)
+ tageditor (35640)
+ todo (30306)
+ turnlanes-tagging (288)
+ turnrestrictions (35640)
+ utilsplugin2 (35691)
+ wikipedia (1.1.4)

Tagging presets:
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/master/dist/name-suggestions.presets.xml
+ ${HOME}/Downloads/MikeN_Presets.zip
+ ${HOME}/Development/josm_sidewalk_presets/sidewalk_preset.xml
+ <josm.pref>/EasyPresets.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- ${HOME}/foo.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Kerbs&zip=1
- https://raw.githubusercontent.com/OpenSidewalks/OpenSidewalks-Schema/master/open_sidewalks.mapcss
- ${HOME}/OSM/open_sidewalks2.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 01326.754 E: java.nio.file.NoSuchFileException: ${HOME}/foo.mapcss
- 01326.755 W: Failed to load Mappaint styles from '${HOME}/OSM/open_sidewalks2.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/OSM/open_sidewalks2.mapcss
- 01326.755 E: java.nio.file.NoSuchFileException: ${HOME}/OSM/open_sidewalks2.mapcss
- 01382.441 W: Failed to load Mappaint styles from '${HOME}/foo.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/foo.mapcss
- 01382.441 E: java.nio.file.NoSuchFileException: ${HOME}/foo.mapcss
- 01382.442 W: Failed to load Mappaint styles from '${HOME}/OSM/open_sidewalks2.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/OSM/open_sidewalks2.mapcss
- 01382.442 E: java.nio.file.NoSuchFileException: ${HOME}/OSM/open_sidewalks2.mapcss
- 01444.033 E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Way id=-103385 version=0 VT nodes=[]}
- 01444.257 E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Way id=-103386 version=0 VT nodes=[]}
- 01924.170 E: Handled by bug report queue: java.lang.NoSuchMethodError: 'java.util.Date org.openstreetmap.josm.data.notes.Note.getCreatedAt()'



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (22) of main
java.lang.NoSuchMethodError: 'java.util.Date org.openstreetmap.josm.data.notes.Note.getCreatedAt()'
	at org.openstreetmap.josm.plugins.osmobjinfo.OSMObjInfotDialog.getInfoNotes(OSMObjInfotDialog.java:342)
	at org.openstreetmap.josm.plugins.osmobjinfo.OSMObjInfotDialog$1.mouseClicked(OSMObjInfotDialog.java:106)
	at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:278)
	at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
	at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
	at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
	at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6620)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6382)
	at java.desktop/java.awt.Container.processEvent(Container.java:2264)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4934)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4572)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4504)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2308)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Attachments (0)

Change History (3)

comment:1 by Don-vip, 3 years ago

Component: CorePlugin osm-obj-info
Owner: changed from team to Rub21

comment:2 by Don-vip, 3 years ago

Summary: Trying to read noteNoSuchMethodError: 'java.util.Date org.openstreetmap.josm.data.notes.Note.getCreatedAt()

comment:3 by Don-vip, 3 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #21008.

Modify Ticket

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