Modify

Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#16622 closed defect (fixed)

Plugins are no longer correctly updated

Reported by: lmason_aph Owned by: Zverikk
Priority: critical Milestone: 18.08
Component: Core Version:
Keywords: template_report plugin update regression Cc:

Description

This is to augment a ticket I put in earlier about 'opendata' plugin not functioning.
This time a log came up.
Thank you.

What steps will reproduce the problem?

  1. Trying to download Bing imagery

What is the expected result?

What happens instead?

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-07-29 00:41:59 +0200 (Sun, 29 Jul 2018)
Build-Date:2018-07-29 01:32:17
Revision:14066
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14066 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1803 (17134)
Memory Usage: 247 MB / 247 MB (50 MB allocated, but free)
Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080, \Display1 1920x1080, \Display2 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\TempState\Downloads\josm (3).jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=51440, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ ColorPlugin (1511895663)
+ PicLayer (34389)
+ apache-commons (34389)
+ buildings_tools (34212)
+ colorscheme (34206)
+ ejml (34389)
+ geotools (34125)
+ imagery_offset_db (33547)
+ importvec (34206)
+ indoorhelper (34389)
+ jts (34206)
+ opendata
+ photoadjust (34389)
+ plastic_laf (34206)
+ public_transport (34265)
+ utilsplugin2 (33704)

Map paint styles:
+ https://github.com/gmgeo/osmic-josm-style/archive/master.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/ColourTag&zip=1
+ <josm.pref>\styles\sit.mapcss

Validator rules:
+ <josm.pref>\validator\indoorhelper.validator.mapcss

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin opendata. Cause: java.lang.NoClassDefFoundError: org/openstreetmap/josm/io/FileImporter. Cause: java.lang.ClassNotFoundException: org.openstreetmap.josm.io.FileImporter
- W: Disable plugin - Could not load plugin 'opendata'. Delete from preferences?
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin opendata. Cause: java.lang.NoClassDefFoundError: org/openstreetmap/josm/io/FileImporter. Cause: java.lang.ClassNotFoundException: org.openstreetmap.josm.io.FileImporter
- W: Disable plugin - Could not load plugin 'opendata'. Delete from preferences?
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.Preferences.getCollection(Ljava/lang/String;)Ljava/util/Collection;
- W: Cannot paint layer, it is not registered: TMSLayer [info=ImageryInfo{name='Bing aerial imagery', countryCode='', url='https://www.bing.com/maps/', imageryType=BING}]
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>indoorhelper</li><li>imagery_offset_db</li><li>apache-commons</li><li>photoadjust</li><li>geotools</li><li>opendata</li><li>jts</li><li>ejml</li><li>public_transport</li><li>plastic_laf</li><li>ColorPlugin</li><li>utilsplugin2</li><li>buildings_tools</li><li>colorscheme</li><li>importvec</li><li>PicLayer</li></ul>The plugins are not going to be loaded.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (53) of javawsApplicationThreadGroup
java.lang.NoSuchMethodError: org.openstreetmap.josm.data.Preferences.getCollection(Ljava/lang/String;)Ljava/util/Collection;
	at iodb.ImageryOffsetWatcher.loadLayerOffset(ImageryOffsetWatcher.java:248)
	at iodb.ImageryOffsetWatcher.layerAdded(ImageryOffsetWatcher.java:207)
	at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerAdded(LayerManager.java:458)
	at org.openstreetmap.josm.gui.layer.LayerManager.realAddLayer(LayerManager.java:233)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:280)
	at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:217)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:238)
	at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:217)
	at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:206)
	at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(AddImageryLayerAction.java:149)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (2)

JOSM Plugin Issue.jpg (104.8 KB) - added by anonymous 3 months ago.
Screenshot of pop-up
Untitled.png (857.8 KB) - added by anonymous 3 months ago.

Download all attachments as: .zip

Change History (26)

Changed 3 months ago by anonymous

Attachment: JOSM Plugin Issue.jpg added

Screenshot of pop-up

Changed 3 months ago by anonymous

Attachment: Untitled.png added

comment:1 Changed 3 months ago by Don-vip

Component: CorePlugin imagery_offset_db
Owner: changed from team to Zverikk

comment:2 Changed 3 months ago by Don-vip

Summary: Total plugin failure? PTII of previous 'opendata' failure ticket.NoSuchMethodError: org.openstreetmap.josm.data.Preferences.getCollection

comment:3 Changed 3 months ago by Don-vip

Resolution: invalid
Status: newclosed

You're using version 33547 of imagery_offset_db instead of correct version 34370. Please update your plugins.

comment:4 Changed 3 months ago by Don-vip

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

comment:5 Changed 3 months ago by Don-vip

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

comment:6 Changed 3 months ago by Don-vip

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

comment:7 Changed 3 months ago by Don-vip

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

comment:8 Changed 3 months ago by Don-vip

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

comment:9 Changed 3 months ago by Don-vip

Resolution: invalid
Status: closedreopened

comment:10 Changed 3 months ago by Don-vip

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

comment:11 Changed 3 months ago by Don-vip

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

comment:12 Changed 3 months ago by Don-vip

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

comment:13 Changed 3 months ago by Don-vip

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

comment:14 Changed 3 months ago by Don-vip

Priority: normalcritical

I don't understand what's happening with this plugin update.

comment:15 Changed 3 months ago by stoecker

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

comment:16 Changed 3 months ago by stoecker

Resolution: fixed
Status: reopenedclosed

In 14160/josm:

fix #16622 - choose proper version for old instances, broken for releases since r13993

comment:17 Changed 3 months ago by stoecker

Regression of r13993. When you incorporated the two if clauses into one you forgot that mainversion changes its value. Thus always the first entry with a lower mainversion is used, but choosing a higher version in later lines was prevented.

comment:18 Changed 3 months ago by stoecker

All the reporters:

(Temporary) solutions for you in order of recommendation

  • upgrade to JOSM to version >= 14160 (released in 6 hours)
  • deinstall imagery_offset_db plugin
  • manually copy the right plugin version and don't automatically update
  • downgrade to JOSM version below 13993 and call plugin update

comment:19 Changed 3 months ago by Don-vip

Component: Plugin imagery_offset_dbCore
Keywords: plugin update regression added
Milestone: 18.08
Summary: NoSuchMethodError: org.openstreetmap.josm.data.Preferences.getCollectionPlugins are no longer correctly updated

comment:20 Changed 3 months ago by Don-vip

Thanks! I'll release 18.08 tomorrow then, we can't get spammed by bug reports like this for a whole week.

comment:21 Changed 3 months ago by stoecker

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

comment:22 Changed 3 months ago by Don-vip

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

comment:23 Changed 3 months ago by Don-vip

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

comment:24 Changed 3 months ago by Don-vip

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

Modify Ticket

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