Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12740 closed defect (invalid)

First use of DirectUpload crashes JOSM

Reported by: alexkemp Owned by: team
Priority: normal Milestone:
Component: Plugin DirectUpload Version: latest
Keywords: template_report linux debian Cc:

Description

What steps will reproduce the problem?

  1. Upload gpx to JOSM + add Bing Imagery + Data Layer
  2. Ctrl+G to upload
  3. Enter 2 tags + press OK to upload

What is the expected result?

tracks upload

What happens instead?

JOSM crashes. Whoops a daisy.

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-03-13 01:17:21 +0100 (Sun, 13 Mar 2016)
Build-Date:2016-03-13 02:35:00
Revision:9979
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9979 en_GB) Linux Debian GNU/Linux 8.4 (jessie)
Memory Usage: 169 MB / 247 MB (67 MB allocated, but free)
Java version: 1.8.0_77-b03, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
- DirectUpload (30762)
- HouseNumberTaggingTool (31772)
- buildings_tools (31895)
- continuosDownload (1446070193)
- imagery_offset_db (32046)
- imageryadjust (31772)
- terracer (31895)
- utilsplugin2 (32099)

Last errors/warnings:
- E: java.net.SocketException: Socket closed
- W: java.net.SocketException: Socket closed
- E: java.net.SocketException: Socket closed
- E: java.lang.NoSuchMethodError: org.openstreetmap.josm.tools.Utils.openHttpConnection(Ljava/net/URL;)Ljava/net/HttpURLConnection;
- E: java.lang.NoSuchMethodError: org.openstreetmap.josm.tools.Utils.openHttpConnection(Ljava/net/URL;)Ljava/net/HttpURLConnection;

java.lang.NoSuchMethodError: org.openstreetmap.josm.tools.Utils.openHttpConnection(Ljava/net/URL;)Ljava/net/HttpURLConnection;
	at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui.setupConnection(UploadDataGui.java:293)
	at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui.upload(UploadDataGui.java:239)
	at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui.access$700(UploadDataGui.java:53)
	at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui$6.realRun(UploadDataGui.java:443)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Attachments (1)

status-report.txt (31.5 KB ) - added by alexkemp 10 years ago.
status report as text file

Download all attachments as: .zip

Change History (10)

by alexkemp, 10 years ago

Attachment: status-report.txt added

status report as text file

comment:1 by Don-vip, 10 years ago

Resolution: invalid
Status: newclosed

You're running an old version of DirectUpload plugin (30762 instead of 31949), please update your plugins.

comment:2 by alexkemp, 10 years ago

Resolution: invalid
Status: closedreopened

comment:3 by alexkemp, 10 years ago

I update constantly, and just did so again.

1) DirectUpload plugin got changed from 30762 to 31949.
2) Restart JOSM
3) Checking Plugins after restart, DirectUpload reports:-

Version 31949 (local 30762)

I now understand the constant updates to DirectUpload in the past (I thought that it was receiving a lot of development!).

Please explain what extra steps are required to make the upgrade 'fix' in my system.

comment:4 by alexkemp, 10 years ago

PS
I just tried again with (supposedly) 31949 & got identical results to those at the head of this bug report.

comment:5 by alexkemp, 10 years ago

Having now restarted the OS following the JOSM plugins upgrade, I recheck JOSM:-

1) (menu): Help | About | Plugins:- DirectUpload Version 31949
2) (menu): Edit | Preferences | Plugins:- DirectUpload Version 31949 (local 30762)
3) bug report (it reliably crashes JOSM at every attempt to upload traces):

 Plugins:
- DirectUpload (30762)

So, my question remains: I use the recommended method to upgrade (Preferences | Plugins) but it never sticks. What now?

comment:6 by Don-vip, 10 years ago

Have you installed Debian package "josm-plugins"? If yes, it must be uninstalled to avoid conflicts. See Download#Installation

comment:7 by alexkemp, 10 years ago

Sigh. You are absolutely right, of course. Silly humans.

After removal Preferences | Plugins shows DirectUpload Version 31949 (local 31949) and, even more to the point, my traces upload successfully. FWIW.

Many thanks, Don-vip.

comment:8 by alexkemp, 10 years ago

Resolution: fixed
Status: reopenedclosed

comment:9 by Don-vip, 10 years ago

Keywords: linux debian added
Resolution: fixedinvalid

You're welcome.

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. 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.