Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error occurring with new outfit system in Stendhal.

The following error output occurs when attempting to change hair in client OutfitDialog:

WARN  [AWT-EventQueue-0] Player2DView.java             ( 162) - Cannot build outfit. Setting failsafe outfit.
java.lang.IllegalArgumentException: No body image found for outfit: 12
	at games.stendhal.client.OutfitStore.buildOutfit(OutfitStore.java:129)
	at games.stendhal.client.OutfitStore.getOutfit(OutfitStore.java:412)
	at games.stendhal.client.OutfitStore.getOutfit(OutfitStore.java:395)
	at games.stendhal.client.OutfitStore.getAdjustedOutfit(OutfitStore.java:431)
	at games.stendhal.client.gui.j2d.entity.Player2DView.getAnimationSprite(Player2DView.java:153)
	at games.stendhal.client.gui.j2d.entity.RPEntity2DView.buildSprites(RPEntity2DView.java:669)
	at games.stendhal.client.gui.j2d.entity.RPEntity2DView.buildSprites(RPEntity2DView.java:1)
	at games.stendhal.client.gui.j2d.entity.StateEntity2DView.buildAnimations(StateEntity2DView.java:54)
	at games.stendhal.client.gui.j2d.entity.StateEntity2DView.buildRepresentation(StateEntity2DView.java:114)
	at games.stendhal.client.gui.j2d.entity.Entity2DView.update(Entity2DView.java:759)
	at games.stendhal.client.gui.j2d.entity.RPEntity2DView.update(RPEntity2DView.java:852)
	at games.stendhal.client.gui.j2d.entity.Entity2DView.applyChanges(Entity2DView.java:178)
	at games.stendhal.client.EntityViewManager.prepareViews(EntityViewManager.java:264)
	at games.stendhal.client.GameScreen.renderScene(GameScreen.java:638)
	at games.stendhal.client.GameScreen.paintComponent(GameScreen.java:601)
	at javax.swing.JComponent.paint(JComponent.java:1054)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1047)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1047)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5222)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1572)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1495)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1265)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5170)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4981)
	at games.stendhal.client.GameScreen.paintImmediately(GameScreen.java:550)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:824)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:807)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:807)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:782)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:731)
	at javax.swing.RepaintManager.access$1300(RepaintManager.java:64)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1720)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:702)
	at java.awt.EventQueue$3.run(EventQueue.java:696)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.