Modify ↓
Opened 9 years ago
Closed 9 years ago
#13485 closed defect (fixed)
[PicLayer] IllegalArgumentException: Cannot paint layer, it is not registered
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin piclayer | Version: | |
Keywords: | template_report gsoc-core regression | Cc: | michael2402, davidreik@… |
Description
What steps will reproduce the problem?
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-08-22 01:05:20 +0200 (Mon, 22 Aug 2016) Build-Date:2016-08-22 01:39:04 Revision:10871 Relative:URL: ^/trunk Identification: JOSM/1.5 (10871 pt_BR) Windows 10 64-Bit Memory Usage: 868 MB / 1801 MB (305 MB allocated, but free) Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Plugins: + FastDraw (32773) + ImportImagePlugin (32699) + OpeningHoursEditor (32699) + PicLayer (32796) + apache-commons (32699) + ejml (32680) + geotools (32813) + jts (32699) + log4j (32699) + michigan_left (32699) + opendata (32811) + osm-obj-info (1468276210) + reverter (32796) + scripting (30730) + tageditor (32796) + todo (29154) + turnrestrictions (32796) + utilsplugin2 (32815) Map paint styles: + https://github.com/hotosm/HDM-JOSM-style/archive/master.zip + C:\Intel\mapcss.css Validator rules: - https://raw.githubusercontent.com/OSMBrasil/validador-josm/master/Rules_Brazilian-Specific.validator.mapcss - https://josm.openstreetmap.de/josmfile?page=Rules/Portuguese-Errors-PT2&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.io.IOException: Attribution is not loaded yet - W: Unable to get color from '' for color preference 'extrude.main.line' - W: Unable to get color from '' for color preference 'helper.line' - W: Unable to get color from '' for color preference 'improve.way.accuracy.helper.line' - W: Unable to get color from '' for color preference 'make.parallel.helper.line' - W: Invalid jar file ''<josm.pref>\plugins\PicLayer.jar.new'' (exists: false, canRead: false) === REPORTED CRASH DATA === MapView#paintLayer: - layer: org.openstreetmap.josm.plugins.piclayer.layer.PicLayerFromFile@18ac4c5 - bounds: Bounds[-12.8578241,-38.292756,-12.8478975,-38.2784438] Warning issued by: MapView#paintLayer === STACK TRACE === Thread: AWT-EventQueue-0 (19) of main java.lang.IllegalArgumentException: Cannot paint layer, it is not registered. at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:835) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:935) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.access$1200(Unknown Source) at javax.swing.RepaintManager$ProcessingRunnable.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.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at javax.swing.JOptionPane.showOptionDialog(Unknown Source) at javax.swing.JOptionPane.showConfirmDialog(Unknown Source) at javax.swing.JOptionPane.showConfirmDialog(Unknown Source) at javax.swing.JOptionPane.showConfirmDialog(Unknown Source) at org.openstreetmap.josm.plugins.piclayer.PicLayerPlugin.layerRemoving(PicLayerPlugin.java:169) at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerRemoving(LayerManager.java:396) at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveSingleLayer(LayerManager.java:225) at org.openstreetmap.josm.gui.layer.MainLayerManager.realRemoveSingleLayer(MainLayerManager.java:282) at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveLayer(LayerManager.java:219) at org.openstreetmap.josm.gui.layer.LayerManager.lambda$removeLayer$1(LayerManager.java:205) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:138) at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(LayerManager.java:205) at org.openstreetmap.josm.gui.dialogs.layer.DeleteLayerAction.actionPerformed(DeleteLayerAction.java:49) 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.plaf.basic.BasicButtonListener.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 (0)
Change History (6)
comment:1 by , 9 years ago
Cc: | added |
---|---|
Component: | Core → Plugin piclayer |
Keywords: | gsoc-core regression added |
Owner: | changed from | to
comment:2 by , 9 years ago
comment:3 by , 9 years ago
Cc: | added |
---|
comment:4 by , 9 years ago
Summary: | closing layer with piclayer → [PicLayer] IllegalArgumentException: Cannot paint layer, it is not registered |
---|
comment:5 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
cannot reproduce, can you please explain step by step how to get the error?
Note:
See TracTickets
for help on using tickets.
Ticket #13502 has been marked as a duplicate of this ticket.