You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to change the Z order of drawings using Send to Back from the Draw Explorer can produce a ClassCastException.
To Reproduce
Load attached campaign.
Open Draw Explorer if not open.
Under Background select the green rectangle (width(185) height(121)).
Right-click to access Arrange -> Send to Back.
Get error dialog with CCE.
Drawing is removed from map.
Error:
java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.util.LinkedList (java.util.ArrayList and java.util.LinkedList are in module java.base of loader 'bootstrap')
at net.rptools.maptool.model.Zone.addDrawableRear(Zone.java:1329)
at net.rptools.maptool.client.ui.drawpanel.DrawPanelPopupMenu$SendToBackAction.actionPerformed(DrawPanelPopupMenu.java:321)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
...
Describe the Bug
Attempting to change the Z order of drawings using Send to Back from the Draw Explorer can produce a ClassCastException.
To Reproduce
width(185) height(121)
).Error:
Expected Behaviour
Expect drawing to be pushed to back.
Screenshots
Before attempting change.
MapTool Info
MT 1.12.0 alpha 1
Desktop
Windows 10
Additional Context
Campaign file. Remove
.zip
extension.Drawing Order.cmpgn.zip
The text was updated successfully, but these errors were encountered: