Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    think im almost there with my xml

    Map Making
    2
    3
    1133
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sammysleeth last edited by

      all the other parse exceptions gave me a specific line and location of the correction required in the xml, this one has me stumped any advice?
      triplea.engine.version.bin:1.9
      Could not find attachment ' games.strategy.triplea.attachments.UnitAttachment'. This is can be a map configuration problem, and would need to be fixed in the map XML. Or, the map XML is using a feature from a newer game engine version, and you will need to install the latest TripleA for it to be enabled. Meanwhile, the functionality provided by this attachment will not available.
      Could not parse:file:/C:/Users/rider/triplea/downloadedMaps/hudsonbay/games/xml.xml
      games.strategy.engine.data.GameParseException: MapName: file:/C:/Users/rider/triplea/downloadedMaps/hudsonbay/games/xml.xml, Attachment of type games.strategy.triplea.attachments.UnitAttachment could not be instantiated
      at games.strategy.engine.data.GameParser.lambda$parseAttachments$48(GameParser.java:1260)
      at java.util.Optional.orElseThrow(Unknown Source)
      at games.strategy.engine.data.GameParser.parseAttachments(GameParser.java:1259)
      at games.strategy.engine.data.GameParser.parse(GameParser.java:153)
      at games.strategy.engine.framework.ui.NewGameChooserEntry.fullyParseGameData(NewGameChooserEntry.java:77)
      at games.strategy.engine.framework.startup.ui.GameSelectorPanel.selectGameFile(GameSelectorPanel.java:398)
      at games.strategy.engine.framework.startup.ui.GameSelectorPanel.lambda$setupListeners$181(GameSelectorPanel.java:216)
      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 org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:124)
      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 games.strategy.engine.framework.GameRunner$1.dispatchEvent(GameRunner.java:359)
      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)

      1 Reply Last reply Reply Quote 0
      • S
        sammysleeth last edited by

        also here is the xml0_1499828019278_xml.xml

        redrum 1 Reply Last reply Reply Quote 0
        • redrum
          redrum Admin @sammysleeth last edited by

          @sammysleeth The following line has an unnecessary space at the beginning of the unitattachment:
          <attachment name="unitAttachment" attachTo="militia" javaClass=" games.strategy.triplea.attachments.UnitAttachment" type=" unitType">

          Should be:
          <attachment name="unitAttachment" attachTo="militia" javaClass="games.strategy.triplea.attachments.UnitAttachment" type=" unitType">

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums