Modify

Opened 8 years ago

Closed 7 years ago

#13503 closed defect (irreproducible)

IAE: Cannot paint layer, it is not registered (TMSLayer)

Reported by: morsi71 Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: template_report regression gsoc-core Cc:

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-11 21:54:24 +0200 (Thu, 11 Aug 2016)
Build-Date:2016-08-11 22:36:05
Revision:10786
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10786 it) Windows 8.1 64-Bit
Memory Usage: 163 MB / 989 MB (61 MB allocated, but free)
Java version: 1.8.0_45-b14, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found

Plugins:
+ ImageWayPoint (32699)
+ RoadSigns (32796)
+ buildings_tools (32796)
+ ejml (32680)
+ geotools (32813)
+ imageryadjust (32699)
+ jts (32699)
+ log4j (32699)
+ reltoolbox (32796)
+ reverter (32796)
+ undelete (32699)
+ utilsplugin2 (32815)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Mountainbike&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Mountains&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lit&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&style&zip=1

Last errors/warnings:
- E: java.lang.reflect.InvocationTargetException. Causa: java.lang.IllegalArgumentException: Comparison method violates its general contract!
- E: java.lang.reflect.InvocationTargetException. Causa: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.IllegalArgumentException: Comparison method violates its general contract!. Causa: java.lang.IllegalArgumentException: Comparison method violates its general contract!
- E: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.IllegalArgumentException: Comparison method violates its general contract!. Causa: java.lang.IllegalArgumentException: Comparison method violates its general contract!
- E: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.IllegalArgumentException: Cannot paint layer, it is not registered.. Causa: java.lang.IllegalArgumentException: Cannot paint layer, it is not registered.


=== REPORTED CRASH DATA ===
MapView#paintLayer:
 - layer: org.openstreetmap.josm.gui.layer.TMSLayer@d20e87
 - bounds: Bounds[45.9471473,9.6734188,45.9477374,9.6741488]

BugReportExceptionHandler$BugReporterThread#askForBugReport:
No data collected.

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (16) of main
java.lang.IllegalArgumentException: Cannot paint layer, it is not registered.
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:818)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:898)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JSplitPane.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JLayeredPane.paint(Unknown Source)
	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$1.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$1300(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$1.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 (15)

in reply to:  description comment:1 by morsi71, 8 years ago

Summary: BugIt is impossible to work!!
Last edited 8 years ago by simon04 (previous) (diff)

comment:2 by michael2402, 8 years ago

How did you add the TMS layer? Did any error or other dialog appear before this warning appeared?

comment:3 by Don-vip, 8 years ago

Keywords: regression gsoc-core added

comment:4 by Don-vip, 8 years ago

In 10934/josm:

see #13503 - add more debug info

comment:5 by Don-vip, 8 years ago

@morsi71: can you please answer Michael's question, and post new crash report if it happens again with JOSM >= r10934?

comment:6 by Don-vip, 8 years ago

Summary: It is impossible to work!!IllegalArgumentException: Cannot paint layer, it is not registered

comment:7 by Don-vip, 8 years ago

Ticket #13525 has been marked as a duplicate of this ticket.

comment:8 by Klumbumbus, 8 years ago

new duplicate #13619?

comment:9 by simon04, 8 years ago

Ticket #13589 has been marked as a duplicate of this ticket.

Version 0, edited 8 years ago by simon04 (next)

comment:10 by simon04, 8 years ago


Last edited 8 years ago by simon04 (previous) (diff)

comment:11 by simon04, 8 years ago


Last edited 8 years ago by simon04 (previous) (diff)

comment:12 by simon04, 8 years ago

Summary: IllegalArgumentException: Cannot paint layer, it is not registeredIllegalArgumentException: Cannot paint layer, it is not registered (TMSLayer)

comment:13 by skyper, 8 years ago

Component: CoreCore imagery

comment:14 by Don-vip, 8 years ago

Summary: IllegalArgumentException: Cannot paint layer, it is not registered (TMSLayer)IAE: Cannot paint layer, it is not registered (TMSLayer)

comment:15 by Don-vip, 7 years ago

Resolution: irreproducible
Status: newclosed

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.