Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14187 closed defect (othersoftware)

Random Crash while using the qa script (keepright)

Reported by: theodin@… Owned by: Gubaer
Priority: normal Milestone:
Component: Plugin scripting Version:
Keywords: template_report github Cc:

Description

What steps will reproduce the problem?

  1. having bing as background, I moved over a region near the Mexican-US border
  2. started the scripting plugin and downloaded missing tags using keepright
  3. error happened

What is the expected result?

What happens instead?

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-12-31 17:39:03 +0100 (Sat, 31 Dec 2016)
Build-Date:2017-01-01 02:33:05
Revision:11425
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11425 de) Linux elementary OS 0.4 Loki
Memory Usage: 510 MB / 839 MB (188 MB allocated, but free)
Java version: 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1280x1024
Maximum Screen Size: 1280x1024
Java package: openjdk-8-jre:amd64-8u111-b14-2ubuntu0.16.04.2
Dataset consistency test: No problems found

Plugins:
+ FixAddresses (33004)
+ ImproveOsm (90)
+ OpeningHoursEditor (33004)
+ RoadSigns (33088)
+ apache-commons (32994)
+ buildings_tools (33004)
+ geochat (33088)
+ imagery_offset_db (33004)
+ jts (32699)
+ lakewalker (33004)
+ pbf (33004)
+ photo_geotagging (33088)
+ scoutsigns (90)
+ scripting (30762)
+ terracer (33088)
+ todo (30000)
+ turnrestrictions (33088)
+ utilsplugin2 (33088)

Tagging presets:
+ <josm.pref>/<user.name>.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Highway_Nodes&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Traffic_signs&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1

Last errors/warnings:
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.net.SocketTimeoutException: Read timed out
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.scripting.ui.RunScriptDialog$RunAction@7751347e
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.scripting.ui.RunScriptDialog$CancelAction@1ee5a68a
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction@f726d00
- E: Handled by bug report queue: org.python.core.PyException
- E: Handled by bug report queue: org.python.core.PyException


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
Traceback (most recent call last):
  File "<script>", line 500, in propertyChange
  File "<script>", line 561, in update_gui_after_download
  File "<script>", line 596, in create_layer
AttributeError: 'org.openstreetmap.josm.gui.MapView' object has no attribute 'addLayer'

	at org.python.core.Py.AttributeError(Py.java:173)
	at org.python.core.PyObject.noAttributeError(PyObject.java:930)
	at org.python.core.PyObject.__getattr__(PyObject.java:925)
	at org.python.pycode._pyx0.create_layer$22(<script>:599)
	at org.python.pycode._pyx0.call_function(<script>)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:149)
	at org.python.core.PyFunction.__call__(PyFunction.java:327)
	at org.python.core.PyMethod.__call__(PyMethod.java:124)
	at org.python.pycode._pyx0.update_gui_after_download$20(<script>:569)
	at org.python.pycode._pyx0.call_function(<script>)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:134)
	at org.python.core.PyFunction.__call__(PyFunction.java:317)
	at org.python.core.PyMethod.__call__(PyMethod.java:109)
	at org.python.pycode._pyx0.propertyChange$19(<script>:501)
	at org.python.pycode._pyx0.call_function(<script>)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
	at org.python.core.PyFunction.__call__(PyFunction.java:387)
	at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
	at org.python.core.PyMethod.__call__(PyMethod.java:211)
	at org.python.core.PyMethod.__call__(PyMethod.java:201)
	at org.python.core.PyMethod.__call__(PyMethod.java:196)
	at org.python.core.PyObject._jcallexc(PyObject.java:3502)
	at org.python.core.PyObject._jcall(PyObject.java:3534)
	at org.python.proxies.__builtin__$App$0.propertyChange(Unknown Source)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at javax.swing.SwingWorker$SwingWorkerPropertyChangeSupport.firePropertyChange(SwingWorker.java:854)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
	at javax.swing.SwingWorker.firePropertyChange(SwingWorker.java:676)
	at javax.swing.SwingWorker$4.run(SwingWorker.java:501)
	at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
	at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
	at javax.swing.Timer.fireActionPerformed(Timer.java:313)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by skyper

Component: CorePlugin scripting
Owner: changed from team to Gubaer

comment:2 Changed 5 years ago by Gubaer

Resolution: othersoftware
Status: newclosed

Forwarded to GitHub, refer to this issue in the qat_script repo

comment:3 Changed 5 years ago by Klumbumbus

Keywords: github added

Modify Ticket

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