Modify ↓
Opened 9 years ago
Closed 9 years ago
#14081 closed defect (duplicate)
Quality Assurance Tools script: AttributeError: 'org.openstreetmap.josm.gui.MapView' object has no attribute 'addLayer'
| Reported by: | dan980 | Owned by: | Gubaer |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin scripting | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Install Quality Assurance Tools script
- Download map errors for the area
- The error pops up
What is the expected result?
Getting the map error layer
What happens instead?
You cant' fix map errors. The script becomes useless
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-11-06 20:18:38 +0100 (Sun, 06 Nov 2016) Build-Date:2016-11-06 21:45:03 Revision:11223 Relative:URL: ^/trunk Identification: JOSM/1.5 (11223 it) Windows 10 64-Bit Memory Usage: 247 MB / 247 MB (28 MB allocated, but free) Java version: 1.8.0_111-b14, Oracle Corporation, Java HotSpot(TM) Client VM Screen: \Display0 1366x768 Maximum Screen Size: 1366x768 Dataset consistency test: No problems found Plugins: + FixAddresses (32796) + OpeningHoursEditor (32699) + apache-commons (32699) + buildings_tools (32944) + ejml (32680) + geotools (33042) + jts (32699) + opendata (33049) + scripting (30761) + tageditor (33021) + undelete (32699) + utilsplugin2 (32815) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/BesideTheRoad_Speed&zip=1 - https://www.dropbox.com/s/qo3ai47fpv241jf/Styles_Fixme_and_Notes.zip?raw=1 Last errors/warnings: - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.scripting.ui.RunScriptDialog$RunAction@1b43cd5 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.scripting.ui.RunScriptDialog$CancelAction@1c6e2cd - W: Old style SideButton usage for action org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction@93a7de - E: Script Error - Script execution has failed. - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.scripting.ui.RunScriptDialog$RunAction@8cc374 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.scripting.ui.RunScriptDialog$CancelAction@30c234 - W: Old style SideButton usage for action org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction@179a107 - 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 (18) 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:205) at org.python.core.PyObject.noAttributeError(PyObject.java:1013) at org.python.core.PyObject.__getattr__(PyObject.java:1008) 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:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:153) at org.python.core.PyFunction.__call__(PyFunction.java:423) at org.python.core.PyMethod.__call__(PyMethod.java:141) 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:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:138) at org.python.core.PyFunction.__call__(PyFunction.java:413) at org.python.core.PyMethod.__call__(PyMethod.java:126) 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:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:307) at org.python.core.PyBaseCode.call(PyBaseCode.java:198) at org.python.core.PyFunction.__call__(PyFunction.java:482) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237) at org.python.core.PyMethod.__call__(PyMethod.java:228) at org.python.core.PyMethod.__call__(PyMethod.java:218) at org.python.core.PyMethod.__call__(PyMethod.java:213) at org.python.core.PyObject._jcallexc(PyObject.java:3626) at org.python.core.PyObject._jcall(PyObject.java:3658) at org.python.proxies.__builtin__$App$32.propertyChange(Unknown Source) at java.beans.PropertyChangeSupport.fire(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at javax.swing.SwingWorker$SwingWorkerPropertyChangeSupport.firePropertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at javax.swing.SwingWorker.firePropertyChange(Unknown Source) at javax.swing.SwingWorker$4.run(Unknown Source) at sun.swing.AccumulativeRunnable.run(Unknown Source) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) at sun.swing.AccumulativeRunnable.run(Unknown Source) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) at javax.swing.Timer.fireActionPerformed(Unknown Source) at javax.swing.Timer$DoPostEvent.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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.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 (0)
Note:
See TracTickets
for help on using tickets.



Closed as duplicate of #13988.