Modify ↓
#11203 closed defect (othersoftware)
josm scripting bug report
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin scripting | Version: | |
Keywords: | template_report github | Cc: |
Description
What steps will reproduce the problem?
- trting to run jython script
What is the expected result?
run script
What happens instead?
bug report
Please provide any additional information below. Attach a screenshot if possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2015-03-02 02:30:58 Last Changed Author: Don-vip Revision: 8109 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2015-03-02 00:13:51 +0100 (Mon, 02 Mar 2015) Last Changed Rev: 8109 Identification: JOSM/1.5 (8109 it) Linux Ubuntu 14.10 Memory Usage: 248 MB / 455 MB (111 MB allocated, but free) Java version: 1.7.0_75, Oracle Corporation, OpenJDK Server VM Java package: openjdk-7-jre:i386-7u75-2.5.4-1~utopic1 Dataset consistency test: No problems found Plugins: - CADTools (1003) - FastDraw (30892) - ImportImagePlugin (30892) - OpeningHoursEditor (30962) - PicLayer (30962) - SimplifyArea (30962) - buildings_tools (30955) - continuosDownload (1413902943) - contourmerge (1012) - dataimport (30892) - geotools (31000) - importvec (30892) - jts (31002) - log4j (30892) - opendata (31015) - pdfimport (30892) - print (30892) - proj4j (30892) - reverter (30990) - scripting (30702) - tageditor (30892) - undelete (30892) - utilsplugin2 (31040) Last errors/warnings: - E: java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker. Causa: java.lang.ClassNotFoundException: com.google.common.collect.MapMaker java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker at org.python.core.PyType.fromClass(PyType.java:1280) at org.python.core.PyObject.<init>(PyObject.java:66) at org.python.core.PyBuiltinCallable.<init>(PyBuiltinCallable.java:21) at org.python.core.PyBuiltinMethod.<init>(PyBuiltinMethod.java:16) at org.python.core.PyBuiltinMethodNarrow.<init>(PyBuiltinMethodNarrow.java:24) at org.python.core.PyType$type___subclasses___exposer.<init>(Unknown Source) at org.python.core.PyType$PyExposer.<init>(Unknown Source) at org.python.core.PyType.<clinit>(PyType.java) at org.python.core.PyObject.<init>(PyObject.java:66) at org.python.core.PyBuiltinCallable.<init>(PyBuiltinCallable.java:21) at org.python.core.PyBuiltinMethod.<init>(PyBuiltinMethod.java:16) at org.python.core.PyBuiltinMethodNarrow.<init>(PyBuiltinMethodNarrow.java:24) at org.python.core.PyDataDescr$getset_descriptor___get___exposer.<init>(Unknown Source) at org.python.core.PyDataDescr$PyExposer.<init>(Unknown Source) at org.python.core.PyDataDescr.<clinit>(PyDataDescr.java) at org.python.core.PyBuiltinCallable$PyExposer.<init>(Unknown Source) at org.python.core.PyBuiltinCallable.<clinit>(PyBuiltinCallable.java) at org.python.core.PyObject$PyExposer.<init>(Unknown Source) at org.python.core.PyObject.<clinit>(PyObject.java) at org.python.jsr223.PyScriptEngine.<init>(PyScriptEngine.java:27) at org.python.jsr223.PyScriptEngineFactory.getScriptEngine(PyScriptEngineFactory.java:85) at org.openstreetmap.josm.plugins.scripting.model.JSR223ScriptEngineProvider.getScriptEngine(JSR223ScriptEngineProvider.java:292) at org.openstreetmap.josm.plugins.scripting.ui.ScriptExecutor.runScriptWithPluggedEngine(ScriptExecutor.java:233) at org.openstreetmap.josm.plugins.scripting.ui.RunScriptService.runScript(RunScriptService.java:173) at org.openstreetmap.josm.plugins.scripting.ui.RunScriptService.runScript(RunScriptService.java:141) at org.openstreetmap.josm.plugins.scripting.ui.MostRecentlyRunScriptsModel$RunScriptAction.actionPerformed(MostRecentlyRunScriptsModel.java:164) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:943) at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:585) at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:482) at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428) at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:321) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:859) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2448) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2340) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2298) at java.awt.Component.dispatchEventImpl(Component.java:4768) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:699) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:713) at java.awt.EventQueue$4.run(EventQueue.java:711) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:710) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) ...<snip>...
Attachments (0)
Change History (4)
comment:1 by , 10 years ago
Keywords: | github added |
---|---|
Resolution: | → othersoftware |
Status: | new → closed |
comment:2 by , 10 years ago
Component: | Core → Plugin scripting |
---|
comment:3 by , 10 years ago
I'm wondering why com.google.common.collect.MapMaker
is beeing loaded. It is neither part of josm.jar
nor of jython-2.5.3.jar
, as far as I can tell.
How does you local environment look like? OS? Jython version? What are you trying to do?
comment:4 by , 10 years ago
just realized, that this issue is already closed.
Tracking it here: https://github.com/Gubaer/josm-scripting-plugin/issues/28
Note:
See TracTickets
for help on using tickets.
Problem reported upstream: https://github.com/Gubaer/josm-scripting-plugin/issues/28